Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.thread.graph | |
org.testng.thread |
Modifier and Type | Class and Description |
---|---|
class |
SuiteRunnerWorker
An
IWorker that is used to encapsulate and run Suite Runners |
Modifier and Type | Method and Description |
---|---|
java.util.List<IWorker<ITestNGMethod>> |
TestRunner.createWorkers(java.util.List<ITestNGMethod> methods)
Create a list of workers to run the methods passed in parameter.
|
Modifier and Type | Method and Description |
---|---|
int |
SuiteRunnerWorker.compareTo(IWorker<ISuite> arg0) |
Modifier and Type | Method and Description |
---|---|
private void |
TestRunner.runJUnitWorkers(java.util.List<? extends IWorker<ITestNGMethod>> workers) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SingleTestMethodWorker
Extends
TestMethodWorker and is used to work on only a single method instance |
class |
TestMethodWorker
FIXME: reduce contention when this class is used through parallel invocation due to
invocationCount and threadPoolSize by not invoking the @BeforeClass and @AfterClass which are
already invoked on the original method.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<IWorker<ITestNGMethod>> |
AbstractParallelWorker.createWorkers(AbstractParallelWorker.Arguments arguments) |
java.util.List<IWorker<ITestNGMethod>> |
ClassBasedParallelWorker.createWorkers(AbstractParallelWorker.Arguments arguments) |
java.util.List<IWorker<ITestNGMethod>> |
InstanceBasedParallelParallelWorker.createWorkers(AbstractParallelWorker.Arguments arguments) |
Modifier and Type | Method and Description |
---|---|
int |
TestMethodWorker.compareTo(IWorker<ITestNGMethod> other) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<ITestResult> |
TestInvoker.runWorkers(ITestNGMethod testMethod,
java.util.List<IWorker<ITestNGMethod>> workers,
int threadPoolSize,
ConfigurationGroupMethods groupMethods,
XmlSuite suite,
java.util.Map<java.lang.String,java.lang.String> parameters)
To reduce thread contention and also to correctly handle thread-confinement this method invokes
the @BeforeGroups and @AfterGroups corresponding to the current @Test method.
|
Modifier and Type | Class and Description |
---|---|
private class |
GraphThreadPoolExecutor.PhoneyWorker |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<T,IWorker<T>> |
GraphThreadPoolExecutor.mapping |
Modifier and Type | Method and Description |
---|---|
java.util.List<IWorker<ISuite>> |
SuiteWorkerFactory.createWorkers(java.util.List<ISuite> suites)
For each suite, creates a
SuiteRunnerWorker |
Modifier and Type | Method and Description |
---|---|
int |
GraphThreadPoolExecutor.PhoneyWorker.compareTo(IWorker<T> o) |
private void |
GraphThreadPoolExecutor.setStatus(IWorker<T> worker,
IDynamicGraph.Status status) |
Modifier and Type | Method and Description |
---|---|
private void |
GraphThreadPoolExecutor.mapNodeToWorker(java.util.List<IWorker<T>> runnables,
java.util.List<T> freeNodes) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IWorker<T>> |
IThreadWorkerFactory.createWorkers(java.util.List<T> freeNodes)
Creates
IWorker for specified set of tasks. |