Modifier and Type | Field and Description |
---|---|
private java.util.List<AssumptionViolatedException> |
fInvalidParameters |
private int |
successes |
private TestClass |
testClass |
private FrameworkMethod |
testMethod |
Constructor and Description |
---|
TheoryAnchor(FrameworkMethod testMethod,
TestClass testClass) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate()
Run the action, throwing a
Throwable if anything goes wrong. |
private TestClass |
getTestClass() |
protected void |
handleAssumptionViolation(AssumptionViolatedException e) |
protected void |
handleDataPointSuccess() |
private Statement |
methodCompletesWithParameters(FrameworkMethod method,
Assignments complete,
java.lang.Object freshInstance) |
private boolean |
nullsOk() |
protected void |
reportParameterizedError(java.lang.Throwable e,
java.lang.Object... params) |
protected void |
runWithAssignment(Assignments parameterAssignment) |
protected void |
runWithCompleteAssignment(Assignments complete) |
protected void |
runWithIncompleteAssignment(Assignments incomplete) |
private int successes
private final FrameworkMethod testMethod
private final TestClass testClass
private java.util.List<AssumptionViolatedException> fInvalidParameters
public TheoryAnchor(FrameworkMethod testMethod, TestClass testClass)
private TestClass getTestClass()
public void evaluate() throws java.lang.Throwable
Statement
Throwable
if anything goes wrong.protected void runWithAssignment(Assignments parameterAssignment) throws java.lang.Throwable
java.lang.Throwable
protected void runWithIncompleteAssignment(Assignments incomplete) throws java.lang.Throwable
java.lang.Throwable
protected void runWithCompleteAssignment(Assignments complete) throws java.lang.Throwable
java.lang.Throwable
private Statement methodCompletesWithParameters(FrameworkMethod method, Assignments complete, java.lang.Object freshInstance)
protected void handleAssumptionViolation(AssumptionViolatedException e)
protected void reportParameterizedError(java.lang.Throwable e, java.lang.Object... params) throws java.lang.Throwable
java.lang.Throwable
private boolean nullsOk()
protected void handleDataPointSuccess()