public interface JUnitTestListener
Copyright (c) 2016. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Interface and Description |
|---|---|
static class |
JUnitTestListener.Event |
| 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
|
void junitStarted(JUnitTestListener.Event event)
event - the eventvoid junitCompleted(JUnitTestListener.Event event)
event - the eventvoid testRunStarted(JUnitTestListener.Event event)
event - the report entry describing the test suitevoid testRunFinished(JUnitTestListener.Event event)
event - the report entry describing the test suitetvoid testClassStarted(JUnitTestListener.Event event)
event - the report entry describing the test suitevoid testClassFinished(JUnitTestListener.Event event)
event - the report entry describing the test suitevoid testStarted(JUnitTestListener.Event event)
event - The report entry to log forvoid testSucceeded(JUnitTestListener.Event event)
event - The report entry to log forvoid testAssumptionFailure(JUnitTestListener.Event event)
event - The report entry to log forvoid testError(JUnitTestListener.Event event)
event - The report entry to log forvoid testFailed(JUnitTestListener.Event event)
event - The report entry to log forvoid testIgnored(JUnitTestListener.Event event)
event - The report entry to log forCopyright © 2017. All rights reserved.