Package org.testng.internal
Class ClassBasedParallelWorker
java.lang.Object
org.testng.internal.AbstractParallelWorker
org.testng.internal.ClassBasedParallelWorker
-
Nested Class Summary
Nested classes/interfaces inherited from class org.testng.internal.AbstractParallelWorker
AbstractParallelWorker.Arguments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static TestMethodWorker
createTestMethodWorker
(AbstractParallelWorker.Arguments attributes, List<IMethodInstance> methodInstances, Map<String, String> params, Class<?> c) createWorkers
(AbstractParallelWorker.Arguments arguments) private static List<IMethodInstance>
findClasses
(List<IMethodInstance> methodInstances, Class<?> c) private static boolean
isSequential
(ITestAnnotation test, XmlTest xmlTest) private List<MethodInstance>
methodsToMultipleMethodInstances
(ITestNGMethod... methods) private static boolean
shouldRunSequentially
(Class<?> c, Set<Class<?>> sequentialClasses) Methods inherited from class org.testng.internal.AbstractParallelWorker
newWorker
-
Constructor Details
-
ClassBasedParallelWorker
ClassBasedParallelWorker()
-
-
Method Details
-
gatherClassesThatShouldRunSequentially
private static Set<Class<?>> gatherClassesThatShouldRunSequentially(AbstractParallelWorker.Arguments arguments) -
createWorkers
- Specified by:
createWorkers
in classAbstractParallelWorker
-
shouldRunSequentially
-
findClasses
-
createTestMethodWorker
private static TestMethodWorker createTestMethodWorker(AbstractParallelWorker.Arguments attributes, List<IMethodInstance> methodInstances, Map<String, String> params, Class<?> c) -
methodsToMultipleMethodInstances
-
isSequential
-
getParameters
-