Class TestFeedPrintingListener
java.lang.Object
org.junit.platform.console.output.TestFeedPrintingListener
- All Implemented Interfaces:
DetailsPrintingListener, org.junit.platform.launcher.TestExecutionListener
@API(status=INTERNAL,
since="1.14")
public class TestFeedPrintingListener
extends Object
implements DetailsPrintingListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ColorPaletteprivate static final Stringprivate final PrintWriterprivate static final Stringprivate org.junit.platform.launcher.TestPlanFields inherited from interface DetailsPrintingListener
LINE_START_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectDisplayNames(org.junit.platform.engine.UniqueId uniqueId) voidexecutionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) voidexecutionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) private StringformatTestIdentifier(org.junit.platform.launcher.TestIdentifier testIdentifier) private static StringvoidlistTests(org.junit.platform.launcher.TestPlan testPlan) private voidprivate static booleanshouldPrint(org.junit.platform.launcher.TestIdentifier testIdentifier) voidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) voidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
dynamicTestRegistered, fileEntryPublished, reportingEntryPublished
-
Field Details
-
INDENTATION
- See Also:
-
STATUS_SEPARATOR
- See Also:
-
out
-
colorPalette
-
testPlan
private org.junit.platform.launcher.TestPlan testPlan
-
-
Constructor Details
-
TestFeedPrintingListener
-
-
Method Details
-
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
testPlanExecutionFinished
public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionSkipped
public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) - Specified by:
executionSkippedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
formatTestIdentifier
-
println
-
collectDisplayNames
-
indented
-
listTests
public void listTests(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
listTestsin interfaceDetailsPrintingListener
-
shouldPrint
private static boolean shouldPrint(org.junit.platform.launcher.TestIdentifier testIdentifier)
-