Class Overview
A 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.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
int
getFailureCount
()
Returns
- the number of tests that failed during the run
public
List<Failure>
getFailures
()
Returns
- the
Failure
s describing tests that failed and the problems they encountered
public
int
getIgnoreCount
()
Returns
- the number of tests ignored during the run
public
int
getRunCount
()
public
long
getRunTime
()
Returns
- the number of milliseconds it took to run the entire suite to run
public
boolean
wasSuccessful
()
Returns
true
if all tests succeeded