Class ExecutionListener

java.lang.Object
io.quarkus.test.junit.launcher.ExecutionListener
All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener

public class ExecutionListener extends Object implements org.junit.platform.launcher.TestExecutionListener
The earliest hook a test extension can have is BeforeAllCallback. Since we don't know if other extensions might be registered, we want to get in before that callback and set the TCCL to be the classloader of the test class.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult result)
     
    void
    executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
     

    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, executionSkipped, fileEntryPublished, reportingEntryPublished, testPlanExecutionFinished, testPlanExecutionStarted
  • Constructor Details

    • ExecutionListener

      public ExecutionListener()
  • Method Details

    • 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 result)
      Specified by:
      executionFinished in interface org.junit.platform.launcher.TestExecutionListener