Class AbortOnFailureLauncherDiscoveryListener
java.lang.Object
org.junit.platform.launcher.LauncherDiscoveryListener
org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
- All Implemented Interfaces:
EngineDiscoveryListener
- Since:
- 1.6
- See Also:
-
Field Summary
Fields inherited from class org.junit.platform.launcher.LauncherDiscoveryListener
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidengineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result) Called when test discovery has finished for an engine.booleaninthashCode()voidselectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) Must be called after a discovery selector has been processed by a test engine.Methods inherited from class org.junit.platform.launcher.LauncherDiscoveryListener
engineDiscoveryStarted
-
Constructor Details
-
AbortOnFailureLauncherDiscoveryListener
AbortOnFailureLauncherDiscoveryListener()
-
-
Method Details
-
engineDiscoveryFinished
Description copied from class:LauncherDiscoveryListenerCalled when test discovery has finished for an engine.Exceptions thrown by implementations of this method will cause the complete test discovery to be aborted.
- Overrides:
engineDiscoveryFinishedin classLauncherDiscoveryListener- Parameters:
engineId- the unique ID of the engine descriptorresult- the discovery result of the supplied engine- See Also:
-
selectorProcessed
public void selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result) Description copied from interface:EngineDiscoveryListenerMust 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.
- Parameters:
engineId- the unique ID of the engine descriptorselector- the processed selectorresult- the resolution result of the supplied engine and selector- See Also:
-
equals
-
hashCode
public int hashCode()
-