Class ShutdownResult


  • public final class ShutdownResult
    extends java.lang.Object
    Populates collection triggeredTests of descriptions started before shutting down. Populates collection incompleteTests which describes started tests but unfinished due to abrupt shutdown. The collection triggeredTests contains all elements from incompleteTests.
    Since:
    2.18
    See Also:
    Scheduler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Collection<org.junit.runner.Description> incompleteTests  
      private java.util.Collection<org.junit.runner.Description> triggeredTests  
    • Constructor Summary

      Constructors 
      Constructor Description
      ShutdownResult​(java.util.Collection<org.junit.runner.Description> triggeredTests, java.util.Collection<org.junit.runner.Description> incompleteTests)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<org.junit.runner.Description> getIncompleteTests()  
      java.util.Collection<org.junit.runner.Description> getTriggeredTests()  
      • Methods inherited from class java.lang.Object

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

      • triggeredTests

        private final java.util.Collection<org.junit.runner.Description> triggeredTests
      • incompleteTests

        private final java.util.Collection<org.junit.runner.Description> incompleteTests
    • Constructor Detail

      • ShutdownResult

        public ShutdownResult​(java.util.Collection<org.junit.runner.Description> triggeredTests,
                              java.util.Collection<org.junit.runner.Description> incompleteTests)
    • Method Detail

      • getTriggeredTests

        public java.util.Collection<org.junit.runner.Description> getTriggeredTests()
      • getIncompleteTests

        public java.util.Collection<org.junit.runner.Description> getIncompleteTests()