| org.testng.internal.IInvoker
All known Subclasses: org.testng.internal.Invoker,
IInvoker | public interface IInvoker (Code) | | This class defines an invoker.
author: Cedric Beust |
Method Summary | |
public void | invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, Map<String, String> parameters, 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. | public List<ITestResult> | invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int methodIndex, XmlSuite suite, Map<String, String> parameters, ConfigurationGroupMethods groupMethods, Object[] instances, ITestContext testContext) |
invokeConfigurations | public void invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, Map<String, String> parameters, Object instance)(Code) | | 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 | public List<ITestResult> invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int methodIndex, XmlSuite suite, Map<String, String> parameters, ConfigurationGroupMethods groupMethods, Object[] instances, ITestContext testContext)(Code) | | Invoke the given method
Parameters: testMethod - Parameters: allTestMethods - The list of all the test methods Parameters: methodIndex - The index of testMethod in the allTestMethods array Parameters: suite - Parameters: parameters - Parameters: groupMethods - a list containing the results of the test methods invocations |
|
|