Class JUnit4ListenersAdapter

  • All Implemented Interfaces:
    org.junit.platform.launcher.TestExecutionListener

    public class JUnit4ListenersAdapter
    extends java.lang.Object
    implements org.junit.platform.launcher.TestExecutionListener
    • Constructor Summary

      Constructors 
      Constructor Description
      JUnit4ListenersAdapter​(java.util.List<java.lang.Object> runListener)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void executionFinished​(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult)  
      void executionSkipped​(org.junit.platform.launcher.TestIdentifier testIdentifier, java.lang.String reason)  
      void executionStarted​(org.junit.platform.launcher.TestIdentifier testIdentifier)  
      void testPlanExecutionFinished​(org.junit.platform.launcher.TestPlan testPlan)  
      void testPlanExecutionStarted​(org.junit.platform.launcher.TestPlan testPlan)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.junit.platform.launcher.TestExecutionListener

        dynamicTestRegistered, fileEntryPublished, reportingEntryPublished
    • Constructor Detail

      • JUnit4ListenersAdapter

        public JUnit4ListenersAdapter​(java.util.List<java.lang.Object> runListener)
    • Method Detail

      • 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
      • executionSkipped

        public void executionSkipped​(org.junit.platform.launcher.TestIdentifier testIdentifier,
                                     java.lang.String reason)
        Specified by:
        executionSkipped in interface org.junit.platform.launcher.TestExecutionListener
      • 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