public class Result extends Object implements Serializable
Result
collects and summarizes information from running multiple tests.
All tests are counted -- additional information is collected from tests that fail.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()
Failure
s describing tests that failed and the problems they encounteredpublic int getIgnoreCount()
public boolean wasSuccessful()
true
if all tests succeededpublic RunListener createListener()