Package org.junit.experimental.theories
Class Theories.TheoryAnchor
- java.lang.Object
-
- org.junit.runners.model.Statement
-
- org.junit.experimental.theories.Theories.TheoryAnchor
-
- Enclosing class:
- Theories
public static class Theories.TheoryAnchor extends Statement
-
-
Constructor Summary
Constructors Constructor Description TheoryAnchor(FrameworkMethod testMethod, TestClass testClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevaluate()Run the action, throwing aThrowableif anything goes wrong.protected voidhandleAssumptionViolation(org.junit.internal.AssumptionViolatedException e)protected voidhandleDataPointSuccess()protected voidreportParameterizedError(Throwable e, Object... params)protected voidrunWithAssignment(org.junit.experimental.theories.internal.Assignments parameterAssignment)protected voidrunWithCompleteAssignment(org.junit.experimental.theories.internal.Assignments complete)protected voidrunWithIncompleteAssignment(org.junit.experimental.theories.internal.Assignments incomplete)
-
-
-
Constructor Detail
-
TheoryAnchor
public TheoryAnchor(FrameworkMethod testMethod, TestClass testClass)
-
-
Method Detail
-
evaluate
public void evaluate() throws Throwable
Description copied from class:StatementRun the action, throwing aThrowableif anything goes wrong.
-
runWithAssignment
protected void runWithAssignment(org.junit.experimental.theories.internal.Assignments parameterAssignment) throws Throwable
- Throws:
Throwable
-
runWithIncompleteAssignment
protected void runWithIncompleteAssignment(org.junit.experimental.theories.internal.Assignments incomplete) throws Throwable
- Throws:
Throwable
-
runWithCompleteAssignment
protected void runWithCompleteAssignment(org.junit.experimental.theories.internal.Assignments complete) throws Throwable
- Throws:
Throwable
-
handleAssumptionViolation
protected void handleAssumptionViolation(org.junit.internal.AssumptionViolatedException e)
-
reportParameterizedError
protected void reportParameterizedError(Throwable e, Object... params) throws Throwable
- Throws:
Throwable
-
handleDataPointSuccess
protected void handleDataPointSuccess()
-
-