Package | Description |
---|---|
org.junit.experimental.results |
Modifier and Type | Method and Description |
---|---|
static PrintableResult |
PrintableResult.testResult(java.lang.Class<?> type)
The result of running JUnit on
type |
static PrintableResult |
PrintableResult.testResult(Request request)
The result of running JUnit on Request
request |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.failureCountIs(int count)
Matches if there are
count failures |
static org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.hasFailureContaining(java.lang.String string)
Matches if the result has one or more failures, and at least one of them
contains
string |
static org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.hasSingleFailureMatching(org.hamcrest.Matcher<java.lang.Throwable> matcher)
Matches if the result has exactly one failure matching the given matcher.
|
static org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.isSuccessful()
Matches if the tests are all successful
|