small adjustment in javadoc GameTest, MoveListStrategyTest, TrackTest
Author added in all of them
This commit is contained in:
parent
31c76273c9
commit
e68ab597d5
|
@ -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;
|
||||
|
|
|
@ -9,6 +9,8 @@ import java.io.FileNotFoundException;
|
|||
|
||||
/**
|
||||
* This Class tests the MoveStrategy.
|
||||
*
|
||||
* @author Andrin Fassbind
|
||||
*/
|
||||
public class MoveListStrategyTest {
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue