Class WrappedRunners


  • final class WrappedRunners
    extends java.lang.Object
    We need to wrap runners in a suite and count children of these runners.
    Old JUnit versions do not cache children after the first call of ParentRunner.getChildren(). Due to performance reasons, the children have to be observed just once.
    Since:
    2.17
    See Also:
    ParallelComputerBuilder
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedRunners()  
      WrappedRunners​(org.junit.runners.ParentRunner wrappingSuite, long embeddedChildrenCount)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • wrappingSuite

        final org.junit.runners.ParentRunner wrappingSuite
      • embeddedChildrenCount

        final long embeddedChildrenCount
    • Constructor Detail

      • WrappedRunners

        WrappedRunners​(org.junit.runners.ParentRunner wrappingSuite,
                       long embeddedChildrenCount)
      • WrappedRunners

        WrappedRunners()