A B C D E F G H I J K L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addJavaSrcDir(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Adds a directory that is expected to hold Java source code.
- All - edu.odu.cs.zeil.codegrader.oracle.Oracle.ScoringOptions
-
Entire output must be correct.
- assignment - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Assignment name.
- Assignment - Class in edu.odu.cs.zeil.codegrader
-
An Assignment indicates the various files and directories that will be employed during grading.
- Assignment() - Constructor for class edu.odu.cs.zeil.codegrader.Assignment
-
Create an empty assignment.
B
- BEGIN_EXPECTED - Static variable in class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
- BEGIN_OBSERVED - Static variable in class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
- BooleanParser - Class in edu.odu.cs.zeil.codegrader
- BooleanParser() - Constructor for class edu.odu.cs.zeil.codegrader.BooleanParser
- build - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Properties related to setup and build.
- BuildProperties - Class in edu.odu.cs.zeil.codegrader
- BuildProperties() - Constructor for class edu.odu.cs.zeil.codegrader.BuildProperties
-
Initialize the build properties.
- BuildResult(int, String) - Constructor for class edu.odu.cs.zeil.codegrader.Stage.BuildResult
-
Create a build result.
- BuildResult(int, String) - Constructor for class edu.odu.cs.zeil.codegrader.TestSuite.BuildResult
-
Create a build result.
- ByLine - edu.odu.cs.zeil.codegrader.oracle.Oracle.ScoringOptions
-
Each line is checked individually.
- ByToken - edu.odu.cs.zeil.codegrader.oracle.Oracle.ScoringOptions
-
Each word/token is checked individually.
C
- cap - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Maximum percentage (0..100) available when applying this oracle.
- caseSig - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
True iff upper/lower case is considered significant when examining alphabetic strings - a test can be failed because of differences in upper/lower case.
- clear() - Method in class edu.odu.cs.zeil.codegrader.Stage
-
Delete the entire staging area after use.
- clearTag(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Clear the named tag and remove any unperformed test cases with that tag name as its kind from the queue of tests to be performed.
- clearTags() - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Clear all tags and clear the queue of tests to be performed.
- CLI - Class in edu.odu.cs.zeil.codegrader.run
- CLI(String[]) - Constructor for class edu.odu.cs.zeil.codegrader.run.CLI
-
Create the CLI processor.
- clone() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Copy an assignment.
- clone() - Method in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Make a copy of this set of properties.
- command - Variable in class edu.odu.cs.zeil.codegrader.BuildProperties
-
Command used to compile and build the code.
- command - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Command string to launch an external oracle.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.ExternalOracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.FilesExistOracle
-
Check to see if the files listed in the oracle properties exist.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.JUnit5Oracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.SelfScoredOracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.StatusOracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compare(String, String) - Method in class edu.odu.cs.zeil.codegrader.oracle.TAPOracle
-
Compare two strings to see if one is an acceptable variant of the other.
- compareTo(TestCaseProperties) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Compare two TC properties by name.
- computeDaysLate(Submission) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
If both a due date and a submission date are available, compute how many days late this submission is.
- copyDirectory(Path, Path, List<String>, List<String>, CopyOption...) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Directory copy utility.
- CopyPatterns - Class in edu.odu.cs.zeil.codegrader
- CopyPatterns() - Constructor for class edu.odu.cs.zeil.codegrader.CopyPatterns
-
Initialize the build properties.
- crashed() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Did the prior execution exit with a non-zero status code?
- crashed() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- crashed() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Did the prior execution exit with a non-zero status code?
- crashed() - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Did the prior test exit with a non-zero status code?
D
- dateSubmitted - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
How to find when submission was submitted.
- DEFAULT_POINT_CAP - Static variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Max number of points scored by a test case.
- DefaultBuildCase - Class in edu.odu.cs.zeil.codegrader
- DefaultBuildCase(TestSuiteProperties, Assignment) - Constructor for class edu.odu.cs.zeil.codegrader.DefaultBuildCase
-
Create a descriptor for a default builder case.
- Deferred<T> - Class in edu.odu.cs.zeil.codegrader
- Deferred(String, T, Parser<T>) - Constructor for class edu.odu.cs.zeil.codegrader.Deferred
-
Provide a value of type either as an explicitly assigned default or by reading it, on demand, from a file with a given extension.
- deleteDirectory(Path) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Directory delete utility.
- description - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Description of this test case (for display in student's grade report)
- displayInContext(Token, String, String, String) - Static method in class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
-
Display a token within the line where it occurs.
- dueDate - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Date & time when assignment is due.
E
- edu.odu.cs.zeil.codegrader - package edu.odu.cs.zeil.codegrader
- edu.odu.cs.zeil.codegrader.oracle - package edu.odu.cs.zeil.codegrader.oracle
- edu.odu.cs.zeil.codegrader.run - package edu.odu.cs.zeil.codegrader.run
- emptyLines - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Are empty lines counted as part of the evaluation?
- END_EXPECTED - Static variable in class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
- END_OBSERVED - Static variable in class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
- END_OF_ERROR_MARKER - Static variable in class edu.odu.cs.zeil.codegrader.Message
-
Used to indicate the end of captured std error messages.
- END_OF_OUTPUT_LINE - Static variable in class edu.odu.cs.zeil.codegrader.Message
- END_OF_OUTPUT_MARKER - Static variable in class edu.odu.cs.zeil.codegrader.Message
-
Used to indicate the end of captured output when std err is not also being captured.
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.oracle.NumberToken
-
Compares the numeric value of two numbers based upon the precision value recorded for the first number.
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.oracle.PunctuationToken
-
Compare two tokens.
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.oracle.StringToken
-
Compare two tokens.
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.oracle.Token
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.oracle.WhiteSpaceToken
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Compare by name.
- equals(Object) - Method in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Compare by name.
- exclude - Variable in class edu.odu.cs.zeil.codegrader.CopyPatterns
-
List of files to exclude from a copy.
- execute() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Runs the external command.
- execute() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- execute() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Runs the external command.
- execute(boolean) - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Runs the external command.
- execute(boolean) - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- execute(boolean) - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Runs the external command.
- executeOracle(File, File) - Method in class edu.odu.cs.zeil.codegrader.oracle.ExternalOracle
-
Runs the test case using the code in submission.
- executeTest(Submission, Stage) - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Runs the test case using the code in submission.
- expected - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
A string containing expected output when the program under evaluation is run.
- ExternalOracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
Oracle that works by running an external command.
- ExternalOracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.ExternalOracle
-
Create an oracle that launches an external command.
- ExternalProcess - Class in edu.odu.cs.zeil.codegrader
-
Launches external commands.
- ExternalProcess(Path, String, int, File, String) - Constructor for class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Create a external process runner.
F
- failIf - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
If this tag is active, then this case should fail, unrun, with score of zero.
- failTest(Submission, String) - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Fail a test without running it.
- files - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
A list of file paths.
- FilesExistOracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
Oracle that checks to see if a set of files has been created.
- FilesExistOracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.FilesExistOracle
-
Create an oracle that launches an external command.
- FileUtils - Class in edu.odu.cs.zeil.codegrader
- findAllDeepFiles(Path, String) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Find all files with the given extension in a directory tree.
- findAllFiles(Path, String) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Find all files with the given extension in a directory.
- findDirectoriesContaining(Path, String) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Find all directories containing files with the given extension in a directory tree.
- findFile(Path, String) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Find a file with the given extension in a directory.
G
- generate() - Method in class edu.odu.cs.zeil.codegrader.DefaultBuildCase
-
Construct the actual test case properties for the default builder.
- get(Path) - Method in class edu.odu.cs.zeil.codegrader.Deferred
-
Provide the desired value.
- getAssignment() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getAssignmentName() - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Get a name for the assignment.
- getBuildCommand() - Method in class edu.odu.cs.zeil.codegrader.Stage
-
Determine the command used to build the code.
- getCap() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getCommand() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getDescription() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getErr() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Return the captured error stream.
- getErr() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- getErr() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Return the captured error stream.
- getErr() - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Return the captured error stream from a runTest call.
- getExpected() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
The expected output from the program.
- getFailIf() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getFirst() - Method in class edu.odu.cs.zeil.codegrader.Pair
- getGoldDirectory() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
The gold directory is the location of an instructor's solution to the assignment.
- getGoldStage() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Get the staging directory for the gold version.
- getGradingOptions() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Permits iteration over the grading options specified for this test case.
- getHasInstructorCode() - Method in class edu.odu.cs.zeil.codegrader.Assignment
- getIgnoreCase() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getIgnoreEmptyLines() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getIgnorePunctuation() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getIgnoreWS() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getIn() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
The standard input for the program.
- getInPlace() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Should this assignment be graded "in place", rather than using a separate stage and recording area?
- getInstructorCodeDirectory() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
The instructor code directory is the location of an instructor's code intended to be included along with the student-supplied code as part of the total build.
- getKind() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getLaunch() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getLaunchCommand(String) - Method in class edu.odu.cs.zeil.codegrader.Stage
-
Get the launch command for this stage.
- getLexeme() - Method in class edu.odu.cs.zeil.codegrader.oracle.Token
-
Get the lexeme for this token.
- getLockDate(Submission) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Attempt to determine when this submission was turned in.
- getManual() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Instructors can assign manually assign grades to be included in the report.
- getMessage() - Method in class edu.odu.cs.zeil.codegrader.Stage.BuildResult
- getMessage() - Method in class edu.odu.cs.zeil.codegrader.TestSuite.BuildResult
- getMessage(String) - Method in class edu.odu.cs.zeil.codegrader.Submission
-
Returns the message, if any, for a test.
- getNumbersOnly() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getNumTestsToPerform() - Method in class edu.odu.cs.zeil.codegrader.TestSuite
- getOnTime() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
- getOnTime() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- getOnTime() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
- getOracle(OracleProperties, TestCase, Submission, Stage) - Static method in class edu.odu.cs.zeil.codegrader.oracle.OracleFactory
-
Create an instance of an oracle.
- getOutput() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Return the captured output.
- getOutput() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- getOutput() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Return the captured output.
- getOutput() - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Return the captured output from a runTest call.
- getParams() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getPattern() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getPosition() - Method in class edu.odu.cs.zeil.codegrader.oracle.Token
- getPrecision() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
-
How far floating point numbers may vary and still be considered equal.
- getProperties() - Method in class edu.odu.cs.zeil.codegrader.TestCase
- getRecordingDir() - Method in class edu.odu.cs.zeil.codegrader.Submission
- getRecordingDirectory() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
The recording directory is the location where the student code will be compiled and tested.
- getRecordingDirectory() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getScore(String) - Method in class edu.odu.cs.zeil.codegrader.Submission
-
Returns the score for a test.
- getScoring() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getSecond() - Method in class edu.odu.cs.zeil.codegrader.Pair
- getSelectedStudent() - Method in class edu.odu.cs.zeil.codegrader.Assignment
- getStage() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getStageDir() - Method in class edu.odu.cs.zeil.codegrader.Stage
- getStagingDirectory() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
The staging directory is the location where the student code will be compiled and tested.
- getStagingDirectory() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getStatusCode() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
- getStatusCode() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- getStatusCode() - Method in class edu.odu.cs.zeil.codegrader.Stage.BuildResult
- getStatusCode() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
- getStatusCode() - Method in class edu.odu.cs.zeil.codegrader.TestSuite.BuildResult
- getSubmission() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getSubmissionDate(Submission) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Attempt to determine when this submission was turned in.
- getSubmissionsDirectory() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
The submissions directory is the location of the collected submissions from an entire class.
- getSubmitterStage(Submission) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Get the staging directory for the submitted version.
- getSubstitutedLaunchCommand(Submission, Stage, String) - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Prepare the launch command to execute a test case, with all substitutions performed.
- getTestCase() - Method in class edu.odu.cs.zeil.codegrader.oracle.Oracle
- getTestCaseDirectory() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getTestSuiteDirectory() - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
The test suite directory is the location of the test suite that will be used to evaluate the submissions.
- getTestSuiteDirectory() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getTime() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Time in seconds of execution.
- getTime() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- getTime() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Time in seconds of execution.
- getTime() - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Time in seconds of last runTest call.
- getTimelimit() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- getWeight() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- git - Variable in class edu.odu.cs.zeil.codegrader.SubmissionDateOptions
-
If true and if the submission directory is a git repository, use the date of the last commit.
- go() - Method in class edu.odu.cs.zeil.codegrader.run.CLI
-
Run the CLI handler, launching the program.
- grading - Variable in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
The grading criteria for this test case.
- grading - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
The grading criteria for this test case.
H
- hashCode() - Method in class edu.odu.cs.zeil.codegrader.oracle.NumberToken
- hashCode() - Method in class edu.odu.cs.zeil.codegrader.oracle.PunctuationToken
- hashCode() - Method in class edu.odu.cs.zeil.codegrader.oracle.StringToken
- hashCode() - Method in class edu.odu.cs.zeil.codegrader.oracle.WhiteSpaceToken
- hashCode() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Hash code of name.
- hashCode() - Method in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Hash code of name.
- hasNext() - Method in class edu.odu.cs.zeil.codegrader.oracle.Scanner
- HTML_PASSTHROUGH - Static variable in class edu.odu.cs.zeil.codegrader.Message
-
Alternately begin and ends a section fo text that should be omitted from plain-text messaging and passed unchanged into HTML messages.
I
- in - Variable in class edu.odu.cs.zeil.codegrader.SubmissionDateOptions
-
Use the contents of the file with this path.
- include - Variable in class edu.odu.cs.zeil.codegrader.CopyPatterns
-
List of file patterns to include in a copy.
- instructorFiles - Variable in class edu.odu.cs.zeil.codegrader.BuildProperties
-
List of file names that instructors will supply.
- IntegerParser - Class in edu.odu.cs.zeil.codegrader
- IntegerParser() - Constructor for class edu.odu.cs.zeil.codegrader.IntegerParser
- InternalTestLauncher - Class in edu.odu.cs.zeil.codegrader
- InternalTestLauncher() - Constructor for class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- IS_WINDOWS - Static variable in interface edu.odu.cs.zeil.codegrader.TCProcess
- isMultiplier() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- isStatus() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- isStderr() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- isTagActive(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
- iterator() - Method in class edu.odu.cs.zeil.codegrader.SubmissionSet
-
Provide access to submissions within this set.
- iterator() - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Provides access to the list of test cases in this suite.
J
- javaSrcDir - Variable in class edu.odu.cs.zeil.codegrader.BuildProperties
-
List of directories that serve as roots for java source compilation.
- JUnit5Oracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
An oracle that ignores the expected string and scans the observed string for a JUnit 5 report, as generated by running junit-platform-console-*.jar.
- JUnit5Oracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.JUnit5Oracle
-
Create a new oracle.
K
- kind - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
A tag name used to determine when (if ever) a test case should be performed.
L
- latePenalties - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
List of late penalties, as a percentage per day.
- launch - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
The command string used to launch the program under evaluation.
- loadYaml(File) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Load a file of YAML content into a map structure.
- loadYAML(File) - Static method in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Load properties from a File.
- loadYAML(File) - Static method in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Load properties from a string.
- loadYAML(String) - Static method in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Load properties from a string.
- loadYAML(String) - Static method in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Load properties from a string.
- Logging - Class in edu.odu.cs.zeil.codegrader
M
- main(String[]) - Static method in class edu.odu.cs.zeil.codegrader.run.CLI
-
Run the grader via CLI arguments.
- MAX_MESSAGE_LENGTH - Static variable in class edu.odu.cs.zeil.codegrader.Message
-
All messages are clipped to this length in reports.
- message - Variable in class edu.odu.cs.zeil.codegrader.oracle.OracleResult
- Message - Class in edu.odu.cs.zeil.codegrader
-
Messages to be displayed to the student within a grade report.
- Message(String) - Constructor for class edu.odu.cs.zeil.codegrader.Message
-
Create a new message.
- mod - Variable in class edu.odu.cs.zeil.codegrader.SubmissionDateOptions
-
Use the last modification date of the file with this path.
- multiplier - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Is this test a multiplier for the overall score?
N
- name - Variable in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Identifies this test case.
- needsRegrading(Path, Submission) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Check to see if a submission needs to be (re)graded.
- next() - Method in class edu.odu.cs.zeil.codegrader.oracle.Scanner
-
Advance to the next token.
- numbersOnly - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Should only numbers be checked, ignoring everything else?
- NumberToken - Class in edu.odu.cs.zeil.codegrader.oracle
-
A token denoting a number.
- NumberToken(String, int, double) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.NumberToken
-
Create a token.
O
- onFail - Variable in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
What tags should be activated if this case fails (score < 100)
- onFail - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
What tags should be activated if this case fails (score < 100)
- onSuccess - Variable in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
What tags should be activated if this case succeeds (score == 100)
- onSuccess - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
What tags should be activated if this case succeeds (score == 100)
- oracle - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Name of the oracle to be employed.
- Oracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
Compares expected and actual outputs to determine if they match.
- Oracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.Oracle
- Oracle.ScoringOptions - Enum in edu.odu.cs.zeil.codegrader.oracle
-
Possible scoring options for test cases.
- OracleFactory - Class in edu.odu.cs.zeil.codegrader.oracle
- OracleProperties - Class in edu.odu.cs.zeil.codegrader
- OracleProperties() - Constructor for class edu.odu.cs.zeil.codegrader.OracleProperties
-
Create a set of oracle properties with the defaults preset.
- OracleResult - Class in edu.odu.cs.zeil.codegrader.oracle
-
A test case score generated by an oracle.
- OracleResult(int, String) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.OracleResult
- OUTPUT_ERROR_MARKER - Static variable in class edu.odu.cs.zeil.codegrader.Message
-
Used to indicate the end of output amd beginning of captured error messages.
P
- Pair<First,Second> - Class in edu.odu.cs.zeil.codegrader
- Pair(First, Second) - Constructor for class edu.odu.cs.zeil.codegrader.Pair
-
Create a pair.
- ParameterHandling - Class in edu.odu.cs.zeil.codegrader
- ParameterHandling(Assignment, TestCase, Stage, Submission, File, File) - Constructor for class edu.odu.cs.zeil.codegrader.ParameterHandling
-
Set up an object for parameter substitution .
- parameterSubstitution(String) - Method in class edu.odu.cs.zeil.codegrader.ParameterHandling
-
Scans a string for shortcuts, replacing by the appropriate string.
- parameterSubstitution(String) - Method in class edu.odu.cs.zeil.codegrader.Stage
-
Scans a string for shortcuts, replacing by the appropriate string.
- parameterSubstitution(String, Stage, Submission) - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Scans a string for shortcuts, replacing by the appropriate string.
- params - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
The command line parameters to be supplies when executing the program under evaluation.
- parse(String) - Method in class edu.odu.cs.zeil.codegrader.BooleanParser
-
Convert a string into an object of the desired type.
- parse(String) - Method in class edu.odu.cs.zeil.codegrader.IntegerParser
-
Convert a string into an object of the desired type.
- parse(String) - Method in interface edu.odu.cs.zeil.codegrader.Parser
-
Convert a string into an object of the desired type.
- parse(String) - Method in class edu.odu.cs.zeil.codegrader.StringParser
-
Convert a string into an object of the desired type.
- parseDateTime(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Flexible parsing of dates and time.
- Parser<T> - Interface in edu.odu.cs.zeil.codegrader
- PASSED_TEST_MESSAGE - Static variable in class edu.odu.cs.zeil.codegrader.oracle.Oracle
-
What message will be recorded when a test passes with 100 pts.
- pattern - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
A pattern (regular expression) for use with self-scored oracle.
- performTest(Submission, boolean, Stage) - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Runs the test case and evaluates the results.
- performTests() - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Perform all selected tests for all selected submissions.
- precision - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
How far floating point numbers may vary and still be considered equal.
- processThisSubmission(Submission) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Process a submission.
- punctuation - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Is punctuation checked during the evaluation?
- PunctuationToken - Class in edu.odu.cs.zeil.codegrader.oracle
-
A token representing a punctuation character.
- PunctuationToken(String, int) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.PunctuationToken
-
Create a token.
R
- readTextFile(File) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
Read an entire test file into a string.
- register(String, Class<? extends Oracle>) - Static method in class edu.odu.cs.zeil.codegrader.oracle.OracleFactory
-
Register an oracle for use in scoring test case executions.
- reportTemplate - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Path to grade calculation spreadsheet.
S
- Scanner - Class in edu.odu.cs.zeil.codegrader.oracle
-
Scanner used to break outputs (actual and expected) into discrete tokens.
- Scanner(String, Oracle) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.Scanner
-
Create a scanner.
- score - Variable in class edu.odu.cs.zeil.codegrader.oracle.OracleResult
- scoring - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
Scoring option for this test case.
- SelfScoredOracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
An oracle that scans the output for the score.
- SelfScoredOracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.SelfScoredOracle
-
Create a new oracle.
- set(T) - Method in class edu.odu.cs.zeil.codegrader.Deferred
-
Set the value (overrides any values in files).
- setDescription(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setDueDate(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Set the due date for this suite.
- setExpected(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setFailIf(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setGoldDirectory(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the gold directory.
- setHasInstructorCode(boolean) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Indicate whether instructor is supplying source code.
- setIn(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setInPlace(boolean) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Mark this assignment as being graded "in place", rather than using a separate stage and recording area.
- setInstructorCodeDirectory(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the instructor code directory.
- setKind(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setLaunch(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setLaunch(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Set the default launch command for all test cases in this suite.
- setManual(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the manually assigned grades.
- setMessage(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite.BuildResult
- setParams(String) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setRecordingDirectory(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the recording directory.
- setSelectedStudent(String) - Method in class edu.odu.cs.zeil.codegrader.Assignment
- setSelectedSubmissions(List<String>) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Limits the set of submissions that will actually be run by performTests.
- setSelectedSubmissions(Set<String>) - Method in class edu.odu.cs.zeil.codegrader.SubmissionSet
-
Limits the set of submissions that will actually be run.
- setSelectedTests(List<String>) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Limits the set of tests that will actually be run by performTests.
- setStagingDirectory(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the staging directory.
- setStatus(boolean) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setStatusCode(int) - Method in class edu.odu.cs.zeil.codegrader.TestSuite.BuildResult
- setStderr(boolean) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setSubmissionDateByGit(boolean) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Submission dates will be read from a file.
- setSubmissionDateIn(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Submission dates will be read from a file.
- setSubmissionDateMod(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Submission dates will be determined by the last modification date of a file.
- setSubmissionLockIn(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Set the path pattern that will be used to recognize that an assignment has been locked for a student (e.g., after viewing an on-line solution) so that subsequent submissions will not be accepted.
- setSubmissionsDirectory(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the submissions directory.
- setTag(String) - Method in class edu.odu.cs.zeil.codegrader.TestSuite
-
Set the named tag and queue up any unperformed test cases with that tag name as its kind.
- setTestSuiteDirectory(Path) - Method in class edu.odu.cs.zeil.codegrader.Assignment
-
Set the path to the test suite directory.
- setTimelimit(int) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- setup() - Static method in class edu.odu.cs.zeil.codegrader.Logging
-
Set up logging for this application.
- setupStage() - Method in class edu.odu.cs.zeil.codegrader.Stage
-
Set up the contents of a stage, in preparation for building.
- setWeight(int) - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
- SmartOracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
Compares expected and actual outputs to determine if they match.
- SmartOracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.SmartOracle
-
Create a new smart oracle.
- Stage - Class in edu.odu.cs.zeil.codegrader
-
A stage is an area (directory) in which a version of the assignment, either submitted or gold, can be built and run.
- Stage(Assignment, Submission, TestSuiteProperties) - Constructor for class edu.odu.cs.zeil.codegrader.Stage
-
Create a new stage for submitted code.
- Stage(Assignment, TestSuiteProperties) - Constructor for class edu.odu.cs.zeil.codegrader.Stage
-
Create a new gold version stage.
- Stage.BuildResult - Class in edu.odu.cs.zeil.codegrader
- status - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Should the status code be checked for evidence that a program has crashed? Defaults to false because students aren't likely to be all that careful about returning status codes.
- StatusOracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
An oracle that scores based upon whether the test case launch command succeeded or failed, according to its status code.
- StatusOracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.StatusOracle
-
Create a new oracle.
- stderr - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Should the standard error stream be captures and included in the program output being evaluated?
- StringParser - Class in edu.odu.cs.zeil.codegrader
- StringParser() - Constructor for class edu.odu.cs.zeil.codegrader.StringParser
-
Create a string parser in which all whitespace is included in the value.
- StringParser(boolean) - Constructor for class edu.odu.cs.zeil.codegrader.StringParser
-
Create a string parser with the option of trimming leading and ending whitespace.
- StringToken - Class in edu.odu.cs.zeil.codegrader.oracle
-
A token denoting an alphabetic string.
- StringToken(String, int) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.StringToken
-
Create a token.
- studentFiles - Variable in class edu.odu.cs.zeil.codegrader.BuildProperties
-
List of file names that students may submit.
- Submission - Class in edu.odu.cs.zeil.codegrader
-
A Submission represents a student's submitted solution to an assignment.
- Submission(Assignment, String, Path) - Constructor for class edu.odu.cs.zeil.codegrader.Submission
-
Create a submission.
- SubmissionDateOptions - Class in edu.odu.cs.zeil.codegrader
- SubmissionDateOptions() - Constructor for class edu.odu.cs.zeil.codegrader.SubmissionDateOptions
- submissionLock - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
How to find when a submission was locked (subsequent submissions will be ignored or graded as zero).
- SubmissionSet - Class in edu.odu.cs.zeil.codegrader
-
A collection of submissions.
- SubmissionSet(Assignment) - Constructor for class edu.odu.cs.zeil.codegrader.SubmissionSet
-
Create a submission set.
T
- TAPOracle - Class in edu.odu.cs.zeil.codegrader.oracle
-
An oracle that ignores the expected string and scans the observed string for a TAP (Test Anything Protocol) JUnit 5 report.
- TAPOracle(OracleProperties, TestCase, Submission, Stage) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.TAPOracle
-
Create a new oracle.
- TCProcess - Interface in edu.odu.cs.zeil.codegrader
-
Launches external commands.
- test - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Default properties common to all test cases.
- TestCase - Class in edu.odu.cs.zeil.codegrader
- TestCase(TestCaseProperties) - Constructor for class edu.odu.cs.zeil.codegrader.TestCase
-
Create a new test case.
- TestCaseProperties - Class in edu.odu.cs.zeil.codegrader
- TestCaseProperties() - Constructor for class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Create an empty properties set.
- TestCaseProperties(Assignment, String) - Constructor for class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Create a test case directory based upon information in testDirectory and in the assignment directory above it.
- TestCasePropertiesBase - Class in edu.odu.cs.zeil.codegrader
- TestCasePropertiesBase() - Constructor for class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Create an empty properties set.
- TestCasePropertiesBase(Path) - Constructor for class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Load property values that are stored in explicit files, e.g., file anything.params can contain values for the "params" property.
- TestConfigurationError - Exception in edu.odu.cs.zeil.codegrader
-
Indicates an error in the test configuration significant enough that continuing to execute would likely result in inappropriate scores being assigned.
- TestConfigurationError(String) - Constructor for exception edu.odu.cs.zeil.codegrader.TestConfigurationError
-
Create an exception.
- TestSuite - Class in edu.odu.cs.zeil.codegrader
- TestSuite(Assignment) - Constructor for class edu.odu.cs.zeil.codegrader.TestSuite
-
Create a new test suite.
- TestSuite.BuildResult - Class in edu.odu.cs.zeil.codegrader
- TestSuiteProperties - Class in edu.odu.cs.zeil.codegrader
-
The properties available to describe a test suite.
- TestSuiteProperties() - Constructor for class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Create a property set with an empty list of grading options.
- timedOut() - Method in class edu.odu.cs.zeil.codegrader.ExternalProcess
-
Did the prior execution go too long?
- timedOut() - Method in class edu.odu.cs.zeil.codegrader.InternalTestLauncher
- timedOut() - Method in interface edu.odu.cs.zeil.codegrader.TCProcess
-
Did the prior execution go too long?
- timedOut() - Method in class edu.odu.cs.zeil.codegrader.TestCase
-
Did the prior runTest call go too long?
- timelimit - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
How many seconds to allow a test execution to run before concluding that the program is hanging, caught in an infinite loop, or simply unacceptably slow.
- timeLimit - Variable in class edu.odu.cs.zeil.codegrader.BuildProperties
-
Amount of time (in seconds) permitted before concluding that the build is hung up.
- toHTML() - Method in class edu.odu.cs.zeil.codegrader.Message
-
Render a message for inclusion in an HTML report.
- Token - Class in edu.odu.cs.zeil.codegrader.oracle
- Token(String, int) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.Token
-
Create a token.
- toString() - Method in class edu.odu.cs.zeil.codegrader.Message
-
Render a message for inclusion in an HTML report.
- toString() - Method in class edu.odu.cs.zeil.codegrader.oracle.OracleResult
- toString() - Method in class edu.odu.cs.zeil.codegrader.oracle.Token
-
Display this token as a string.
- toString() - Method in class edu.odu.cs.zeil.codegrader.TestCaseProperties
-
Render as a string (YAML).
- toString() - Method in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
Render as a string (YAML).
- toString() - Method in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Render as a string (YAML).
- totals - Variable in class edu.odu.cs.zeil.codegrader.TestSuiteProperties
-
Should totals be reported (true by default) in grade reports? Can be turned off if the purpose of the report is feedback rather than evaluation.
V
- valueOf(String) - Static method in enum edu.odu.cs.zeil.codegrader.oracle.Oracle.ScoringOptions
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum edu.odu.cs.zeil.codegrader.oracle.Oracle.ScoringOptions
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- weight - Variable in class edu.odu.cs.zeil.codegrader.BuildProperties
-
Weight of the build score when grades are computed.
- weight - Variable in class edu.odu.cs.zeil.codegrader.TestCasePropertiesBase
-
How many points this test case is worth?
- WhiteSpaceToken - Class in edu.odu.cs.zeil.codegrader.oracle
-
A token denoting a single whitespace character.
- WhiteSpaceToken(String, int) - Constructor for class edu.odu.cs.zeil.codegrader.oracle.WhiteSpaceToken
-
Create a token.
- writeTextFile(Path, String) - Static method in class edu.odu.cs.zeil.codegrader.FileUtils
-
WWrite a string into a file.
- ws - Variable in class edu.odu.cs.zeil.codegrader.OracleProperties
-
True iff ws is considered significant - a test can be failed because of extra/missing/incorrect whitespace characters.
All Classes All Packages