Package io.quarkus.test.junit.launcher
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult result) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult result) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-