|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.runners.model.Statement
org.junit.internal.runners.statements.Fail
public class Fail
Constructor Summary | |
---|---|
Fail(java.lang.Throwable e)
|
Method Summary | |
---|---|
void |
evaluate()
Run the action, throwing a Throwable if anything goes wrong. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fail(java.lang.Throwable e)
Method Detail |
---|
public void evaluate() throws java.lang.Throwable
Statement
Throwable
if anything goes wrong.
evaluate
in class Statement
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |