Top Constructors Methods
org.testng.internal.invokers

pack-priv Class ClassBasedParallelWorker

extends AbstractParallelWorker
Class Inheritance
Imports
java.util.Arrays, .Collections, .List, .Map, .Set, java.util.stream.Collectors, org.testng.IMethodInstance, .ITestNGMethod, org.testng.collections.Lists, .Sets, org.testng.internal.MethodInstance, org.testng.thread.IWorker, org.testng.xml.XmlSuite, .XmlTest

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static TestMethodWorker
public List<IWorker<ITestNGMethod>>
private static List<IMethodInstance>
findClasses(List<IMethodInstance> methodInstances, Class<?> c)

private static Set<Class<?>>
private static Map<String, String>
private static boolean
private List<MethodInstance>
private static boolean
shouldRunSequentially(Class<?> c, Set<Class<?>> sequentialClasses)

Inherited from org.testng.internal.invokers.AbstractParallelWorker:
newWorker

Constructor Detail

ClassBasedParallelWorkerback to summary
pack-priv ClassBasedParallelWorker()

Method Detail

createTestMethodWorkerback to summary
private static TestMethodWorker createTestMethodWorker(AbstractParallelWorker.Arguments attributes, List<IMethodInstance> methodInstances, Map<String, String> params, Class<?> c)
createWorkersback to summary
public List<IWorker<ITestNGMethod>> createWorkers(AbstractParallelWorker.Arguments arguments)

Implements abstract org.testng.internal.invokers.AbstractParallelWorker.createWorkers.

Annotations
@Override
findClassesback to summary
private static List<IMethodInstance> findClasses(List<IMethodInstance> methodInstances, Class<?> c)
gatherClassesThatShouldRunSequentiallyback to summary
private static Set<Class<?>> gatherClassesThatShouldRunSequentially(AbstractParallelWorker.Arguments arguments)
getParametersback to summary
private static Map<String, String> getParameters(IMethodInstance im)
isSequentialback to summary
private static boolean isSequential(ITestAnnotation test, XmlTest xmlTest)
methodsToMultipleMethodInstancesback to summary
private List<MethodInstance> methodsToMultipleMethodInstances(ITestNGMethod... methods)
shouldRunSequentiallyback to summary
private static boolean shouldRunSequentially(Class<?> c, Set<Class<?>> sequentialClasses)