Modifier and Type | Class and Description |
---|---|
class |
ForkingRunListener
Encodes the full output of the test run to the stdout stream.
|
Modifier and Type | Method and Description |
---|---|
ConsoleStream |
BaseProviderFactory.getConsoleLogger() |
Modifier and Type | Field and Description |
---|---|
private ConsoleStream |
ConcurrentRunListener.consoleStream |
private ConsoleStream |
JUnitCoreWrapper.consoleStream |
Modifier and Type | Method and Description |
---|---|
static ConcurrentRunListener |
ConcurrentRunListener.createInstance(java.util.Map<java.lang.String,TestSet> classMethodCounts,
ReporterFactory reporterFactory,
boolean parallelClasses,
boolean parallelBoth,
ConsoleStream consoleStream) |
private JUnit4RunListener |
JUnitCoreProvider.createRunListener(ReporterFactory reporterFactory,
ConsoleStream consoleStream) |
Constructor and Description |
---|
ClassesParallelRunListener(java.util.Map<java.lang.String,TestSet> classMethodCounts,
ReporterFactory reporterFactory,
ConsoleStream consoleStream) |
ConcurrentRunListener(ReporterFactory reporterFactory,
ConsoleStream consoleStream,
boolean reportImmediately,
java.util.Map<java.lang.String,TestSet> classMethodCounts) |
JUnitCoreWrapper(Notifier notifier,
JUnitCoreParameters jUnitCoreParameters,
ConsoleStream consoleStream) |
MethodsParallelRunListener(java.util.Map<java.lang.String,TestSet> classMethodCounts,
ReporterFactory reporterFactory,
boolean reportImmediately,
ConsoleStream consoleStream) |
Modifier and Type | Field and Description |
---|---|
private ConsoleStream |
SchedulingStrategy.logger |
private ConsoleStream |
Scheduler.logger |
private ConsoleStream |
SingleThreadScheduler.logger |
private ConsoleStream |
ParallelComputerBuilder.logger |
Modifier and Type | Method and Description |
---|---|
static SchedulingStrategy |
SchedulingStrategies.createInvokerStrategy(ConsoleStream logger) |
static SchedulingStrategy |
SchedulingStrategies.createParallelSharedStrategy(ConsoleStream logger,
java.util.concurrent.ExecutorService threadPool)
The threadPool passed to this strategy can be shared in other strategies.
|
static SchedulingStrategy |
SchedulingStrategies.createParallelStrategy(ConsoleStream logger,
int nThreads) |
static SchedulingStrategy |
SchedulingStrategies.createParallelStrategyUnbounded(ConsoleStream logger) |
Constructor and Description |
---|
AbstractThreadPoolStrategy(ConsoleStream logger,
java.util.concurrent.ExecutorService threadPool) |
AbstractThreadPoolStrategy(ConsoleStream logger,
java.util.concurrent.ExecutorService threadPool,
java.util.Collection<java.util.concurrent.Future<?>> futureResults) |
InvokerStrategy(ConsoleStream logger) |
NonSharedThreadPoolStrategy(ConsoleStream logger,
java.util.concurrent.ExecutorService threadPool) |
ParallelComputerBuilder(ConsoleStream logger)
|
ParallelComputerBuilder(ConsoleStream logger,
JUnitCoreParameters parameters) |
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
Scheduler masterScheduler,
SchedulingStrategy strategy)
Should be used with individual pools on suites, classes and methods, see
ParallelComputerBuilder.useSeparatePools() . |
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
Scheduler masterScheduler,
SchedulingStrategy strategy,
Balancer balancer)
Can be used by e.g.
|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
Scheduler masterScheduler,
SchedulingStrategy strategy,
int concurrency) |
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
SchedulingStrategy strategy)
Use e.g.
|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
SchedulingStrategy strategy,
Balancer balancer)
New instances should be used by schedulers with limited concurrency by balancer
against other groups of schedulers.
|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
SchedulingStrategy strategy,
int concurrency)
Should be used if schedulers in parallel children and parent use one instance of bounded thread pool.
|
SchedulingStrategy(ConsoleStream logger) |
SharedThreadPoolStrategy(ConsoleStream logger,
java.util.concurrent.ExecutorService threadPool) |
SingleThreadScheduler(ConsoleStream logger) |
Modifier and Type | Method and Description |
---|---|
ConsoleStream |
ProviderParameters.getConsoleLogger()
Gets a logger intended for console output.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDirectConsoleReporter |