public class PrintableResult extends Object
assertThat(testResult(HasExpectedException.class), isSuccessful());
Constructor and Description |
---|
PrintableResult(List<Failure> failures)
A result that includes the given
failures |
Modifier and Type | Method and Description |
---|---|
int |
failureCount()
Returns the number of failures in this result.
|
static PrintableResult |
testResult(Class<?> type)
The result of running JUnit on
type |
static PrintableResult |
testResult(Request request)
The result of running JUnit on Request
request |
String |
toString() |
public static PrintableResult testResult(Class<?> type)
type
public static PrintableResult testResult(Request request)
request
public int failureCount()