Serializable
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 | Description |
---|---|
Result() |
Modifier and Type | Method | Description |
---|---|---|
RunListener |
createListener() |
Internal use only.
|
int |
getFailureCount() |
|
List<Failure> |
getFailures() |
|
int |
getIgnoreCount() |
|
int |
getRunCount() |
|
long |
getRunTime() |
|
boolean |
wasSuccessful() |
public Result()
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()
Copyright © 2002–2018 JUnit. All rights reserved.