Package org.testng.internal
Class Invoker
java.lang.Object
org.testng.internal.Invoker
- All Implemented Interfaces:
IInvoker
This class is responsible for invoking methods: - test methods - configuration methods - possibly
in a separate thread and then for notifying the result listeners.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final BiPredicate<ITestNGMethod,
IClass> Predicate to filter methodsprivate final ConfigInvoker
private final TestInvoker
(package private) static final BiPredicate<ITestNGMethod,
IClass> Predicate to filter methods -
Constructor Summary
ConstructorsConstructorDescriptionInvoker
(IConfiguration configuration, ITestContext testContext, ITestResultNotifier notifier, SuiteRunState state, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, DataProviderHolder holder) -
Method Summary
-
Field Details
-
CAN_RUN_FROM_CLASS
Predicate to filter methods -
SAME_CLASS
Predicate to filter methods -
m_testInvoker
-
m_configInvoker
-
-
Constructor Details
-
Invoker
public Invoker(IConfiguration configuration, ITestContext testContext, ITestResultNotifier notifier, SuiteRunState state, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, DataProviderHolder holder)
-
-
Method Details
-
getConfigInvoker
- Specified by:
getConfigInvoker
in interfaceIInvoker
-
getTestInvoker
- Specified by:
getTestInvoker
in interfaceIInvoker
-