diff --git a/src/test/java/seng302/FileParserTest.java b/src/test/java/seng302/FileParserTest.java index 1a010e48..2df7ca10 100644 --- a/src/test/java/seng302/FileParserTest.java +++ b/src/test/java/seng302/FileParserTest.java @@ -12,16 +12,16 @@ import static org.junit.Assert.assertEquals; */ public class FileParserTest { - /* - test if it fails from reading non existed file + /** + * test if it fails from reading non existed file */ @Test(expected = FileNotFoundException.class) public void readNonExistedFile() throws Exception { FileParser fileParser = new FileParser("test/java/seng302/non-existed.json"); } - /* - test a valid json file with valid content. + /** + * test a valid json file with valid content. */ @Test public void readValidFile() throws Exception { @@ -35,9 +35,9 @@ public class FileParserTest { assertEquals(6, fileParser.getTotalNumberOfTeams()); } - /* - test an invalid json file within wrong type value and misnamed - variable name. + /** + * test an invalid json file within wrong type value and misnamed + * variable name. */ @Test public void readInvalidFile() throws Exception { diff --git a/src/test/java/seng302/LegTest.java b/src/test/java/seng302/LegTest.java index ffd763f9..cd692676 100644 --- a/src/test/java/seng302/LegTest.java +++ b/src/test/java/seng302/LegTest.java @@ -9,10 +9,10 @@ import static org.junit.Assert.assertEquals; */ public class LegTest { - /* - Test creation of the leg by specifying a string - for the marker label - */ + /** + * Test creation of the leg by specifying a string + * for the marker label + */ @Test public void testLegCreationUsingMarkerLabel() { Leg leg = new Leg(010, 100, "Marker"); @@ -23,10 +23,10 @@ public class LegTest { assertEquals(leg.getIsFinishingLeg(), false); } - /* - Test creation of the leg by providing a - Marker object - */ + /** + * Test creation of the leg by providing a + * Marker object + */ @Test public void testLegCreation() { Leg leg = new Leg(010, 100, new Marker("Marker")); @@ -37,10 +37,10 @@ public class LegTest { assertEquals(leg.getIsFinishingLeg(), false); } - /* - Test changing whether or not a - leg is the finishing leg - */ + /** + * Test changing whether or not a + * leg is the finishing leg + */ @Test public void testSetFinishLeg() { Leg leg = new Leg(010, 100, "Marker");