类 Theories.TheoryAnchor
- java.lang.Object
- org.junit.runners.model.Statement
- org.junit.experimental.theories.Theories.TheoryAnchor
- 封闭类:
- Theories
public static class Theories.TheoryAnchor extends Statement
构造器概要
构造器 构造器 说明 TheoryAnchor(FrameworkMethod testMethod, TestClass testClass)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
evaluate()
Run the action, throwing aThrowable
if anything goes wrong.protected void
handleAssumptionViolation(AssumptionViolatedException e)
protected void
handleDataPointSuccess()
protected void
reportParameterizedError(Throwable e, Object... params)
protected void
runWithAssignment(Assignments parameterAssignment)
protected void
runWithCompleteAssignment(Assignments complete)
protected void
runWithIncompleteAssignment(Assignments incomplete)
构造器详细资料
TheoryAnchor
public TheoryAnchor(FrameworkMethod testMethod, TestClass testClass)
方法详细资料
evaluate
public void evaluate() throws Throwable
从类复制的说明:Statement
Run the action, throwing aThrowable
if anything goes wrong.
runWithAssignment
protected void runWithAssignment(Assignments parameterAssignment) throws Throwable
- 抛出:
Throwable
runWithIncompleteAssignment
protected void runWithIncompleteAssignment(Assignments incomplete) throws Throwable
- 抛出:
Throwable
runWithCompleteAssignment
protected void runWithCompleteAssignment(Assignments complete) throws Throwable
- 抛出:
Throwable
handleAssumptionViolation
protected void handleAssumptionViolation(AssumptionViolatedException e)
reportParameterizedError
protected void reportParameterizedError(Throwable e, Object... params) throws Throwable
- 抛出:
Throwable
handleDataPointSuccess
protected void handleDataPointSuccess()