Uses of Interface
org.testng.thread.IWorker
Packages that use IWorker
Package
Description
-
Uses of IWorker in org.testng
Classes in org.testng that implement IWorkerModifier and TypeClassDescriptionclass
AnIWorker
that is used to encapsulate and run Suite RunnersMethods in org.testng that return types with arguments of type IWorkerModifier and TypeMethodDescriptionTestRunner.createWorkers
(List<ITestNGMethod> methods) Create a list of workers to run the methods passed in parameter.Methods in org.testng with parameters of type IWorkerMethod parameters in org.testng with type arguments of type IWorkerModifier and TypeMethodDescriptionprivate void
TestRunner.runJUnitWorkers
(List<? extends IWorker<ITestNGMethod>> workers) -
Uses of IWorker in org.testng.internal
Classes in org.testng.internal that implement IWorkerModifier and TypeClassDescription(package private) class
ExtendsTestMethodWorker
and is used to work on only a single method instanceclass
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 that return types with arguments of type IWorkerModifier and TypeMethodDescriptionabstract List<IWorker<ITestNGMethod>>
AbstractParallelWorker.createWorkers
(AbstractParallelWorker.Arguments arguments) ClassBasedParallelWorker.createWorkers
(AbstractParallelWorker.Arguments arguments) InstanceBasedParallelParallelWorker.createWorkers
(AbstractParallelWorker.Arguments arguments) Methods in org.testng.internal with parameters of type IWorkerMethod parameters in org.testng.internal with type arguments of type IWorkerModifier and TypeMethodDescriptionprivate List<ITestResult>
TestInvoker.runWorkers
(ITestNGMethod testMethod, List<IWorker<ITestNGMethod>> workers, int threadPoolSize, ConfigurationGroupMethods groupMethods, XmlSuite suite, Map<String, 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 IWorkerFields in org.testng.internal.thread.graph with type parameters of type IWorkerMethods in org.testng.internal.thread.graph that return types with arguments of type IWorkerModifier and TypeMethodDescriptionSuiteWorkerFactory.createWorkers
(List<ISuite> suites) For each suite, creates aSuiteRunnerWorker
Methods in org.testng.internal.thread.graph with parameters of type IWorkerModifier and TypeMethodDescriptionint
private void
GraphThreadPoolExecutor.setStatus
(IWorker<T> worker, IDynamicGraph.Status status) Method parameters in org.testng.internal.thread.graph with type arguments of type IWorker -
Uses of IWorker in org.testng.thread
Methods in org.testng.thread that return types with arguments of type IWorker