Uses of Interface
org.testng.thread.IWorker
-
Packages that use IWorker Package Description org.testng org.testng.internal.invokers org.testng.internal.thread.graph org.testng.thread -
-
Uses of IWorker in org.testng
Classes in org.testng that implement IWorker Modifier and Type Class Description class
SuiteRunnerWorker
AnIWorker
that is used to encapsulate and run Suite RunnersMethods in org.testng that return types with arguments of type IWorker Modifier and Type Method 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.Methods in org.testng with parameters of type IWorker Modifier and Type Method Description int
SuiteRunnerWorker. compareTo(IWorker<ISuite> arg0)
Method parameters in org.testng with type arguments of type IWorker Modifier and Type Method Description private void
TestRunner. runJUnitWorkers(java.util.List<? extends IWorker<ITestNGMethod>> workers)
-
Uses of IWorker in org.testng.internal.invokers
Classes in org.testng.internal.invokers that implement IWorker Modifier and Type Class Description (package private) class
SingleTestMethodWorker
ExtendsTestMethodWorker
and is used to work on only a single method instanceclass
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.Methods in org.testng.internal.invokers that return types with arguments of type IWorker Modifier and Type Method 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)
Methods in org.testng.internal.invokers with parameters of type IWorker Modifier and Type Method Description int
TestMethodWorker. compareTo(IWorker<ITestNGMethod> other)
Method parameters in org.testng.internal.invokers with type arguments of type IWorker Modifier and Type Method Description private java.util.List<ITestResult>
TestInvoker. runWorkers(ITestNGMethod testMethod, java.util.List<IWorker<ITestNGMethod>> workers, int threadPoolSize, ConfigurationGroupMethods groupMethods, 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. -
Uses of IWorker in org.testng.internal.thread.graph
Classes in org.testng.internal.thread.graph that implement IWorker Modifier and Type Class Description private class
GraphThreadPoolExecutor.PhoneyWorker
Fields in org.testng.internal.thread.graph with type parameters of type IWorker Modifier and Type Field Description private java.util.Map<T,IWorker<T>>
GraphThreadPoolExecutor. mapping
Methods in org.testng.internal.thread.graph that return types with arguments of type IWorker Modifier and Type Method Description java.util.List<IWorker<ISuite>>
SuiteWorkerFactory. createWorkers(java.util.List<ISuite> suites)
For each suite, creates aSuiteRunnerWorker
Methods in org.testng.internal.thread.graph with parameters of type IWorker Modifier and Type Method Description int
GraphThreadPoolExecutor.PhoneyWorker. compareTo(IWorker<T> o)
private void
GraphThreadPoolExecutor. setStatus(IWorker<T> worker, IDynamicGraph.Status status)
Method parameters in org.testng.internal.thread.graph with type arguments of type IWorker Modifier and Type Method Description private void
GraphThreadPoolExecutor. mapNodeToWorker(java.util.List<IWorker<T>> runnables, java.util.List<T> freeNodes)
-
Uses of IWorker in org.testng.thread
Methods in org.testng.thread that return types with arguments of type IWorker Modifier and Type Method Description java.util.List<IWorker<T>>
IThreadWorkerFactory. createWorkers(java.util.List<T> freeNodes)
CreatesIWorker
for specified set of tasks.
-