Class Fail
- java.lang.Object
-
- org.junit.runners.model.Statement
-
- org.junit.internal.runners.statements.Fail
-
public class Fail extends Statement
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwable
error
-
Constructor Summary
Constructors Constructor Description Fail(java.lang.Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluate()
Run the action, throwing aThrowable
if anything goes wrong.
-