Package org.junit.runners.model
Class Statement
- java.lang.Object
-
- org.junit.runners.model.Statement
-
- Direct Known Subclasses:
ExpectException,Fail,FailOnTimeout,InvokeMethod,RunAfters,RunBefores,RunRules,Theories.TheoryAnchor
public abstract class Statement extends java.lang.ObjectRepresents one or more actions to be taken at runtime in the course of running a JUnit test suite.- Since:
- 4.5
-
-
Constructor Summary
Constructors Constructor Description Statement()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidevaluate()Run the action, throwing aThrowableif anything goes wrong.
-