java.lang.Object | |
↳ | org.junit.experimental.results.ResultMatchers |
Matchers on a PrintableResult, to enable JUnit self-tests. For example:
assertThat(testResult(HasExpectedException.class), isSuccessful());
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Matches if there are
count failures
| |||||||||||
Matches if the result has one or more failures, and at least one of them
contains
string
| |||||||||||
Matches if the result has exactly one failure, and it contains
string
| |||||||||||
Matches if the tests are all successful
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Matches if there are count
failures
Matches if the result has one or more failures, and at least one of them
contains string
Matches if the result has exactly one failure, and it contains string