Class LauncherDiscoveryResult


  • @API(status=INTERNAL,
         since="1.7",
         consumers={"org.junit.platform.testkit","org.junit.platform.suite.engine"})
    public class LauncherDiscoveryResult
    extends java.lang.Object
    Represents the result of test discovery of the configured test engines.
    Since:
    1.7
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.junit.platform.engine.DiscoveryIssue> getDiscoveryIssues​(org.junit.platform.engine.TestEngine testEngine)  
      org.junit.platform.engine.TestDescriptor getEngineTestDescriptor​(org.junit.platform.engine.TestEngine testEngine)  
      java.util.Collection<org.junit.platform.engine.TestEngine> getTestEngines()  
      LauncherDiscoveryResult withRetainedEngines​(java.util.function.Predicate<? super org.junit.platform.engine.TestDescriptor> predicate)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getEngineTestDescriptor

        public org.junit.platform.engine.TestDescriptor getEngineTestDescriptor​(org.junit.platform.engine.TestEngine testEngine)
      • getDiscoveryIssues

        @API(status=INTERNAL,
             since="1.13")
        public java.util.List<org.junit.platform.engine.DiscoveryIssue> getDiscoveryIssues​(org.junit.platform.engine.TestEngine testEngine)
      • getTestEngines

        public java.util.Collection<org.junit.platform.engine.TestEngine> getTestEngines()
      • withRetainedEngines

        public LauncherDiscoveryResult withRetainedEngines​(java.util.function.Predicate<? super org.junit.platform.engine.TestDescriptor> predicate)