Top Fields Constructors Methods
org.testng.internal.invokers

public Class TestMethodWithDataProviderMethodWorker

extends Object
implements Callable<List<ITestResult>>, Comparable<TestMethodWithDataProviderMethodWorker>
Class Inheritance
All Implemented Interfaces
java.lang.Comparable, java.util.concurrent.Callable
Imports
java.util.List, .Map, java.util.concurrent.Callable, org.testng.ITestClass, .ITestContext, .ITestNGMethod, .ITestResult, org.testng.collections.Lists, org.testng.internal.ConfigurationGroupMethods, .ITestResultNotifier, .TestResult, org.testng.internal.invokers.TestMethodArguments.Builder, org.testng.xml.XmlSuite

Field Summary

Modifier and TypeField and Description
private final ITestNGMethod[]
private final ITestNGMethod[]
private int
private final ConfigurationGroupMethods
private final Object
private int
private final ITestResultNotifier
private int
private final Map<String, String>
private final Object[]
private boolean
private final ITestClass
private final ITestContext
private final ITestInvoker
private final ITestNGMethod
private final List<ITestResult>

Constructor Summary

AccessConstructor and Description
public
TestMethodWithDataProviderMethodWorker(ITestInvoker testInvoker, ITestNGMethod testMethod, int parameterIndex, Object[] parameterValues, Object instance, Map<String, String> parameters, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods, ITestContext testContext, boolean skipFailedInvocationCounts, int invocationCount, int failureCount, ITestResultNotifier notifier)

Method Summary

Modifier and TypeMethod and Description
public List<ITestResult>
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.
public int
compareTo(TestMethodWithDataProviderMethodWorker
the object to be compared.
o
)

Implements java.lang.Comparable.compareTo.

Compares this object with the specified object for order.
public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

m_afterMethodsback to summary
private final ITestNGMethod[] m_afterMethods
m_beforeMethodsback to summary
private final ITestNGMethod[] m_beforeMethods
m_failureCountback to summary
private int m_failureCount
m_groupMethodsback to summary
private final ConfigurationGroupMethods m_groupMethods
m_instanceback to summary
private final Object m_instance
m_invocationCountback to summary
private int m_invocationCount
m_notifierback to summary
private final ITestResultNotifier m_notifier
m_parameterIndexback to summary
private int m_parameterIndex
m_parametersback to summary
private final Map<String, String> m_parameters
m_parameterValuesback to summary
private final Object[] m_parameterValues
m_skipFailedInvocationCountsback to summary
private boolean m_skipFailedInvocationCounts
m_testClassback to summary
private final ITestClass m_testClass
m_testContextback to summary
private final ITestContext m_testContext
m_testInvokerback to summary
private final ITestInvoker m_testInvoker
m_testMethodback to summary
private final ITestNGMethod m_testMethod
m_testResultsback to summary
private final List<ITestResult> m_testResults

Constructor Detail

TestMethodWithDataProviderMethodWorkerback to summary
public TestMethodWithDataProviderMethodWorker(ITestInvoker testInvoker, ITestNGMethod testMethod, int parameterIndex, Object[] parameterValues, Object instance, Map<String, String> parameters, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods, ITestContext testContext, boolean skipFailedInvocationCounts, int invocationCount, int failureCount, ITestResultNotifier notifier)

Method Detail

callback to summary
public List<ITestResult> call()

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:List<ITestResult>

computed result

Annotations
@Override
compareToback to summary
public int compareTo(TestMethodWithDataProviderMethodWorker o)

Implements java.lang.Comparable.compareTo.

Doc from java.lang.Comparable.compareTo.

Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

The implementor must ensure signum(x.compareTo(y)) == -signum(y.compareTo(x)) for all x and y. (This implies that x.compareTo(y) must throw an exception if and only if y.compareTo(x) throws an exception.)

The implementor must also ensure that the relation is transitive: (x.compareTo(y) > 0 && y.compareTo(z) > 0) implies x.compareTo(z) > 0.

Finally, the implementor must ensure that x.compareTo(y)==0 implies that signum(x.compareTo(z)) == signum(y.compareTo(z)), for all z.

Parameters
o:TestMethodWithDataProviderMethodWorker

the object to be compared.

Returns:int

a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Annotations
@Override
getInvocationCountback to summary
public int getInvocationCount()