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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate()
Run the action, throwing aThrowable
if anything goes wrong.protected void
handleAssumptionViolation
(org.junit.internal.AssumptionViolatedException e) protected void
protected void
reportParameterizedError
(Throwable e, Object... params) protected void
runWithAssignment
(org.junit.experimental.theories.internal.Assignments parameterAssignment) protected void
runWithCompleteAssignment
(org.junit.experimental.theories.internal.Assignments complete) protected void
runWithIncompleteAssignment
(org.junit.experimental.theories.internal.Assignments incomplete)
-
Constructor Details
-
TheoryAnchor
-
-
Method Details
-
evaluate
Description copied from class:Statement
Run the action, throwing aThrowable
if 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
-
reportParameterizedError
- Throws:
Throwable
-
handleDataPointSuccess
-