|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExpectedException | |
---|---|
org.junit.rules |
Uses of ExpectedException in org.junit.rules |
---|
Methods in org.junit.rules that return ExpectedException | |
---|---|
ExpectedException |
ExpectedException.handleAssertionErrors()
Deprecated. AssertionErrors are handled by default since JUnit 4.12. Just like in JUnit <= 4.10. |
ExpectedException |
ExpectedException.handleAssumptionViolatedExceptions()
Deprecated. AssumptionViolatedExceptions are handled by default since JUnit 4.12. Just like in JUnit <= 4.10. |
static ExpectedException |
ExpectedException.none()
Deprecated. Returns a rule that expects no exception to be thrown (identical to behavior without this rule). |
ExpectedException |
ExpectedException.reportMissingExceptionWithMessage(String message)
Deprecated. Specifies the failure message for tests that are expected to throw an exception but do not throw any. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |