A E F G H M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AFTER_DUE - edu.purdue.cs.barista.TestCase.Visibility
-
The test case results will be shown after the due date has passed.
- AFTER_PUBLISH - edu.purdue.cs.barista.TestCase.Visibility
-
The test case results will be shown after grades are published.
E
- edu.purdue.cs.barista - package edu.purdue.cs.barista
- edu.purdue.cs.barista.util - package edu.purdue.cs.barista.util
F
- fuzzyEquals(String, String) - Static method in class edu.purdue.cs.barista.util.StringUtilities
-
Tests if two
Strings are equal, ignoring all whitespace and capitalization.
G
- getPackageToTest() - Static method in class edu.purdue.cs.barista.util.SetupUtilities
-
Returns the package to test.
- getTestResults() - Method in class edu.purdue.cs.barista.GradescopeListener
-
Returns the list of test results.
- GradescopeGrader - Class in edu.purdue.cs.barista
-
The
GradescopeGraderclass contains logic to run gradedTestCasemethods. - GradescopeListener - Class in edu.purdue.cs.barista
-
The
GradescopeListenerclass is adapted from theGradedTestListenerclass from Tim Kutcher. - GradescopeListener(double) - Constructor for class edu.purdue.cs.barista.GradescopeListener
-
Creates a new
GradescopeListenerobject.
H
- HIDDEN - edu.purdue.cs.barista.TestCase.Visibility
-
The test case results will never be shown to students.
M
- main(String[]) - Static method in class edu.purdue.cs.barista.util.WeightCalc
-
Checks that all
TestCases in a given package total to a maximum score.
N
- name() - Method in annotation type edu.purdue.cs.barista.TestCase
-
The name of the test case.
- normalizeLineEndings(String) - Static method in class edu.purdue.cs.barista.util.StringUtilities
-
Normalizes the line endings for a
String. - number() - Method in annotation type edu.purdue.cs.barista.TestCase
-
The number of the test case.
P
- points() - Method in annotation type edu.purdue.cs.barista.TestCase
-
The amount of points the test case is worth.
R
- removeAllWhitespace(String) - Static method in class edu.purdue.cs.barista.util.StringUtilities
-
Removes all whitespace from a
String. - run(Class<?>[], double) - Static method in class edu.purdue.cs.barista.GradescopeGrader
S
- SetupUtilities - Class in edu.purdue.cs.barista.util
-
The
SetupUtilitiesclass contains useful tools for setting up test suites. - SetupUtilities() - Constructor for class edu.purdue.cs.barista.util.SetupUtilities
- StringUtilities - Class in edu.purdue.cs.barista.util
-
The
StringUtilitiesclass contains useful tools for testingStrings. - studentError(Throwable) - Static method in class edu.purdue.cs.barista.TestError
-
Alerts the grader/student when a test fails due to student error.
T
- TestCase - Annotation Type in edu.purdue.cs.barista
-
The
TestCaseannotation allows test methods to be used in Gradescope testing. - TestCase.Visibility - Enum in edu.purdue.cs.barista
-
The
TestCase.Visibilityenum defines the test visibility in Gradescope. - TestError - Class in edu.purdue.cs.barista
-
The
TestErrorclass contains common methods to represent common test failures. - testFailure(Failure) - Method in class edu.purdue.cs.barista.GradescopeListener
-
Called when a JUnit test has failed.
- testFinished(Description) - Method in class edu.purdue.cs.barista.GradescopeListener
-
Called when a JUnit test has finished.
- testStarted(Description) - Method in class edu.purdue.cs.barista.GradescopeListener
-
Called when a JUnit test is about to start.
- TestSuite - Annotation Type in edu.purdue.cs.barista
-
The
TestSuiteannotation allows Gradescope to test methods in a given class. - toString() - Method in enum edu.purdue.cs.barista.TestCase.Visibility
U
- unexpectedError(String) - Static method in class edu.purdue.cs.barista.TestError
-
Alerts the grader/student when a test fails unexpectedly.
V
- valueOf(String) - Static method in enum edu.purdue.cs.barista.TestCase.Visibility
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum edu.purdue.cs.barista.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.barista.TestCase
-
The visibility level of the test case.
- VISIBLE - edu.purdue.cs.barista.TestCase.Visibility
-
The test case results will always be shown to students.
W
- WeightCalc - Class in edu.purdue.cs.barista.util
-
The
WeightCalcclass checks that all test cases total to a givenmaxScore.
All Classes All Packages