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 Details

  • Constructor Details

  • Method Details

    • testPlanExecutionStarted

      public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • testPlanExecutionFinished

      public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      testPlanExecutionFinished in interface org.junit.platform.launcher.TestExecutionListener
    • executionSkipped

      public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason)
      Specified by:
      executionSkipped in interface org.junit.platform.launcher.TestExecutionListener
    • executionStarted

      public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
      Specified by:
      executionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • executionFinished

      public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult)
      Specified by:
      executionFinished in interface org.junit.platform.launcher.TestExecutionListener
    • formatTestIdentifier

      private String formatTestIdentifier(org.junit.platform.launcher.TestIdentifier testIdentifier)
    • println

      private void println(Style style, String message)
    • collectDisplayNames

      private List<String> collectDisplayNames(org.junit.platform.engine.UniqueId uniqueId)
    • indented

      private static String indented(String message)
    • listTests

      public void listTests(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      listTests in interface DetailsPrintingListener
    • shouldPrint

      private static boolean shouldPrint(org.junit.platform.launcher.TestIdentifier testIdentifier)