Fix: 1
This commit is contained in:
parent
4bd6ba084c
commit
e0f40ab872
57
.classpath
Normal file
57
.classpath
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="src" path="target/generated-sources/annotations">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="ignore_optional_problems" value="true"/>
|
||||||
|
<attribute name="m2e-apt" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="ignore_optional_problems" value="true"/>
|
||||||
|
<attribute name="m2e-apt" value="true"/>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
|
</classpath>
|
||||||
29
.gitea/workflows/mvn-demo.yml
Normal file
29
.gitea/workflows/mvn-demo.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
|
GoBuild:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
- run: mvn test
|
||||||
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
13
.idea/compiler.xml
Normal file
13
.idea/compiler.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="MvnDemo" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
7
.idea/encodings.xml
Normal file
7
.idea/encodings.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding">
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
20
.idea/jarRepositories.xml
Normal file
20
.idea/jarRepositories.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
14
.idea/misc.xml
Normal file
14
.idea/misc.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
7
.idea/vcs.xml
Normal file
7
.idea/vcs.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
34
.project
Normal file
34
.project
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>MvnDemo</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||||
|
</natures>
|
||||||
|
<filteredResources>
|
||||||
|
<filter>
|
||||||
|
<id>1725911893817</id>
|
||||||
|
<name></name>
|
||||||
|
<type>30</type>
|
||||||
|
<matcher>
|
||||||
|
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||||
|
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||||
|
</matcher>
|
||||||
|
</filter>
|
||||||
|
</filteredResources>
|
||||||
|
</projectDescription>
|
||||||
4
.settings/org.eclipse.core.resources.prefs
Normal file
4
.settings/org.eclipse.core.resources.prefs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
encoding//src/main/java=UTF-8
|
||||||
|
encoding//src/test/java=UTF-8
|
||||||
|
encoding/<project>=UTF-8
|
||||||
2
.settings/org.eclipse.jdt.apt.core.prefs
Normal file
2
.settings/org.eclipse.jdt.apt.core.prefs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.apt.aptEnabled=false
|
||||||
9
.settings/org.eclipse.jdt.core.prefs
Normal file
9
.settings/org.eclipse.jdt.core.prefs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||||
|
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
|
||||||
|
org.eclipse.jdt.core.compiler.processAnnotations=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.release=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.8
|
||||||
4
.settings/org.eclipse.m2e.core.prefs
Normal file
4
.settings/org.eclipse.m2e.core.prefs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
activeProfiles=
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
resolveWorkspaceProjects=true
|
||||||
|
version=1
|
||||||
31
pom.xml
Normal file
31
pom.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>PrepSession</groupId>
|
||||||
|
<artifactId>MvnDemo</artifactId>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
<name>MvnDemo</name>
|
||||||
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>3.8.1</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.13.2</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
||||||
13
src/main/java/PrepSession/App.java
Normal file
13
src/main/java/PrepSession/App.java
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hello world!
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class App
|
||||||
|
{
|
||||||
|
public static void main( String[] args )
|
||||||
|
{
|
||||||
|
System.out.println( "Hello World!" );
|
||||||
|
}
|
||||||
|
}
|
||||||
5
src/main/java/PrepSession/Attack.java
Normal file
5
src/main/java/PrepSession/Attack.java
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public interface Attack {
|
||||||
|
void Attacking();
|
||||||
|
}
|
||||||
14
src/main/java/PrepSession/Breed.java
Normal file
14
src/main/java/PrepSession/Breed.java
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public abstract class Breed {
|
||||||
|
|
||||||
|
public abstract void Breeding();
|
||||||
|
|
||||||
|
int lifeNum = 1;
|
||||||
|
String enviroment = "home";
|
||||||
|
|
||||||
|
public void Mating() {
|
||||||
|
System.out.println("Male and Female has to mate");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
18
src/main/java/PrepSession/Eagle.java
Normal file
18
src/main/java/PrepSession/Eagle.java
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public class Eagle extends Breed implements Attack{
|
||||||
|
public static void main(String[] args) {
|
||||||
|
Eagle eagle = new Eagle();
|
||||||
|
System.out.println(eagle.lifeNum);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Attacking() {
|
||||||
|
System.out.println("The Eagle is going crazy and I can't fucking find his prey.");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Breeding() {
|
||||||
|
System.out.println("Breeding through laying eggs... Oviparous");
|
||||||
|
}
|
||||||
|
}
|
||||||
22
src/main/java/PrepSession/Fish.java
Normal file
22
src/main/java/PrepSession/Fish.java
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public class Fish extends Breed implements Hide, Attack{
|
||||||
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Hiding() {
|
||||||
|
System.out.println("The fish is going deeper to hide from the Eagle");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Attacking() {
|
||||||
|
System.out.println("The fish attacked a smaller fish");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Breeding() {
|
||||||
|
System.out.println("Breeding through laying eggs... Oviparous");
|
||||||
|
}
|
||||||
|
}
|
||||||
5
src/main/java/PrepSession/Hide.java
Normal file
5
src/main/java/PrepSession/Hide.java
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public interface Hide {
|
||||||
|
void Hiding();
|
||||||
|
}
|
||||||
23
src/main/java/PrepSession/MainClass.java
Normal file
23
src/main/java/PrepSession/MainClass.java
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public class MainClass {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
Fish fish = new Fish();
|
||||||
|
fish.Hiding();
|
||||||
|
fish.Attacking();
|
||||||
|
fish.Breeding();
|
||||||
|
System.out.println("");
|
||||||
|
|
||||||
|
Rabbit rabbit = new Rabbit();
|
||||||
|
rabbit.Hiding();
|
||||||
|
rabbit.Mating();
|
||||||
|
rabbit.Breeding();
|
||||||
|
System.out.println("");
|
||||||
|
|
||||||
|
Eagle hawk = new Eagle();
|
||||||
|
hawk.Attacking();
|
||||||
|
hawk.Mating();
|
||||||
|
hawk.Breeding();
|
||||||
|
}
|
||||||
|
}
|
||||||
17
src/main/java/PrepSession/Rabbit.java
Normal file
17
src/main/java/PrepSession/Rabbit.java
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
public class Rabbit extends Breed implements Hide{
|
||||||
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Hiding() {
|
||||||
|
System.out.println("The Rabbit is running like crazy to hide.");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Breeding() {
|
||||||
|
System.out.println("Breeding by having small baby rabbits... Mammals");
|
||||||
|
}
|
||||||
|
}
|
||||||
38
src/test/java/PrepSession/AppTest.java
Normal file
38
src/test/java/PrepSession/AppTest.java
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
import junit.framework.Test;
|
||||||
|
import junit.framework.TestCase;
|
||||||
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unit test for simple App.
|
||||||
|
*/
|
||||||
|
public class AppTest
|
||||||
|
extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Create the test case
|
||||||
|
*
|
||||||
|
* @param testName name of the test case
|
||||||
|
*/
|
||||||
|
public AppTest( String testName )
|
||||||
|
{
|
||||||
|
super( testName );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the suite of tests being tested
|
||||||
|
*/
|
||||||
|
public static Test suite()
|
||||||
|
{
|
||||||
|
return new TestSuite( AppTest.class );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rigourous Test :-)
|
||||||
|
*/
|
||||||
|
public void testApp()
|
||||||
|
{
|
||||||
|
assertTrue( true );
|
||||||
|
}
|
||||||
|
}
|
||||||
21
src/test/java/PrepSession/EagleTestCase.java
Normal file
21
src/test/java/PrepSession/EagleTestCase.java
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
|
public class EagleTestCase {
|
||||||
|
@Test
|
||||||
|
public void Eagle_testATTACK(){
|
||||||
|
Eagle hawk = new Eagle();
|
||||||
|
ByteArrayOutputStream eagAttack = new ByteArrayOutputStream();
|
||||||
|
System.setOut(new PrintStream(eagAttack));
|
||||||
|
hawk.Attacking();
|
||||||
|
assertEquals("The Eagle is going crazy and I can't fucking find his prey.\n", eagAttack.toString());
|
||||||
|
assertEquals(1, hawk.lifeNum);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
31
src/test/java/PrepSession/FishTestCase.java
Normal file
31
src/test/java/PrepSession/FishTestCase.java
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
|
public class FishTestCase {
|
||||||
|
// Fish hides successfully
|
||||||
|
@Test
|
||||||
|
public void test_fish_hides_successfully() {
|
||||||
|
Fish fish = new Fish();
|
||||||
|
// Assuming the output is checked via console output, we can use System.out to capture it.
|
||||||
|
// This is a simple example, in real scenarios, we might use a logging framework or mock the output.
|
||||||
|
ByteArrayOutputStream outContent = new ByteArrayOutputStream();
|
||||||
|
System.setOut(new PrintStream(outContent));
|
||||||
|
fish.Hiding();
|
||||||
|
assertEquals("The fish is going deeper to hide from the Eagle\n", outContent.toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void test_fishAttack(){
|
||||||
|
Fish fish = new Fish();
|
||||||
|
ByteArrayOutputStream attckOut = new ByteArrayOutputStream();
|
||||||
|
System.setOut(new PrintStream(attckOut));
|
||||||
|
fish.Attacking();
|
||||||
|
assertEquals("The fish attacked a smaller fish\n", attckOut.toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
19
src/test/java/PrepSession/RabbitTestCase.java
Normal file
19
src/test/java/PrepSession/RabbitTestCase.java
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
package PrepSession;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
|
public class RabbitTestCase {
|
||||||
|
@Test
|
||||||
|
public void Rabbit_TestCase(){
|
||||||
|
Rabbit rabbit = new Rabbit();
|
||||||
|
ByteArrayOutputStream outContent = new ByteArrayOutputStream();
|
||||||
|
System.setOut(new PrintStream(outContent));
|
||||||
|
rabbit.Hiding();
|
||||||
|
assertEquals("The Rabbit is running like crazy to hide.\n", outContent.toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
target/classes/PrepSession/App.class
Normal file
BIN
target/classes/PrepSession/App.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/Attack.class
Normal file
BIN
target/classes/PrepSession/Attack.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/Breed.class
Normal file
BIN
target/classes/PrepSession/Breed.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/Eagle.class
Normal file
BIN
target/classes/PrepSession/Eagle.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/Fish.class
Normal file
BIN
target/classes/PrepSession/Fish.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/Hide.class
Normal file
BIN
target/classes/PrepSession/Hide.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/MainClass.class
Normal file
BIN
target/classes/PrepSession/MainClass.class
Normal file
Binary file not shown.
BIN
target/classes/PrepSession/Rabbit.class
Normal file
BIN
target/classes/PrepSession/Rabbit.class
Normal file
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
PrepSession/Hide.class
|
||||||
|
PrepSession/Rabbit.class
|
||||||
|
PrepSession/App.class
|
||||||
|
PrepSession/Attack.class
|
||||||
|
PrepSession/Eagle.class
|
||||||
|
PrepSession/MainClass.class
|
||||||
|
PrepSession/Fish.class
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/App.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/Eagle.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/Rabbit.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/Hide.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/Fish.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/MainClass.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/Attack.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/main/java/PrepSession/Breed.java
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
PrepSession/AppTest.class
|
||||||
|
PrepSession/EagleTestCase.class
|
||||||
|
PrepSession/RabbitTestCase.class
|
||||||
|
PrepSession/FishTestCase.class
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
/home/ilyes/mvnAction/MvnDemo/src/test/java/PrepSession/FishTestCase.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/test/java/PrepSession/EagleTestCase.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/test/java/PrepSession/RabbitTestCase.java
|
||||||
|
/home/ilyes/mvnAction/MvnDemo/src/test/java/PrepSession/AppTest.java
|
||||||
4
target/surefire-reports/PrepSession.AppTest.txt
Normal file
4
target/surefire-reports/PrepSession.AppTest.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: PrepSession.AppTest
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in PrepSession.AppTest
|
||||||
4
target/surefire-reports/PrepSession.EagleTestCase.txt
Normal file
4
target/surefire-reports/PrepSession.EagleTestCase.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: PrepSession.EagleTestCase
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s -- in PrepSession.EagleTestCase
|
||||||
4
target/surefire-reports/PrepSession.FishTestCase.txt
Normal file
4
target/surefire-reports/PrepSession.FishTestCase.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: PrepSession.FishTestCase
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in PrepSession.FishTestCase
|
||||||
4
target/surefire-reports/PrepSession.RabbitTestCase.txt
Normal file
4
target/surefire-reports/PrepSession.RabbitTestCase.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: PrepSession.RabbitTestCase
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in PrepSession.RabbitTestCase
|
||||||
56
target/surefire-reports/TEST-PrepSession.AppTest.xml
Normal file
56
target/surefire-reports/TEST-PrepSession.AppTest.xml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="PrepSession.AppTest" time="0.0" tests="1" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.jnu.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="java.vm.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="java.vendor.url" value="https://www.redhat.com/"/>
|
||||||
|
<property name="os.name" value="Linux"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64/lib"/>
|
||||||
|
<property name="sun.java.command" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar /home/ilyes/mvnAction/MvnDemo/target/surefire 2024-09-09T17-44-46_900-jvmRun1 surefire-20240909174446959_1tmp surefire_0-20240909174446959_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="/home/ilyes"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2024-07-16"/>
|
||||||
|
<property name="java.home" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64"/>
|
||||||
|
<property name="file.separator" value="/"/>
|
||||||
|
<property name="basedir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar"/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.12+7"/>
|
||||||
|
<property name="user.name" value="ilyes"/>
|
||||||
|
<property name="path.separator" value=":"/>
|
||||||
|
<property name="os.version" value="6.10.7-200.fc40.x86_64"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="java.vendor.version" value="(Red_Hat-17.0.12.0.7-2)"/>
|
||||||
|
<property name="localRepository" value="/home/ilyes/.m2/repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-17-openjdk&version=39"/>
|
||||||
|
<property name="java.io.tmpdir" value="/tmp"/>
|
||||||
|
<property name="java.version" value="17.0.12"/>
|
||||||
|
<property name="user.dir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="native.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="java.vm.version" value="17.0.12+7"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="testApp" classname="PrepSession.AppTest" time="0.0"/>
|
||||||
|
</testsuite>
|
||||||
56
target/surefire-reports/TEST-PrepSession.EagleTestCase.xml
Normal file
56
target/surefire-reports/TEST-PrepSession.EagleTestCase.xml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="PrepSession.EagleTestCase" time="0.039" tests="1" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.jnu.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="java.vm.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="java.vendor.url" value="https://www.redhat.com/"/>
|
||||||
|
<property name="os.name" value="Linux"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64/lib"/>
|
||||||
|
<property name="sun.java.command" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar /home/ilyes/mvnAction/MvnDemo/target/surefire 2024-09-09T17-44-46_900-jvmRun1 surefire-20240909174446959_1tmp surefire_0-20240909174446959_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="/home/ilyes"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2024-07-16"/>
|
||||||
|
<property name="java.home" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64"/>
|
||||||
|
<property name="file.separator" value="/"/>
|
||||||
|
<property name="basedir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar"/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.12+7"/>
|
||||||
|
<property name="user.name" value="ilyes"/>
|
||||||
|
<property name="path.separator" value=":"/>
|
||||||
|
<property name="os.version" value="6.10.7-200.fc40.x86_64"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="java.vendor.version" value="(Red_Hat-17.0.12.0.7-2)"/>
|
||||||
|
<property name="localRepository" value="/home/ilyes/.m2/repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-17-openjdk&version=39"/>
|
||||||
|
<property name="java.io.tmpdir" value="/tmp"/>
|
||||||
|
<property name="java.version" value="17.0.12"/>
|
||||||
|
<property name="user.dir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="native.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="java.vm.version" value="17.0.12+7"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="Eagle_testATTACK" classname="PrepSession.EagleTestCase" time="0.002"/>
|
||||||
|
</testsuite>
|
||||||
57
target/surefire-reports/TEST-PrepSession.FishTestCase.xml
Normal file
57
target/surefire-reports/TEST-PrepSession.FishTestCase.xml
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="PrepSession.FishTestCase" time="0.0" tests="2" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.jnu.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="java.vm.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="java.vendor.url" value="https://www.redhat.com/"/>
|
||||||
|
<property name="os.name" value="Linux"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64/lib"/>
|
||||||
|
<property name="sun.java.command" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar /home/ilyes/mvnAction/MvnDemo/target/surefire 2024-09-09T17-44-46_900-jvmRun1 surefire-20240909174446959_1tmp surefire_0-20240909174446959_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="/home/ilyes"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2024-07-16"/>
|
||||||
|
<property name="java.home" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64"/>
|
||||||
|
<property name="file.separator" value="/"/>
|
||||||
|
<property name="basedir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar"/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.12+7"/>
|
||||||
|
<property name="user.name" value="ilyes"/>
|
||||||
|
<property name="path.separator" value=":"/>
|
||||||
|
<property name="os.version" value="6.10.7-200.fc40.x86_64"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="java.vendor.version" value="(Red_Hat-17.0.12.0.7-2)"/>
|
||||||
|
<property name="localRepository" value="/home/ilyes/.m2/repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-17-openjdk&version=39"/>
|
||||||
|
<property name="java.io.tmpdir" value="/tmp"/>
|
||||||
|
<property name="java.version" value="17.0.12"/>
|
||||||
|
<property name="user.dir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="native.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="java.vm.version" value="17.0.12+7"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="test_fish_hides_successfully" classname="PrepSession.FishTestCase" time="0.0"/>
|
||||||
|
<testcase name="test_fishAttack" classname="PrepSession.FishTestCase" time="0.0"/>
|
||||||
|
</testsuite>
|
||||||
56
target/surefire-reports/TEST-PrepSession.RabbitTestCase.xml
Normal file
56
target/surefire-reports/TEST-PrepSession.RabbitTestCase.xml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="PrepSession.RabbitTestCase" time="0.001" tests="1" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.jnu.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="java.vm.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="java.vendor.url" value="https://www.redhat.com/"/>
|
||||||
|
<property name="os.name" value="Linux"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64/lib"/>
|
||||||
|
<property name="sun.java.command" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar /home/ilyes/mvnAction/MvnDemo/target/surefire 2024-09-09T17-44-46_900-jvmRun1 surefire-20240909174446959_1tmp surefire_0-20240909174446959_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/test-classes:/home/ilyes/mvnAction/MvnDemo/target/classes:/home/ilyes/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/ilyes/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="/home/ilyes"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2024-07-16"/>
|
||||||
|
<property name="java.home" value="/usr/lib/jvm/java-17-openjdk-17.0.12.0.7-2.fc40.x86_64"/>
|
||||||
|
<property name="file.separator" value="/"/>
|
||||||
|
<property name="basedir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="/home/ilyes/mvnAction/MvnDemo/target/surefire/surefirebooter-20240909174446959_3.jar"/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.12+7"/>
|
||||||
|
<property name="user.name" value="ilyes"/>
|
||||||
|
<property name="path.separator" value=":"/>
|
||||||
|
<property name="os.version" value="6.10.7-200.fc40.x86_64"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="java.vendor.version" value="(Red_Hat-17.0.12.0.7-2)"/>
|
||||||
|
<property name="localRepository" value="/home/ilyes/.m2/repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-17-openjdk&version=39"/>
|
||||||
|
<property name="java.io.tmpdir" value="/tmp"/>
|
||||||
|
<property name="java.version" value="17.0.12"/>
|
||||||
|
<property name="user.dir" value="/home/ilyes/mvnAction/MvnDemo"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="native.encoding" value="UTF-8"/>
|
||||||
|
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="Red Hat, Inc."/>
|
||||||
|
<property name="java.vm.version" value="17.0.12+7"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="Rabbit_TestCase" classname="PrepSession.RabbitTestCase" time="0.0"/>
|
||||||
|
</testsuite>
|
||||||
BIN
target/test-classes/PrepSession/AppTest.class
Normal file
BIN
target/test-classes/PrepSession/AppTest.class
Normal file
Binary file not shown.
BIN
target/test-classes/PrepSession/EagleTestCase.class
Normal file
BIN
target/test-classes/PrepSession/EagleTestCase.class
Normal file
Binary file not shown.
BIN
target/test-classes/PrepSession/FishTestCase.class
Normal file
BIN
target/test-classes/PrepSession/FishTestCase.class
Normal file
Binary file not shown.
BIN
target/test-classes/PrepSession/RabbitTestCase.class
Normal file
BIN
target/test-classes/PrepSession/RabbitTestCase.class
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user