public class BaseJUnitTestListener extends Object implements JUnitTestListener
JUnitTestListener that has
empty implementations of all methods. This class can then be
sub-classes by implementations that only want to implement a
few methods.
Copyright (c) 2016. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
JUnitTestListener.Event| Constructor and Description |
|---|
BaseJUnitTestListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
junitCompleted(JUnitTestListener.Event event)
Indicates the end of a JUnit application
|
void |
junitStarted(JUnitTestListener.Event event)
Indicates the start of a JUnit application
|
void |
testAssumptionFailure(JUnitTestListener.Event event)
Event fired when a test assumption failure was encountered.
|
void |
testClassFinished(JUnitTestListener.Event event)
Indicates end of a given test-set
|
void |
testClassStarted(JUnitTestListener.Event event)
Indicates the start of a given test-set
|
void |
testError(JUnitTestListener.Event event)
Event fired when a test ended with an error (non anticipated problem)
|
void |
testFailed(JUnitTestListener.Event event)
Event fired when a test ended with a failure (anticipated problem)
|
void |
testIgnored(JUnitTestListener.Event event)
Event fired when a test is skipped
|
void |
testRunFinished(JUnitTestListener.Event event)
Indicates end of a given test-set
|
void |
testRunStarted(JUnitTestListener.Event event)
Indicates the start of a given test-set
|
void |
testStarted(JUnitTestListener.Event event)
Event fired when a test is about to start
|
void |
testSucceeded(JUnitTestListener.Event event)
Event fired when a test ended successfully
|
public void junitStarted(JUnitTestListener.Event event)
JUnitTestListenerjunitStarted in interface JUnitTestListenerevent - the eventpublic void junitCompleted(JUnitTestListener.Event event)
JUnitTestListenerjunitCompleted in interface JUnitTestListenerevent - the eventpublic void testRunStarted(JUnitTestListener.Event event)
JUnitTestListenertestRunStarted in interface JUnitTestListenerevent - the report entry describing the test suitepublic void testRunFinished(JUnitTestListener.Event event)
JUnitTestListenertestRunFinished in interface JUnitTestListenerevent - the report entry describing the test suitetpublic void testClassStarted(JUnitTestListener.Event event)
JUnitTestListenertestClassStarted in interface JUnitTestListenerevent - the report entry describing the test suitepublic void testClassFinished(JUnitTestListener.Event event)
JUnitTestListenertestClassFinished in interface JUnitTestListenerevent - the report entry describing the test suitepublic void testStarted(JUnitTestListener.Event event)
JUnitTestListenertestStarted in interface JUnitTestListenerevent - The report entry to log forpublic void testSucceeded(JUnitTestListener.Event event)
JUnitTestListenertestSucceeded in interface JUnitTestListenerevent - The report entry to log forpublic void testIgnored(JUnitTestListener.Event event)
JUnitTestListenertestIgnored in interface JUnitTestListenerevent - The report entry to log forpublic void testFailed(JUnitTestListener.Event event)
JUnitTestListenertestFailed in interface JUnitTestListenerevent - The report entry to log forpublic void testError(JUnitTestListener.Event event)
JUnitTestListenertestError in interface JUnitTestListenerevent - The report entry to log forpublic void testAssumptionFailure(JUnitTestListener.Event event)
JUnitTestListenertestAssumptionFailure in interface JUnitTestListenerevent - The report entry to log forCopyright © 2017. All rights reserved.