public interface MxRunListener
Modifier and Type | Method and Description |
---|---|
PrintStream |
getWriter() |
void |
testAssumptionFailure(org.junit.runner.notification.Failure failure)
Called when an atomic test flags that it assumes a condition that is false.
|
void |
testClassFinished(Class<?> clazz)
Called when all tests of a test class have finished.
|
void |
testClassFinishedDelimiter()
Called after
testClassFinished(Class) . |
void |
testClassStarted(Class<?> clazz)
Called when a test class is about to be started.
|
void |
testClassStartedDelimiter()
Called after
testClassStarted(Class) . |
void |
testFailed(org.junit.runner.notification.Failure failure)
Called when an atomic test fails.
|
void |
testFinished(org.junit.runner.Description description)
Called when an atomic test has finished, whether the test succeeds, fails or is ignored.
|
void |
testFinishedDelimiter()
Called after
testFailed(Failure) . |
void |
testIgnored(org.junit.runner.Description description)
Called when a test will not be run, generally because a test method is annotated with
Ignore . |
void |
testRunFinished(org.junit.runner.Result result)
Called when all tests have finished.
|
void |
testRunStarted(org.junit.runner.Description description)
Called before any tests have been run.
|
void |
testStarted(org.junit.runner.Description description)
Called when an atomic test is about to be started.
|
void |
testStartedDelimiter()
Called after
testStarted(Description) . |
void |
testSucceeded(org.junit.runner.Description description)
Called when an atomic test succeeds.
|
void testRunStarted(org.junit.runner.Description description)
description
- describes the tests to be runvoid testRunFinished(org.junit.runner.Result result)
result
- the summary of the test run, including all the tests that failedvoid testClassStarted(Class<?> clazz)
clazz
- the test classvoid testClassFinished(Class<?> clazz)
clazz
- the test classvoid testStarted(org.junit.runner.Description description)
description
- the description of the test that is about to be run (generally a class and
method name)void testFinished(org.junit.runner.Description description)
description
- the description of the test that just ranvoid testFailed(org.junit.runner.notification.Failure failure)
failure
- describes the test that failed and the exception that was thrownvoid testIgnored(org.junit.runner.Description description)
Ignore
.description
- describes the test that will not be runvoid testSucceeded(org.junit.runner.Description description)
description
- describes the test that will not be runvoid testAssumptionFailure(org.junit.runner.notification.Failure failure)
failure
- describes the test that failed and the AssumptionViolatedException
that was thrownvoid testClassFinishedDelimiter()
testClassFinished(Class)
.void testClassStartedDelimiter()
testClassStarted(Class)
.void testStartedDelimiter()
testStarted(Description)
.void testFinishedDelimiter()
testFailed(Failure)
.PrintStream getWriter()