2626import org .junit .runner .JUnitCore ;
2727
2828/**
29- Classs representing an autograder.
29+ Classs representing an autograder.\n
3030 It's main method is the running of the autograder
3131 and instances can be made to store all important information.
3232 @author Brandon Lax
@@ -55,7 +55,7 @@ public class Autograder {
5555 public static final String CHECKSTYLE_XML = "/autograder/source/checkstyle/check112.xml" ;
5656
5757 /**
58- The Autograder class constructor.
58+ The Autograder class constructor.\n
5959 Initializes the list of all tests.
6060 @param visible The visibility of the result to students see {@link #setVisibility(int) setvisibility}
6161 @param score The amount of points a test is worth
@@ -68,16 +68,16 @@ public Autograder(int visible, double score) {
6868 }
6969
7070 /**
71- The Autograder class constructor.
72- Initializes the list of all tests.
71+ The Autograder class constructor.\n
72+ Initializes the list of all tests.\n
7373 Also sets the visibility to hidden and
7474 the score to 0.1
7575 */
7676 public Autograder () {
7777 this (1 , 0.1 );
7878 }
7979
80- /** Method to add a seperately made test to the results.
80+ /** Method to add a seperately made test to the results.\n
8181 This allows for people to make child classes of the autograder
8282 if they need tests that dont currently exist that they would
8383 prefer to avoid adding to this class. For an example see
@@ -89,8 +89,8 @@ public void addTestResult(TestResult t) {
8989 }
9090
9191
92- /** This is the wrap-up code of the autograder.
93- <b>Must be the last line of the main method.</b> It
92+ /** This is the wrap-up code of the autograder.\n
93+ <b>Must be the last line of the main method.</b> \nIt
9494 prints all of the results in a JSON format to
9595 standard out.
9696 @throws Exception fails to create json for a test
@@ -108,7 +108,7 @@ public void testRunFinished() throws Exception {
108108 }
109109
110110 /**
111- * Test to check if source file exists.
111+ * Test to check if source file exists.\n
112112 * Will output whether the file exists as well as
113113 * add a junit test for it.
114114 * @param programName the program name (can include or not include the .java)
0 commit comments