Class AbortOnFailureLauncherDiscoveryListener
- java.lang.Object
-
- org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
-
- All Implemented Interfaces:
EngineDiscoveryListener
,LauncherDiscoveryListener
class AbortOnFailureLauncherDiscoveryListener extends java.lang.Object implements LauncherDiscoveryListener
- Since:
- 1.6
- See Also:
LauncherDiscoveryListeners.abortOnFailure()
-
-
Field Summary
-
Fields inherited from interface org.junit.platform.launcher.LauncherDiscoveryListener
NOOP
-
-
Constructor Summary
Constructors Constructor Description AbortOnFailureLauncherDiscoveryListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result)
Called when test discovery has finished for an engine.boolean
equals(java.lang.Object obj)
int
hashCode()
void
selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result)
Must be called after a discovery selector has been processed by a test engine.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.junit.platform.launcher.LauncherDiscoveryListener
engineDiscoveryStarted, launcherDiscoveryFinished, launcherDiscoveryStarted
-
-
-
-
Method Detail
-
engineDiscoveryFinished
public void engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result)
Description copied from interface:LauncherDiscoveryListener
Called when test discovery has finished for an engine.Exceptions thrown by implementations of this method will cause the complete test discovery to be aborted.
- Specified by:
engineDiscoveryFinished
in interfaceLauncherDiscoveryListener
- Parameters:
engineId
- the unique ID of the engine descriptorresult
- the discovery result of the supplied engine- See Also:
EngineDiscoveryResult
-
selectorProcessed
public void selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result)
Description copied from interface:EngineDiscoveryListener
Must be called after a discovery selector has been processed by a test engine.Exceptions thrown by implementations of this method will cause test discovery of the current engine to be aborted.
- Specified by:
selectorProcessed
in interfaceEngineDiscoveryListener
- Parameters:
engineId
- the unique ID of the engine descriptorselector
- the processed selectorresult
- the resolution result of the supplied engine and selector- See Also:
SelectorResolutionResult
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-