Class FilesExistOracle
- java.lang.Object
- 
- edu.odu.cs.zeil.codegrader.oracle.Oracle
- 
- edu.odu.cs.zeil.codegrader.oracle.FilesExistOracle
 
 
- 
 public class FilesExistOracle extends Oracle Oracle that checks to see if a set of files has been created.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class edu.odu.cs.zeil.codegrader.oracle.OracleOracle.ScoringOptions
 
- 
 - 
Field Summary- 
Fields inherited from class edu.odu.cs.zeil.codegrader.oracle.OraclePASSED_TEST_MESSAGE
 
- 
 - 
Constructor SummaryConstructors Constructor Description FilesExistOracle(OracleProperties config, TestCase testCase, Submission sub, Stage submitterStage)Create an oracle that launches an external command.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OracleResultcompare(java.lang.String expected, java.lang.String actual)Check to see if the files listed in the oracle properties exist.- 
Methods inherited from class edu.odu.cs.zeil.codegrader.oracle.OraclegetCap, getCommand, getIgnoreCase, getIgnoreEmptyLines, getIgnorePunctuation, getIgnoreWS, getNumbersOnly, getPattern, getPrecision, getScoring, getStage, getSubmission, getTestCase
 
- 
 
- 
- 
- 
Constructor Detail- 
FilesExistOraclepublic FilesExistOracle(OracleProperties config, TestCase testCase, Submission sub, Stage submitterStage) Create an oracle that launches an external command.- Parameters:
- config- properties
- testCase- the test case on which it is applied
- sub- submission being evaluated
- submitterStage- stage where submitter code has been built
 
 
- 
 - 
Method Detail- 
comparepublic OracleResult compare(java.lang.String expected, java.lang.String actual) Check to see if the files listed in the oracle properties exist. Score is the percentage of those files that exist.
 
- 
 
-