public class Result extends Object implements Serializable
Result collects and summarizes information from running multiple
tests. Since tests are expected to run correctly, successful tests are only noted in
the count of tests that ran.| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
RunListener |
createListener()
Internal use only.
|
int |
getFailureCount() |
List<Failure> |
getFailures() |
int |
getIgnoreCount() |
int |
getRunCount() |
long |
getRunTime() |
boolean |
wasSuccessful() |
public int getRunCount()
public int getFailureCount()
public long getRunTime()
public List<Failure> getFailures()
Failures describing tests that failed and the problems they encounteredpublic int getIgnoreCount()
public boolean wasSuccessful()
true if all tests succeededpublic RunListener createListener()