From e68ab597d5822f2107019b71ba8252cbf628f3a6 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Fri, 25 Mar 2022 23:54:10 +0100 Subject: [PATCH] small adjustment in javadoc GameTest, MoveListStrategyTest, TrackTest Author added in all of them --- src/test/java/ch/zhaw/pm2/racetrack/GameTest.java | 2 ++ .../java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java | 2 ++ src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java | 8 ++++++++ 3 files changed, 12 insertions(+) diff --git a/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java b/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java index 9114454..15ecda3 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/GameTest.java @@ -12,6 +12,8 @@ import static ch.zhaw.pm2.racetrack.PositionVector.Direction.*; /** * Test for Class Game. The Class is split up in nested classes. + * + * @author Andrin Fassbind */ class GameTest { private UserInterface userInterface; diff --git a/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java b/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java index 88c3f28..ff8f212 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/MoveListStrategyTest.java @@ -9,6 +9,8 @@ import java.io.FileNotFoundException; /** * This Class tests the MoveStrategy. + * + * @author Andrin Fassbind */ public class MoveListStrategyTest { diff --git a/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java b/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java index ce8bd47..13d054e 100644 --- a/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java +++ b/src/test/java/ch/zhaw/pm2/racetrack/TrackTest.java @@ -9,6 +9,8 @@ import java.util.List; /** * This Class tests the track + * + * @author Andrin Fassbind */ public class TrackTest { Track trackObj; @@ -17,6 +19,9 @@ public class TrackTest { @DisplayName("Positive Test Cases") class positiveClass { + /** + * Sets up the Test cases by loading the file and setting a new track. + */ @BeforeEach void setup() { File file = new File(".\\tracks\\challenge.txt"); @@ -162,6 +167,9 @@ public class TrackTest { class negativeClass { File file; + /** + * Sets up the negative Test cases by loading the file and setting a new track. + */ @BeforeEach void setup() { file = new File(".\\tracks\\challenge.txt");