22<!-- NewPage -->
33< html lang ="en ">
44< head >
5- <!-- Generated by javadoc (1.8.0_121) on Mon May 20 11:01:38 EDT 2019 -->
5+ <!-- Generated by javadoc (1.8.0_121) on Mon May 20 19:53:40 EDT 2019 -->
66< title > Autograder</ title >
77< meta name ="date " content ="2019-05-20 ">
88< link rel ="stylesheet " type ="text/css " href ="stylesheet.css " title ="Style ">
@@ -112,7 +112,7 @@ <h2 title="Class Autograder" class="title">Class Autograder</h2>
112112< br >
113113< pre > public class < span class ="typeNameLabel "> Autograder</ span >
114114extends java.lang.Object</ pre >
115- < div class ="block "> Classs representing an autograder.
115+ < div class ="block "> Classs representing an autograder.\n
116116 It's main method is the running of the autograder
117117 and instances can be made to store all important information.</ div >
118118</ li >
@@ -179,13 +179,17 @@ <h3>Constructor Summary</h3>
179179</ tr >
180180< tr class ="altColor ">
181181< td class ="colOne "> < code > < span class ="memberNameLink "> < a href ="Autograder.html#Autograder-- "> Autograder</ a > </ span > ()</ code >
182- < div class ="block "> The Autograder class constructor.</ div >
182+ < div class ="block "> The Autograder class constructor.\n
183+ Initializes the list of all tests.\n
184+ Also sets the visibility to hidden and
185+ the score to 0.1</ div >
183186</ td >
184187</ tr >
185188< tr class ="rowColor ">
186189< td class ="colOne "> < code > < span class ="memberNameLink "> < a href ="Autograder.html#Autograder-int-double- "> Autograder</ a > </ span > (int visible,
187190 double score)</ code >
188- < div class ="block "> The Autograder class constructor.</ div >
191+ < div class ="block "> The Autograder class constructor.\n
192+ Initializes the list of all tests.</ div >
189193</ td >
190194</ tr >
191195</ table >
@@ -214,7 +218,10 @@ <h3>Method Summary</h3>
214218< tr id ="i1 " class ="rowColor ">
215219< td class ="colFirst "> < code > void</ code > </ td >
216220< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="Autograder.html#addTestResult-jh61b.grader.TestResult- "> addTestResult</ a > </ span > (jh61b.grader.TestResult t)</ code >
217- < div class ="block "> Method to add a seperately made test to the results.</ div >
221+ < div class ="block "> Method to add a seperately made test to the results.\n
222+ This allows for people to make child classes of the autograder
223+ if they need tests that dont currently exist that they would
224+ prefer to avoid adding to this class.</ div >
218225</ td >
219226</ tr >
220227< tr id ="i2 " class ="altColor ">
@@ -415,13 +422,18 @@ <h3>Method Summary</h3>
415422< tr id ="i27 " class ="rowColor ">
416423< td class ="colFirst "> < code > void</ code > </ td >
417424< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="Autograder.html#testRunFinished-- "> testRunFinished</ a > </ span > ()</ code >
418- < div class ="block "> This is the wrap-up code of the autograder.</ div >
425+ < div class ="block "> This is the wrap-up code of the autograder.\n
426+ < b > Must be the last line of the main method.</ b > \nIt
427+ prints all of the results in a JSON format to
428+ standard out.</ div >
419429</ td >
420430</ tr >
421431< tr id ="i28 " class ="altColor ">
422432< td class ="colFirst "> < code > boolean</ code > </ td >
423433< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="Autograder.html#testSourceExists-java.lang.String- "> testSourceExists</ a > </ span > (java.lang.String programName)</ code >
424- < div class ="block "> Test to check if source file exists.</ div >
434+ < div class ="block "> Test to check if source file exists.\n
435+ Will output whether the file exists as well as
436+ add a junit test for it.</ div >
425437</ td >
426438</ tr >
427439</ table >
@@ -520,7 +532,7 @@ <h3>Constructor Detail</h3>
520532< h4 > Autograder</ h4 >
521533< pre > public Autograder(int visible,
522534 double score)</ pre >
523- < div class ="block "> The Autograder class constructor.
535+ < div class ="block "> The Autograder class constructor.\n
524536 Initializes the list of all tests.</ div >
525537< dl >
526538< dt > < span class ="paramLabel "> Parameters:</ span > </ dt >
@@ -536,8 +548,8 @@ <h4>Autograder</h4>
536548< li class ="blockList ">
537549< h4 > Autograder</ h4 >
538550< pre > public Autograder()</ pre >
539- < div class ="block "> The Autograder class constructor.
540- Initializes the list of all tests.
551+ < div class ="block "> The Autograder class constructor.\n
552+ Initializes the list of all tests.\n
541553 Also sets the visibility to hidden and
542554 the score to 0.1</ div >
543555</ li >
@@ -557,7 +569,7 @@ <h3>Method Detail</h3>
557569< li class ="blockList ">
558570< h4 > addTestResult</ h4 >
559571< pre > public void addTestResult(jh61b.grader.TestResult t)</ pre >
560- < div class ="block "> Method to add a seperately made test to the results.
572+ < div class ="block "> Method to add a seperately made test to the results.\n
561573 This allows for people to make child classes of the autograder
562574 if they need tests that dont currently exist that they would
563575 prefer to avoid adding to this class. For an example see
@@ -576,8 +588,8 @@ <h4>addTestResult</h4>
576588< h4 > testRunFinished</ h4 >
577589< pre > public void testRunFinished()
578590 throws java.lang.Exception</ pre >
579- < div class ="block "> This is the wrap-up code of the autograder.
580- < b > Must be the last line of the main method.</ b > It
591+ < div class ="block "> This is the wrap-up code of the autograder.\n
592+ < b > Must be the last line of the main method.</ b > \nIt
581593 prints all of the results in a JSON format to
582594 standard out.</ div >
583595< dl >
@@ -593,7 +605,7 @@ <h4>testRunFinished</h4>
593605< li class ="blockList ">
594606< h4 > testSourceExists</ h4 >
595607< pre > public boolean testSourceExists(java.lang.String programName)</ pre >
596- < div class ="block "> Test to check if source file exists.
608+ < div class ="block "> Test to check if source file exists.\n
597609 Will output whether the file exists as well as
598610 add a junit test for it.</ div >
599611< dl >
0 commit comments