diff --git a/.idea/hellsgamers.iml b/.idea/hellsgamers.iml index 74774b6..6aac235 100644 --- a/.idea/hellsgamers.iml +++ b/.idea/hellsgamers.iml @@ -7,7 +7,7 @@ - + diff --git a/pom.xml b/pom.xml index 45a3e86..9b00264 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,12 @@ 3.0.0-M5 false + + test_* + + + diff --git a/src/test_/java/AIGridGUITest.java b/src/Test/java/test_AIGridGUI.java similarity index 97% rename from src/test_/java/AIGridGUITest.java rename to src/Test/java/test_AIGridGUI.java index 9325f89..533bef0 100644 --- a/src/test_/java/AIGridGUITest.java +++ b/src/Test/java/test_AIGridGUI.java @@ -4,7 +4,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; -public class AIGridGUITest { +public class test_AIGridGUI { AIGridGUI aiGridGUI = new AIGridGUI(10, 10); diff --git a/src/test_/java/BShipTest.java b/src/Test/java/test_BShip.java similarity index 94% rename from src/test_/java/BShipTest.java rename to src/Test/java/test_BShip.java index 9b5813a..462592c 100644 --- a/src/test_/java/BShipTest.java +++ b/src/Test/java/test_BShip.java @@ -3,7 +3,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; -class BShipTest { +class test_BShip { @Test public void testStartGame() { BShip bShip = new BShip(); diff --git a/src/test_/java/CollisionCheckerTest.java b/src/Test/java/test_CollisionChecker.java similarity index 99% rename from src/test_/java/CollisionCheckerTest.java rename to src/Test/java/test_CollisionChecker.java index 767bda1..306449a 100644 --- a/src/test_/java/CollisionCheckerTest.java +++ b/src/Test/java/test_CollisionChecker.java @@ -8,7 +8,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - class CollisionCheckerTest { + class test_CollisionChecker { CollisionChecker collisionChecker; @BeforeEach diff --git a/src/test_/java/ShipTest.java b/src/Test/java/test_Ship.java similarity index 96% rename from src/test_/java/ShipTest.java rename to src/Test/java/test_Ship.java index 83efd75..1ea4cdc 100644 --- a/src/test_/java/ShipTest.java +++ b/src/Test/java/test_Ship.java @@ -3,7 +3,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; -class ShipTest { +class test_Ship { @Test void counter() { diff --git a/src/test_/java/SnakeTest.java b/src/Test/java/test_Snake.java similarity index 99% rename from src/test_/java/SnakeTest.java rename to src/Test/java/test_Snake.java index 6c79afc..0128f5a 100644 --- a/src/test_/java/SnakeTest.java +++ b/src/Test/java/test_Snake.java @@ -7,7 +7,7 @@ import java.util.ArrayList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; -class SnakeTest { +class test_Snake { @Test public void testReset() { int gridSize = 20; diff --git a/target/surefire-reports/TEST-test_AIGridGUI.xml b/target/surefire-reports/TEST-test_AIGridGUI.xml new file mode 100644 index 0000000..7ee725b --- /dev/null +++ b/target/surefire-reports/TEST-test_AIGridGUI.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-test_BShip.xml b/target/surefire-reports/TEST-test_BShip.xml new file mode 100644 index 0000000..ce21295 --- /dev/null +++ b/target/surefire-reports/TEST-test_BShip.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-test_CollisionChecker.xml b/target/surefire-reports/TEST-test_CollisionChecker.xml new file mode 100644 index 0000000..bdd729a --- /dev/null +++ b/target/surefire-reports/TEST-test_CollisionChecker.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-test_Ship.xml b/target/surefire-reports/TEST-test_Ship.xml new file mode 100644 index 0000000..e9b29f9 --- /dev/null +++ b/target/surefire-reports/TEST-test_Ship.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-test_Snake.xml b/target/surefire-reports/TEST-test_Snake.xml new file mode 100644 index 0000000..37abb54 --- /dev/null +++ b/target/surefire-reports/TEST-test_Snake.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/test_AIGridGUI.txt b/target/surefire-reports/test_AIGridGUI.txt new file mode 100644 index 0000000..2cadde1 --- /dev/null +++ b/target/surefire-reports/test_AIGridGUI.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: test_AIGridGUI +------------------------------------------------------------------------------- +Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.84 s - in test_AIGridGUI diff --git a/target/surefire-reports/test_BShip.txt b/target/surefire-reports/test_BShip.txt new file mode 100644 index 0000000..eee48a9 --- /dev/null +++ b/target/surefire-reports/test_BShip.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: test_BShip +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.7 s - in test_BShip diff --git a/target/surefire-reports/test_CollisionChecker.txt b/target/surefire-reports/test_CollisionChecker.txt new file mode 100644 index 0000000..38af80f --- /dev/null +++ b/target/surefire-reports/test_CollisionChecker.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: test_CollisionChecker +------------------------------------------------------------------------------- +Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s - in test_CollisionChecker diff --git a/target/surefire-reports/test_Ship.txt b/target/surefire-reports/test_Ship.txt new file mode 100644 index 0000000..25106b9 --- /dev/null +++ b/target/surefire-reports/test_Ship.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: test_Ship +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in test_Ship diff --git a/target/surefire-reports/test_Snake.txt b/target/surefire-reports/test_Snake.txt new file mode 100644 index 0000000..a76f835 --- /dev/null +++ b/target/surefire-reports/test_Snake.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: test_Snake +------------------------------------------------------------------------------- +Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in test_Snake