A B C F G H I J L M N O P R S T U W 

A

acquirePermit() - Method in interface org.apache.maven.surefire.junitcore.pc.Balancer
Acquires a permit from this balancer, blocking until one is available.
afterExecute() - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
afterRunQuietly() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
AsynchronousRunner - Class in org.apache.maven.surefire.junitcore
 
AsynchronousRunner(ExecutorService) - Constructor for class org.apache.maven.surefire.junitcore.AsynchronousRunner
 
attachToThread() - Method in class org.apache.maven.surefire.junitcore.TestSet
 

B

Balancer - Interface in org.apache.maven.surefire.junitcore.pc
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.
BalancerFactory - Class in org.apache.maven.surefire.junitcore.pc
 
beforeExecute() - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
buildComputer() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 

C

canSchedule() - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
 
checkIfTestSetCanBeReported(TestSet) - Method in class org.apache.maven.surefire.junitcore.ClassesParallelRunListener
 
checkIfTestSetCanBeReported(TestSet) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
checkIfTestSetCanBeReported(TestSet) - Method in class org.apache.maven.surefire.junitcore.MethodsParallelRunListener
 
ClassesParallelRunListener - Class in org.apache.maven.surefire.junitcore
 
ClassesParallelRunListener(Map<String, TestSet>, ReporterFactory, ConsoleLogger) - Constructor for class org.apache.maven.surefire.junitcore.ClassesParallelRunListener
 
close() - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 
ConcurrentRunListener - Class in org.apache.maven.surefire.junitcore
Handles responses from concurrent junit

Stuff to remember about JUnit threading: parallel=classes; beforeClass/afterClass, constructor and all tests method run on same thread parallel=methods; beforeClass/afterClass run on main thread, constructor + each test method run on same thread parallel=both; same as parallel=methods

ConfigurableParallelComputer - Class in org.apache.maven.surefire.junitcore
 
ConfigurableParallelComputer() - Constructor for class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 
ConfigurableParallelComputer(boolean, boolean) - Constructor for class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 
ConfigurableParallelComputer(boolean, boolean, Integer, boolean) - Constructor for class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 
createBalancer(int) - Static method in class org.apache.maven.surefire.junitcore.pc.BalancerFactory
Balancer without fairness.
createBalancerWithFairness(int) - Static method in class org.apache.maven.surefire.junitcore.pc.BalancerFactory
Balancer with fairness.
createInfinitePermitsBalancer() - Static method in class org.apache.maven.surefire.junitcore.pc.BalancerFactory
Infinite permits.
createInstance(Map<String, TestSet>, ReporterFactory, boolean, boolean, ConsoleLogger) - Static method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
createInvokerStrategy() - Static method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategies
 
createParallelSharedStrategy(ExecutorService) - Static method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategies
The threadPool passed to this strategy can be shared in other strategies.
createParallelStrategy(int) - Static method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategies
 
createParallelStrategyUnbounded() - Static method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategies
 
createReportEntry(Description) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
createReportEntryForTestSet(Description) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
createStackTraceWriter(Failure) - Method in class org.apache.maven.surefire.junitcore.JUnitCoreRunListener
 
createThreadAttachedTestMethod(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.TestSet
 

F

finished() - Method in class org.apache.maven.surefire.junitcore.AsynchronousRunner
 
finished() - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
finished() - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
Waiting for scheduled tasks to finish.

G

getClassLevelLogicalStream() - Method in class org.apache.maven.surefire.junitcore.TestSet
 
getRunner(RunnerBuilder, Class<?>) - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 
getSuite(RunnerBuilder, Class<?>[]) - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 
getSuites() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreProvider
 
getThreadTestSet() - Static method in class org.apache.maven.surefire.junitcore.TestSet
 

H

hasSharedThreadPool() - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
 

I

incrementFinishedTests(RunListener, boolean) - Method in class org.apache.maven.surefire.junitcore.TestSet
 
incrementTestMethodCount() - Method in class org.apache.maven.surefire.junitcore.TestSet
 
invoke(Object) - Method in class org.apache.maven.surefire.junitcore.JUnitCoreProvider
 
isRunnable() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreProvider
 

J

JUnitCoreProvider - Class in org.apache.maven.surefire.junitcore
 
JUnitCoreProvider(ProviderParameters) - Constructor for class org.apache.maven.surefire.junitcore.JUnitCoreProvider
 
JUnitCoreRunListener - Class in org.apache.maven.surefire.junitcore
Noteworthy things about JUnit4 listening:

A class that is annotated with @Ignore will have one invocation of "testSkipped" with source==name A method that is annotated with @Ignore will have a invocation of testSkipped with source and name distinct Methods annotated with @Ignore trigger no further events.

JUnitCoreRunListener(RunListener, Map<String, TestSet>) - Constructor for class org.apache.maven.surefire.junitcore.JUnitCoreRunListener
 

L

LogicalStream - Class in org.apache.maven.surefire.junitcore
A stream-like object that preserves ordering between stdout/stderr
LogicalStream() - Constructor for class org.apache.maven.surefire.junitcore.LogicalStream
 
logQuietly(Throwable) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
logQuietly(String) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 

M

MethodsParallelRunListener - Class in org.apache.maven.surefire.junitcore
 
MethodsParallelRunListener(Map<String, TestSet>, ReporterFactory, boolean, ConsoleLogger) - Constructor for class org.apache.maven.surefire.junitcore.MethodsParallelRunListener
 

N

newShutdownHandler() - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
NonConcurrentRunListener - Class in org.apache.maven.surefire.junitcore
A class to be used when there is no JUnit parallelism (methods or/and class).
NonConcurrentRunListener(RunListener) - Constructor for class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 

O

org.apache.maven.surefire.junitcore - package org.apache.maven.surefire.junitcore
 
org.apache.maven.surefire.junitcore.pc - package org.apache.maven.surefire.junitcore.pc
 

P

parallelClasses() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
parallelClasses(int) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
ParallelComputer - Class in org.apache.maven.surefire.junitcore.pc
ParallelComputer extends JUnit Computer and has a shutdown functionality.
ParallelComputer() - Constructor for class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
ParallelComputerBuilder - Class in org.apache.maven.surefire.junitcore.pc
Executing suites, classes and methods with defined concurrency.
ParallelComputerBuilder() - Constructor for class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
parallelMethods() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
parallelMethods(int) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
parallelSuites() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
parallelSuites(int) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 

R

rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler.ShutdownHandler
 
releaseAllPermits() - Method in interface org.apache.maven.surefire.junitcore.pc.Balancer
 
releasePermit() - Method in interface org.apache.maven.surefire.junitcore.pc.Balancer
Releases a permit, returning it to the balancer.
replay(RunListener) - Method in class org.apache.maven.surefire.junitcore.TestSet
 

S

schedule(Runnable) - Method in class org.apache.maven.surefire.junitcore.AsynchronousRunner
 
schedule(Runnable) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
schedule(Runnable) - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
scheduleForcedShutdown(int, TimeUnit) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
Scheduler - Class in org.apache.maven.surefire.junitcore.pc
Schedules tests, controls thread resources, awaiting tests and other schedulers finished, and a master scheduler can shutdown slaves.
Scheduler(Description, SchedulingStrategy) - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler
Use e.g.
Scheduler(Description, SchedulingStrategy, int) - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler
Should be used if schedulers in parallel children and parent use one instance of bounded thread pool.
Scheduler(Description, SchedulingStrategy, Balancer) - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler
New instances should be used by schedulers with limited concurrency by balancer against other groups of schedulers.
Scheduler(Description, Scheduler, SchedulingStrategy, Balancer) - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler
Can be used by e.g.
Scheduler(Description, Scheduler, SchedulingStrategy, int) - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler
 
Scheduler(Description, Scheduler, SchedulingStrategy) - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler
Should be used with individual pools on suites, classes and methods, see ParallelComputerBuilder.useSeparatePools().
Scheduler.ShutdownHandler - Class in org.apache.maven.surefire.junitcore.pc
 
Scheduler.ShutdownHandler() - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler.ShutdownHandler
 
scheduleShutdown(int, TimeUnit) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
SchedulingStrategies - Class in org.apache.maven.surefire.junitcore.pc
The factory of SchedulingStrategy.
SchedulingStrategies() - Constructor for class org.apache.maven.surefire.junitcore.pc.SchedulingStrategies
 
SchedulingStrategy - Class in org.apache.maven.surefire.junitcore.pc
Specifies the strategy of scheduling whether sequential, or parallel.
SchedulingStrategy() - Constructor for class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
 
setAllScheduled(RunListener) - Method in class org.apache.maven.surefire.junitcore.TestSet
 
setDefaultShutdownHandler(Scheduler.ShutdownHandler) - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
 
setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler.ShutdownHandler
 
shutdown(boolean) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
shutdown(boolean) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
Attempts to stop all actively executing tasks and immediately returns a collection of descriptions of those tasks which have started prior to this call.
stop() - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
Stops scheduling new tasks (e.g.
stopNow() - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
Stops scheduling new tasks and interrupts running tasks (e.g.

T

testAssumptionFailure(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testAssumptionFailure(Failure) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
testError(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testFailed(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testFailure(Failure) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
testFinished(Description) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
testIgnored(Description) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
testRunFinished(Result) - Method in class org.apache.maven.surefire.junitcore.JUnitCoreRunListener
 
testRunFinished(Result) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
testRunStarted(Description) - Method in class org.apache.maven.surefire.junitcore.JUnitCoreRunListener
Called right before any tests from a specific class are run.
testRunStarted(Description) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
TestSet - Class in org.apache.maven.surefire.junitcore
* Represents the test-state of a testset that is run.
TestSet(Description) - Constructor for class org.apache.maven.surefire.junitcore.TestSet
 
testSetCompleted(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testSetStarting(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testSkipped(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testStarted(Description) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
testStarting(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
testSucceeded(ReportEntry) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
toString() - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
 

U

useOnePool() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
useOnePool(int) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
useSeparatePools() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 

W

waitForCompletion() - Method in class org.apache.maven.surefire.junitcore.AsynchronousRunner
 
write(boolean, byte[], int, int) - Method in class org.apache.maven.surefire.junitcore.LogicalStream
 
writeDetails(ConsoleOutputReceiver) - Method in class org.apache.maven.surefire.junitcore.LogicalStream
 
writeTestOutput(byte[], int, int, boolean) - Method in class org.apache.maven.surefire.junitcore.ConcurrentRunListener
 
writeTestOutput(byte[], int, int, boolean) - Method in class org.apache.maven.surefire.junitcore.NonConcurrentRunListener
 
A B C F G H I J L M N O P R S T U W 

Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.