Top Description Fields Constructors Methods
org.testng.internal.invokers

public Class Invoker

extends Object
implements IInvoker
Class Inheritance
All Implemented Interfaces
org.testng.internal.invokers.IInvoker
Imports
java.util.Collection, .List, java.util.function.BiPredicate, org.testng.DataProviderHolder, .IClass, .IClassListener, .IConfigurationListener, .IInvokedMethodListener, .ISuiteRunnerListener, .ITestContext, .ITestNGMethod, .SuiteRunState, org.testng.internal.IConfiguration, .ITestResultNotifier

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

Modifier and TypeField and Description
pack-priv static final BiPredicate<ITestNGMethod, IClass>
CAN_RUN_FROM_CLASS

Predicate to filter methods

private final ConfigInvoker
private final TestInvoker
pack-priv static final BiPredicate<ITestNGMethod, IClass>
SAME_CLASS

Predicate to filter methods

Constructor Summary

AccessConstructor and Description
public
Invoker(IConfiguration configuration, ITestContext testContext, ITestResultNotifier notifier, SuiteRunState state, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, DataProviderHolder holder, IConfigurationListener internalConfigurationListener, ISuiteRunnerListener suiteRunner)

Method Summary

Modifier and TypeMethod and Description
public IConfigInvoker
public ITestInvoker
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CAN_RUN_FROM_CLASSback to summary
pack-priv static final BiPredicate<ITestNGMethod, IClass> CAN_RUN_FROM_CLASS

Predicate to filter methods

m_configInvokerback to summary
private final ConfigInvoker m_configInvoker
m_testInvokerback to summary
private final TestInvoker m_testInvoker
SAME_CLASSback to summary
pack-priv static final BiPredicate<ITestNGMethod, IClass> SAME_CLASS

Predicate to filter methods

Constructor Detail

Invokerback to summary
public Invoker(IConfiguration configuration, ITestContext testContext, ITestResultNotifier notifier, SuiteRunState state, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, DataProviderHolder holder, IConfigurationListener internalConfigurationListener, ISuiteRunnerListener suiteRunner)

Method Detail

getConfigInvokerback to summary
public IConfigInvoker getConfigInvoker()

Implements org.testng.internal.invokers.IInvoker.getConfigInvoker.

getTestInvokerback to summary
public ITestInvoker getTestInvoker()

Implements org.testng.internal.invokers.IInvoker.getTestInvoker.