Package org.testng.internal
Interface IInvoker
-
- All Known Implementing Classes:
Invoker
public interface IInvoker
This class defines an invoker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IConfigInvoker
getConfigInvoker()
ITestInvoker
getTestInvoker()
void
invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.Object[] parameterValues, java.lang.Object instance)
Deprecated.- This method stands deprecated as of TestNG 7.0.0java.util.List<ITestResult>
invokeTestMethods(ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext testContext)
Deprecated.- This method stands deprecated as of TestNG 7.0.0
-
-
-
Method Detail
-
invokeConfigurations
@Deprecated void invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.Object[] parameterValues, java.lang.Object instance)
Deprecated.- This method stands deprecated as of TestNG 7.0.0Invoke configuration methods if they belong to the same TestClass passed in parameter..TODO: Calculate ahead of time which methods should be invoked for each class. Might speed things up for users who invoke the same test class with different parameters in the same suite run.
- Parameters:
testClass
- the class whose configuration methods must be run
-
invokeTestMethods
@Deprecated java.util.List<ITestResult> invokeTestMethods(ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext testContext)
Deprecated.- This method stands deprecated as of TestNG 7.0.0Invoke the given method- Returns:
- a list containing the results of the test methods invocations
-
getTestInvoker
ITestInvoker getTestInvoker()
-
getConfigInvoker
IConfigInvoker getConfigInvoker()
-
-