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 TypeClassDescriptionclassAnIWorkerthat 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 voidTestRunner.runJUnitWorkers(List<? extends IWorker<ITestNGMethod>> workers) -
Uses of IWorker in org.testng.internal.invokers
Classes in org.testng.internal.invokers that implement IWorkerModifier and TypeClassDescription(package private) classExtendsTestMethodWorkerand is used to work on only a single method instanceclassFIXME: 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 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.invokers with parameters of type IWorkerMethod parameters in org.testng.internal.invokers with type arguments of type IWorkerModifier and TypeMethodDescriptionprivate List<ITestResult> TestInvoker.runWorkers(ITestNGMethod testMethod, List<IWorker<ITestNGMethod>> workers, int threadPoolSize, ConfigurationGroupMethods groupMethods, 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 aSuiteRunnerWorkerMethods in org.testng.internal.thread.graph with parameters of type IWorkerModifier and TypeMethodDescriptionintprivate voidGraphThreadPoolExecutor.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