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 Modifier and Type Method Description 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)
Invoke configuration methods if they belong to the same TestClass passed in parameter..java.util.List<ITestResult>
invokeTestMethods(ITestNGMethod testMethod, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext testContext)
Invoke the given method
-
-
-
Method Detail
-
invokeConfigurations
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)
Invoke 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
java.util.List<ITestResult> invokeTestMethods(ITestNGMethod testMethod, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext testContext)
Invoke the given method- Parameters:
testMethod
-suite
-parameters
-groupMethods
-- Returns:
- a list containing the results of the test methods invocations
-
-