Class WrappedRunners

java.lang.Object
org.apache.maven.surefire.junitcore.pc.WrappedRunners

final class WrappedRunners extends 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:
  • Field Details

    • wrappingSuite

      final org.junit.runners.ParentRunner wrappingSuite
    • embeddedChildrenCount

      final long embeddedChildrenCount
  • Constructor Details

    • WrappedRunners

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

      WrappedRunners()