Package org.junit.runners.model
Class Statement
java.lang.Object
org.junit.runners.model.Statement
- Direct Known Subclasses:
ExpectedException.ExpectedExceptionStatement
,ExpectException
,Fail
,FailOnTimeout
,InvokeMethod
,RunAfters
,RunBefores
,RunRules
,Theories.TheoryAnchor
Represents one or more actions to be taken at runtime in the course
of running a JUnit test suite.
- Since:
- 4.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
evaluate()
Run the action, throwing aThrowable
if anything goes wrong.
-
Constructor Details
-
Statement
public Statement()
-
-
Method Details
-
evaluate
Run the action, throwing aThrowable
if anything goes wrong.- Throws:
Throwable
-