Class Dispatcher
java.lang.Object
com.github.sbt.junit.jupiter.internal.event.Dispatcher
- All Implemented Interfaces:
JupiterTestListener,org.junit.platform.launcher.TestExecutionListener
Dispatches test events to SBT.
-
Constructor Summary
ConstructorsConstructorDescriptionDispatcher(Configuration configuration, sbt.testing.EventHandler eventHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutionFailed(String className, Throwable throwable) Called when the execution of a test task failed.voidexecutionFiltered(org.junit.platform.engine.TestDescriptor descriptor, String reason) Called when a test has been filtered.voidexecutionFinished(org.junit.platform.launcher.TestIdentifier identifier, org.junit.platform.engine.TestExecutionResult result) voidexecutionSkipped(org.junit.platform.launcher.TestIdentifier identifier, String reason) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier identifier) 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, fileEntryPublished, reportingEntryPublished, testPlanExecutionFinished, testPlanExecutionStarted
-
Constructor Details
-
Dispatcher
-
-
Method Details
-
executionSkipped
- Specified by:
executionSkippedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier identifier) - Specified by:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionFailed
Description copied from interface:JupiterTestListenerCalled when the execution of a test task failed.- Specified by:
executionFailedin interfaceJupiterTestListener- Parameters:
className- The class-name as reported byTaskDef.fullyQualifiedName().throwable- The throwable which caused test execution to fail.
-
executionFiltered
Description copied from interface:JupiterTestListenerCalled when a test has been filtered.- Specified by:
executionFilteredin interfaceJupiterTestListener- Parameters:
descriptor- The descriptor of the filtered test.reason- A string which describes why this test was filtered.
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier identifier, org.junit.platform.engine.TestExecutionResult result) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-