public class TestResult extends Printable implements TestListener
| Constructor and Description |
|---|
TestResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
failure(java.lang.String msg,
java.lang.Throwable failure) |
TestFailureCollection |
failures() |
boolean |
green() |
void |
print(java.io.Writer writer) |
void |
runFinished() |
void |
runStarted() |
int |
testCount() |
void |
testFailed(Test test,
java.lang.Throwable failure) |
void |
testStarted(Test test) |
public void testStarted(Test test)
testStarted in interface TestListenerpublic void testFailed(Test test, java.lang.Throwable failure)
testFailed in interface TestListenerpublic void failure(java.lang.String msg,
java.lang.Throwable failure)
failure in interface TestListenerpublic int testCount()
public boolean green()
public TestFailureCollection failures()
public void print(java.io.Writer writer)
throws java.io.IOException
public void runStarted()
runStarted in interface TestListenerpublic void runFinished()
runFinished in interface TestListener