A D E F G H L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AFTER_DUE - edu.purdue.cs.percolator.TestCase.Visibility
-
The test case results will be shown after the due date has passed.
- AFTER_PUBLISH - edu.purdue.cs.percolator.TestCase.Visibility
-
The test case results will be shown after grades are published.
- assertFuzzyEquals(String, String) - Static method in class edu.purdue.cs.percolator.util.StringUtilities
-
Asserts that two
String
s are "fuzzy-equal" (i.e., ignoring all whitespace and capitalization). - assertFuzzyEquals(String, String, String) - Static method in class edu.purdue.cs.percolator.util.StringUtilities
-
Asserts that two
String
s are "fuzzy-equal" (i.e., ignoring all whitespace and capitalization). - AutoGrader - Class in edu.purdue.cs.percolator
-
The
AutoGrader
class contains builder methods to create an auto-grader.
D
- DebugUtilities - Class in edu.purdue.cs.percolator.util
-
The
DebugUtilities
class contains methods which display useful information to help instructors and students debug their code when a test case fails.
E
- edu.purdue.cs.percolator - package edu.purdue.cs.percolator
-
Contains the implementations used to grade assignments.
- edu.purdue.cs.percolator.util - package edu.purdue.cs.percolator.util
-
Contains utilities to make writing test cases easier.
F
- failWithoutCause(String) - Static method in class edu.purdue.cs.percolator.util.DebugUtilities
-
Displays a generic failure message (
"Test case testCase failed unexpectedly."
) when a test case fails for unknown (or non-disclosed) reasons. - failWithStackTrace(Throwable) - Static method in class edu.purdue.cs.percolator.util.DebugUtilities
-
Displays the stack trace of an
Exception
thrown during testing that is caused by student error. - fuzzyEquals(String, String) - Static method in class edu.purdue.cs.percolator.util.StringUtilities
-
Tests if two
String
s are "fuzzy-equal" (i.e., ignoring all whitespace and capitalization).
G
- getPackageToTest() - Static method in class edu.purdue.cs.percolator.util.SetupUtilities
-
Returns the package to test.
- grade(Class<?>[]) - Static method in class edu.purdue.cs.percolator.AutoGrader
-
Creates a new
AutoGrader
with the given test suites. - group() - Method in annotation type edu.purdue.cs.percolator.TestCase
-
The group this test case belongs to.
H
- HIDDEN - edu.purdue.cs.percolator.TestCase.Visibility
-
The test case results will never be shown to students.
L
- lint(String, String) - Static method in class edu.purdue.cs.percolator.StyleChecker
-
Creates a new
StyleChecker
with the given directory and policy.
M
- main(String[]) - Static method in class edu.purdue.cs.percolator.StyleChecker
-
Runs the style checker and prints the results.
N
- name() - Method in annotation type edu.purdue.cs.percolator.TestCase
-
The name of the test case.
- normalizeLineEndings(String) - Static method in class edu.purdue.cs.percolator.util.StringUtilities
-
Normalizes the line endings for a
String
.
O
- onGradescope() - Method in class edu.purdue.cs.percolator.AutoGrader
-
Specifies the grading platform to be Gradescope.
- onVocareum() - Method in class edu.purdue.cs.percolator.AutoGrader
-
Specifies the grading platform to be Vocareum.
P
- points() - Method in annotation type edu.purdue.cs.percolator.TestCase
-
The amount of points the test case is worth.
R
- removeAllWhitespace(String) - Static method in class edu.purdue.cs.percolator.util.StringUtilities
-
Removes all whitespace from a
String
. - run() - Method in class edu.purdue.cs.percolator.AutoGrader
-
Runs the grader and prints out the results.
S
- SetupUtilities - Class in edu.purdue.cs.percolator.util
-
The
SetupUtilities
class contains useful tools for setting up test suites. - StringUtilities - Class in edu.purdue.cs.percolator.util
-
The
StringUtilities
class contains useful tools for testingString
s. - StyleChecker - Class in edu.purdue.cs.percolator
-
The
StyleChecker
class contains builder methods to create a code style checker to audit code style errors.
T
- TestCase - Annotation Type in edu.purdue.cs.percolator
-
The
TestCase
annotation allows test methods to be graded using anAutoGrader
. - TestCase.Visibility - Enum in edu.purdue.cs.percolator
-
The
TestCase.Visibility
enum defines the test visibility in Gradescope. - toString() - Method in enum edu.purdue.cs.percolator.TestCase.Visibility
V
- valueOf(String) - Static method in enum edu.purdue.cs.percolator.TestCase.Visibility
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum edu.purdue.cs.percolator.TestCase.Visibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visibility() - Method in annotation type edu.purdue.cs.percolator.TestCase
-
The visibility level of the test case.
- VISIBLE - edu.purdue.cs.percolator.TestCase.Visibility
-
The test case results will always be shown to students.
W
- withDeduction(double) - Method in class edu.purdue.cs.percolator.StyleChecker
-
Specifies the amount to deduct from the score per code style infraction.
- withMaxScore(double) - Method in class edu.purdue.cs.percolator.AutoGrader
-
Specifies a maximum score for the test suites.
- withMaxScore(double) - Method in class edu.purdue.cs.percolator.StyleChecker
-
Specifies the maximum score for the code style check.
- withStyleChecker(StyleChecker) - Method in class edu.purdue.cs.percolator.AutoGrader
-
Specifies a
StyleChecker
object to run a code style audit with after grading.
All Classes All Packages