Class SingleThreadScheduler
java.lang.Object
org.apache.maven.surefire.junitcore.pc.SingleThreadScheduler
Used to execute tests annotated with net.jcip.annotations.NotThreadSafe.
- Since:
- 2.18
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConsoleLogger
private final Scheduler
private final ExecutorService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Collection<org.junit.runner.Description>
copyExisting
(Collection<org.junit.runner.Description> descriptions) (package private) ShutdownResult
describeStopped
(boolean shutdownNow) private static ExecutorService
newPool()
(package private) org.junit.runners.model.RunnerScheduler
(package private) boolean
-
Field Details
-
logger
-
pool
-
master
-
-
Constructor Details
-
SingleThreadScheduler
SingleThreadScheduler(ConsoleLogger logger)
-
-
Method Details
-
newPool
-
newRunnerScheduler
org.junit.runners.model.RunnerScheduler newRunnerScheduler() -
describeStopped
- See Also:
-
shutdownThreadPoolsAwaitingKilled
boolean shutdownThreadPoolsAwaitingKilled() -
copyExisting
private Collection<org.junit.runner.Description> copyExisting(Collection<org.junit.runner.Description> descriptions)
-