|
|||||||||
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.ExpectException
public class ExpectException
Constructor Summary | |
---|---|
ExpectException(Statement next,
java.lang.Class<? extends java.lang.Throwable> expected)
|
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 ExpectException(Statement next, java.lang.Class<? extends java.lang.Throwable> expected)
Method Detail |
---|
public void evaluate() throws java.lang.Exception
Statement
Throwable
if anything goes wrong.
evaluate
in class Statement
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |