A B C D 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
Deprecated.
AsynchronousRunner(ExecutorService) - Constructor for class org.apache.maven.surefire.junitcore.AsynchronousRunner
Deprecated.
 
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
 
beforeRunQuietly() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
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
Deprecated.
 
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
Deprecated.
ConfigurableParallelComputer() - Constructor for class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
 
ConfigurableParallelComputer(boolean, boolean) - Constructor for class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
 
ConfigurableParallelComputer(boolean, boolean, Integer, boolean) - Constructor for class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
 
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
 

D

describeElapsedTimeout() - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
describeStopped(boolean) - Method in class org.apache.maven.surefire.junitcore.pc.ParallelComputer
 
describeStopped(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.
destroy() - Method in interface org.apache.maven.surefire.junitcore.pc.Destroyable
Destroyable - Interface in org.apache.maven.surefire.junitcore.pc
Destroys the embedded thread-pool.
disable() - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
Persistently disables this strategy.

F

finished() - Method in class org.apache.maven.surefire.junitcore.AsynchronousRunner
Deprecated.
 
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
 
getIncompleteTests() - Method in class org.apache.maven.surefire.junitcore.pc.ShutdownResult
 
getParallelTestsTimeoutForcedInSeconds() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
getParallelTestsTimeoutInSeconds() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
getRunner(RunnerBuilder, Class<?>) - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
 
getSuite(RunnerBuilder, Class<?>[]) - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
 
getSuites() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreProvider
 
getThreadCount() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
getThreadCountClasses() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
getThreadCountMethods() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
getThreadCountSuites() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
getThreadTestSet() - Static method in class org.apache.maven.surefire.junitcore.TestSet
 
getTriggeredTests() - Method in class org.apache.maven.surefire.junitcore.pc.ShutdownResult
 

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
 
isNoThreading() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isParallelBoth() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
isParallelClasses() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isParallelismSelected() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isParallelMethods() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isParallelOptimization() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isParallelSuites() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isPerCoreThreadCount() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
isRunnable() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreProvider
 
isUseUnlimitedThreads() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 

J

JUnitCoreParameters - Class in org.apache.maven.surefire.junitcore
 
JUnitCoreParameters(Properties) - Constructor for class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
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
 
logQuietly(Throwable) - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
 

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

PARALLEL_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
PARALLEL_OPTIMIZE_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
PARALLEL_TIMEOUT_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
PARALLEL_TIMEOUTFORCED_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
ParallelComputer - Class in org.apache.maven.surefire.junitcore.pc
ParallelComputer extends JUnit Computer and has a shutdown functionality.
ParallelComputer(double, double) - 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(JUnitCoreParameters) - Constructor for class org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder
 
PERCORETHREADCOUNT_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 

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
Deprecated.
 
schedule(Runnable) - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
schedule(Runnable) - Method in class org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
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
There is a way to shutdown the hierarchy of schedulers.
Scheduler.ShutdownHandler() - Constructor for class org.apache.maven.surefire.junitcore.pc.Scheduler.ShutdownHandler
 
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
 
ShutdownResult - Class in org.apache.maven.surefire.junitcore.pc
Populates collection triggeredTests of descriptions started before shutting down.
ShutdownResult(Collection<Description>, Collection<Description>) - Constructor for class org.apache.maven.surefire.junitcore.pc.ShutdownResult
 
shutdownThreadPoolsAwaitingKilled() - Method in class org.apache.maven.surefire.junitcore.pc.Scheduler
 
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
 
THREADCOUNT_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
THREADCOUNTCLASSES_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
THREADCOUNTMETHODS_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
THREADCOUNTSUITES_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 
toString() - Method in class org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
 
toString() - Method in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 

U

USEUNLIMITEDTHREADS_KEY - Static variable in class org.apache.maven.surefire.junitcore.JUnitCoreParameters
 

W

waitForCompletion() - Method in class org.apache.maven.surefire.junitcore.AsynchronousRunner
Deprecated.
 
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 D F G H I J L M N O P R S T U W 

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