Package org.apache.maven.surefire.junitcore.pc
package org.apache.maven.surefire.junitcore.pc
-
ClassDescriptionAbstract parallel scheduling strategy in private package.The Balancer controls the maximum of concurrent threads in the current Scheduler(s) and prevents from own thread resources exhaustion if other group of schedulers share the same pool of threads.Destroys the embedded thread-pool.Status of
ParallelComputer runtime
.
Used together with shutdown hook.The sequentially executing strategy in private package.Parallel strategy for non-shared thread pool in private package.This balancer implementsBalancer
and does not do anything -no blocking operation.ParallelComputer extends JUnitComputer
and has a shutdown functionality.An algorithm which configuresParallelComputer
with allocated thread resources by givenJUnitCoreParameters
.Counts number of JUnit suites, classes and methods.Schedules tests, controls thread resources, awaiting tests and other schedulers finished, and a master scheduler can shutdown slaves.The factory ofSchedulingStrategy
.Specifies the strategy of scheduling whether sequential, or parallel.Parallel strategy for shared thread pool in private package.Populates collectiontriggeredTests
of descriptions started before shutting down.Wrapper ofParallelComputer status information
and tests been populated before a shutdown hook has been triggered.Used to execute tests annotated with net.jcip.annotations.NotThreadSafe.We need to wrap runners in a suite and count children of these runners.