Uses of Interface
org.testng.thread.IWorker
-
Packages that use IWorker Package Description org.testng org.testng.internal 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 classSuiteRunnerWorkerAnIWorkerthat 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 intSuiteRunnerWorker. compareTo(IWorker<ISuite> arg0)Method parameters in org.testng with type arguments of type IWorker Modifier and Type Method Description private voidTestRunner. runJUnitWorkers(java.util.List<? extends IWorker<ITestNGMethod>> workers) -
Uses of IWorker in org.testng.internal
Classes in org.testng.internal that implement IWorker Modifier and Type Class Description (package private) classSingleTestMethodWorkerExtendsTestMethodWorkerand is used to work on only a single method instanceclassTestMethodWorkerFIXME: 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 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 with parameters of type IWorker Modifier and Type Method Description intTestMethodWorker. compareTo(IWorker<ITestNGMethod> other)Method parameters in org.testng.internal 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, 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. -
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 classGraphThreadPoolExecutor.PhoneyWorkerFields 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. mappingMethods 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 aSuiteRunnerWorkerMethods in org.testng.internal.thread.graph with parameters of type IWorker Modifier and Type Method Description intGraphThreadPoolExecutor.PhoneyWorker. compareTo(IWorker<T> o)private voidGraphThreadPoolExecutor. 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 voidGraphThreadPoolExecutor. 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)CreatesIWorkerfor specified set of tasks.
-