Class WrappedRunners
- java.lang.Object
-
- org.apache.maven.surefire.junitcore.pc.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 ofParentRunner.getChildren()
. Due to performance reasons, the children have to be observed just once.- Since:
- 2.17
- See Also:
ParallelComputerBuilder
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
embeddedChildrenCount
(package private) org.junit.runners.ParentRunner
wrappingSuite
-
Constructor Summary
Constructors Constructor Description WrappedRunners()
WrappedRunners(org.junit.runners.ParentRunner wrappingSuite, long embeddedChildrenCount)
-