Class AbortOnFailureLauncherDiscoveryListener

java.lang.Object
org.junit.platform.launcher.LauncherDiscoveryListener
org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
All Implemented Interfaces:
EngineDiscoveryListener

class AbortOnFailureLauncherDiscoveryListener extends LauncherDiscoveryListener
Since:
1.6
See Also:
  • Constructor Details

    • AbortOnFailureLauncherDiscoveryListener

      AbortOnFailureLauncherDiscoveryListener()
  • Method Details

    • engineDiscoveryFinished

      public void engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result)
      Description copied from class: 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.

      Overrides:
      engineDiscoveryFinished in class LauncherDiscoveryListener
      Parameters:
      engineId - the unique ID of the engine descriptor
      result - the discovery result of the supplied engine
      See Also:
    • 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.

      Parameters:
      engineId - the unique ID of the engine descriptor
      selector - the processed selector
      result - the resolution result of the supplied engine and selector
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object