Uses of Interface
org.testng.ITestNGMethod

Packages that use ITestNGMethod
org.testng   
org.testng.internal   
org.testng.internal.annotations   
org.testng.junit   
org.testng.reporters   
org.testng.reporters.util   
org.testng.v6   
 

Uses of ITestNGMethod in org.testng
 

Methods in org.testng that return ITestNGMethod
 ITestNGMethod ITestNGMethod.clone()
           
 ITestNGMethod[] ITestClass.getAfterClassMethods()
          Returns all the methods that should be invoked after all the tests have been run on this class.
 ITestNGMethod[] ITestMethodFinder.getAfterClassMethods(java.lang.Class cls)
           
 ITestNGMethod[] ITestMethodFinder.getAfterGroupsConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] ITestClass.getAfterGroupsMethods()
          Returns all @Configuration methods that should be invoked after certain groups.
 ITestNGMethod[] TestRunner.getAfterSuiteMethods()
           
 ITestNGMethod[] ITestClass.getAfterSuiteMethods()
          Returns all the methods that should be invoked after the suite has run.
 ITestNGMethod[] ITestMethodFinder.getAfterSuiteMethods(java.lang.Class cls)
           
 ITestNGMethod[] TestRunner.getAfterTestConfigurationMethods()
           
 ITestNGMethod[] ITestClass.getAfterTestConfigurationMethods()
          Returns all @Configuration methods that should be invoked last before any others in the current test.
 ITestNGMethod[] ITestMethodFinder.getAfterTestConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] ITestClass.getAfterTestMethods()
          Returns all the methods that should be invoked after a test method completes.
 ITestNGMethod[] ITestMethodFinder.getAfterTestMethods(java.lang.Class cls)
           
 ITestNGMethod[] TestRunner.getAllTestMethods()
           
 ITestNGMethod[] ITestContext.getAllTestMethods()
           
protected  ITestNGMethod[] TestListenerAdapter.getAllTestMethods()
           
 ITestNGMethod[] ITestClass.getBeforeClassMethods()
          Return all the methods that should be invoked after the test class has been created and before any of its test methods is invoked.
 ITestNGMethod[] ITestMethodFinder.getBeforeClassMethods(java.lang.Class cls)
           
 ITestNGMethod[] ITestMethodFinder.getBeforeGroupsConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] ITestClass.getBeforeGroupsMethods()
          Returns all @Configuration methods that should be invoked before certain groups.
 ITestNGMethod[] TestRunner.getBeforeSuiteMethods()
           
 ITestNGMethod[] ITestClass.getBeforeSuiteMethods()
          Returns All the methods that should be invoked before the suite is run.
 ITestNGMethod[] ITestMethodFinder.getBeforeSuiteMethods(java.lang.Class cls)
           
 ITestNGMethod[] TestRunner.getBeforeTestConfigurationMethods()
           
 ITestNGMethod[] ITestClass.getBeforeTestConfigurationMethods()
          Returns all @Configuration methods that should be invoked before any others in the current test.
 ITestNGMethod[] ITestMethodFinder.getBeforeTestConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] ITestClass.getBeforeTestMethods()
          Returns all the methods that should be invoked before a test method is invoked.
 ITestNGMethod[] ITestMethodFinder.getBeforeTestMethods(java.lang.Class cls)
           
 ITestNGMethod ITestResult.getMethod()
           
 ITestNGMethod IMethodInstance.getMethod()
           
 ITestNGMethod[] ITestClass.getTestMethods()
          Returns all the applicable test methods.
 ITestNGMethod[] ITestMethodFinder.getTestMethods(java.lang.Class cls)
           
 

Methods in org.testng that return types with arguments of type ITestNGMethod
 java.util.Collection<ITestNGMethod> IResultMap.getAllMethods()
           
 java.util.Collection<ITestNGMethod> ISuite.getExcludedMethods()
           
 java.util.Collection<ITestNGMethod> SuiteRunner.getExcludedMethods()
           
 java.util.Collection<ITestNGMethod> TestRunner.getExcludedMethods()
           
 java.util.Collection<ITestNGMethod> ITestContext.getExcludedMethods()
           
 java.util.Collection<ITestNGMethod> ISuite.getInvokedMethods()
          Retrieves the list of all the methods that were invoked during this run.
 java.util.Collection<ITestNGMethod> SuiteRunner.getInvokedMethods()
           
 java.util.List<ITestNGMethod> TestRunner.getInvokedMethods()
           
 java.util.Map<java.lang.String,java.util.Collection<ITestNGMethod>> ISuite.getMethodsByGroups()
          Retrieves the map of groups and their associated test methods.
 java.util.Map<java.lang.String,java.util.Collection<ITestNGMethod>> SuiteRunner.getMethodsByGroups()
           
 

Methods in org.testng with parameters of type ITestNGMethod
 void TestRunner.addFailedButWithinSuccessPercentageTest(ITestNGMethod testMethod, ITestResult result)
           
 void TestRunner.addFailedTest(ITestNGMethod testMethod, ITestResult result)
           
 void TestRunner.addPassedTest(ITestNGMethod tm, ITestResult tr)
           
 void IResultMap.addResult(ITestResult result, ITestNGMethod method)
           
 void TestRunner.addSkippedTest(ITestNGMethod tm, ITestResult tr)
           
 java.util.Set<ITestResult> TestRunner.getPassedTests(ITestNGMethod tm)
           
 java.util.Set<ITestResult> IResultMap.getResults(ITestNGMethod method)
           
 boolean IMethodSelector.includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod)
           
 boolean ClassMethodMap.removeAndCheckIfLast(ITestNGMethod m)
          Remove the method from this map and returns true if it is the last of its class.
 

Method parameters in org.testng with type arguments of type ITestNGMethod
 void TestListenerAdapter.setAllTestMethods(java.util.List<ITestNGMethod> allTestMethods)
           
 void IMethodSelector.setTestMethods(java.util.List<ITestNGMethod> testMethods)
          Invoked when all the test methods are known so that the method selector can perform additional work, such as adding the transitive closure of all the groups being included and depended upon.
 

Constructors in org.testng with parameters of type ITestNGMethod
ClassMethodMap(ITestNGMethod[] methods)
           
 

Uses of ITestNGMethod in org.testng.internal
 

Classes in org.testng.internal that implement ITestNGMethod
 class BaseTestMethod
          Superclass to represent both @Test and @Configuration methods.
 class ConfigurationMethod
           
 class FactoryMethod
          This class represents a method annotated with @Factory
 class TestNGMethod
          This class represents a test method.
 

Fields in org.testng.internal declared as ITestNGMethod
protected  ITestNGMethod[] NoOpTestClass.m_afterClassMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_afterGroupsMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_afterSuiteMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_afterTestConfMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_afterTestMethods
           
protected  ITestNGMethod[] TestMethodWorker.m_allTestMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_beforeClassMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_beforeGroupsMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_beforeSuiteMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_beforeTestConfMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_beforeTestMethods
           
protected  ITestNGMethod[] NoOpTestClass.m_testMethods
           
 

Fields in org.testng.internal with type parameters of type ITestNGMethod
static java.util.Comparator<ITestNGMethod> TestNGMethod.SORT_BY_CLASS
          Sorts ITestNGMethod by Class name.
 

Methods in org.testng.internal that return ITestNGMethod
abstract  ITestNGMethod BaseTestMethod.clone()
           
 ITestNGMethod FactoryMethod.clone()
           
static ITestNGMethod[] MethodHelper.collectAndOrderConfigurationMethods(java.util.List<ITestNGMethod> methods, RunInfo runInfo, IAnnotationFinder finder, boolean unique, java.util.List<ITestNGMethod> outExcludedMethods)
           
static ITestNGMethod[] MethodHelper.collectAndOrderMethods(java.util.List<ITestNGMethod> methods, RunInfo runInfo, IAnnotationFinder finder, java.util.List<ITestNGMethod> outExcludedMethods)
           
static ITestNGMethod[] ConfigurationMethod.createAfterConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createBeforeConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createClassConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createSuiteConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createTestConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createTestMethodConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] MethodHelper.findMethodsNamed(java.lang.String mainMethod, ITestNGMethod[] methods, java.lang.String[] regexps)
           
static ITestNGMethod[] MethodHelper.findMethodsThatBelongToGroup(ITestNGMethod method, ITestNGMethod[] methods, java.lang.String groupRegexp)
           
static ITestNGMethod[] MethodHelper.findMethodsThatBelongToGroup(ITestNGMethod method, java.util.List<ITestNGMethod> methods, java.lang.String groupRegexp)
           
 ITestNGMethod[] NoOpTestClass.getAfterClassMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getAfterClassMethods(java.lang.Class cls)
           
 ITestNGMethod[] TestNGMethodFinder.getAfterGroupsConfigurationMethods(java.lang.Class clazz)
           
 ITestNGMethod[] NoOpTestClass.getAfterGroupsMethods()
           
 ITestNGMethod[] NoOpTestClass.getAfterSuiteMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getAfterSuiteMethods(java.lang.Class cls)
           
 ITestNGMethod[] NoOpTestClass.getAfterTestConfigurationMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getAfterTestConfigurationMethods(java.lang.Class clazz)
           
 ITestNGMethod[] NoOpTestClass.getAfterTestMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getAfterTestMethods(java.lang.Class cls)
           
 ITestNGMethod[] NoOpTestClass.getBeforeClassMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getBeforeClassMethods(java.lang.Class cls)
           
 ITestNGMethod[] TestNGMethodFinder.getBeforeGroupsConfigurationMethods(java.lang.Class clazz)
           
 ITestNGMethod[] NoOpTestClass.getBeforeGroupsMethods()
           
 ITestNGMethod[] NoOpTestClass.getBeforeSuiteMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getBeforeSuiteMethods(java.lang.Class cls)
           
 ITestNGMethod[] NoOpTestClass.getBeforeTestConfigurationMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getBeforeTestConfigurationMethods(java.lang.Class clazz)
           
 ITestNGMethod[] NoOpTestClass.getBeforeTestMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getBeforeTestMethods(java.lang.Class cls)
           
 ITestNGMethod MethodInstance.getMethod()
           
 ITestNGMethod TestResult.getMethod()
           
 ITestNGMethod InvokedMethod.getTestMethod()
           
 ITestNGMethod[] NoOpTestClass.getTestMethods()
           
 ITestNGMethod[] TestNGMethodFinder.getTestMethods(java.lang.Class clazz)
           
 

Methods in org.testng.internal that return types with arguments of type ITestNGMethod
static java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> MethodHelper.findGroupsMethods(java.util.Collection<ITestClass> classes, boolean before)
          Extracts the map of groups and their corresponding methods from the classes.
 java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> ConfigurationGroupMethods.getAfterGroupsMap()
           
 java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> ConfigurationGroupMethods.getAfterGroupsMethods()
           
 java.util.Collection<ITestNGMethod> ResultMap.getAllMethods()
           
 java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> ConfigurationGroupMethods.getBeforeGroupsMap()
           
 java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> ConfigurationGroupMethods.getBeforeGroupsMethods()
           
static java.util.List<ITestNGMethod> MethodHelper.getMethodsDependedUpon(ITestNGMethod method, ITestNGMethod[] methods)
           
static Graph<ITestNGMethod> MethodHelper.topologicalSort(ITestNGMethod[] methods, java.util.List<ITestNGMethod> sequentialList, java.util.List<ITestNGMethod> parallelList)
           
static java.util.List<ITestNGMethod> MethodHelper.uniqueMethodList(java.util.Collection<java.util.List<ITestNGMethod>> methods)
          Extracts the unique list of ITestNGMethods.
 

Methods in org.testng.internal with parameters of type ITestNGMethod
 void ITestResultNotifier.addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr)
           
 void ITestResultNotifier.addFailedTest(ITestNGMethod tm, ITestResult tr)
           
 void ITestResultNotifier.addPassedTest(ITestNGMethod tm, ITestResult tr)
           
 void ResultMap.addResult(ITestResult result, ITestNGMethod method)
           
 void ITestResultNotifier.addSkippedTest(ITestNGMethod tm, ITestResult tr)
           
static int Utils.calculateInvokedMethodCount(ITestNGMethod[] methods)
           
static java.lang.String MethodHelper.calculateMethodCanonicalName(ITestNGMethod m)
           
static ITestNGMethod[] ConfigurationMethod.createAfterConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createBeforeConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createClassConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static java.lang.Object[] Parameters.createConfigurationParameters(java.lang.reflect.Method m, java.util.Map<java.lang.String,java.lang.String> params, ITestNGMethod currentTestMethod, IAnnotationFinder finder, XmlSuite xmlSuite, ITestContext ctx)
          Creates the parameters needed for the specified @Configuration Method.
static ITestNGMethod[] ConfigurationMethod.createSuiteConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createTestConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static ITestNGMethod[] ConfigurationMethod.createTestMethodConfigurationMethods(ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore)
           
static java.lang.String Utils.detailedMethodName(ITestNGMethod method, boolean fqn)
           
static ITestNGMethod[] MethodHelper.findMethodsNamed(java.lang.String mainMethod, ITestNGMethod[] methods, java.lang.String[] regexps)
           
static ITestNGMethod[] MethodHelper.findMethodsThatBelongToGroup(ITestNGMethod method, ITestNGMethod[] methods, java.lang.String groupRegexp)
           
static ITestNGMethod[] MethodHelper.findMethodsThatBelongToGroup(ITestNGMethod method, ITestNGMethod[] methods, java.lang.String groupRegexp)
           
static ITestNGMethod[] MethodHelper.findMethodsThatBelongToGroup(ITestNGMethod method, java.util.List<ITestNGMethod> methods, java.lang.String groupRegexp)
           
static void MethodInheritance.fixMethodInheritance(ITestNGMethod[] methods, boolean baseClassToChild)
          Fix the methodsDependedUpon to make sure that @Configuration methods respect inheritance (before methods are invoked in the order Base first and after methods are invoked in the order Child first)
static java.util.List<ITestNGMethod> MethodHelper.getMethodsDependedUpon(ITestNGMethod method, ITestNGMethod[] methods)
           
static java.util.List<ITestNGMethod> MethodHelper.getMethodsDependedUpon(ITestNGMethod method, ITestNGMethod[] methods)
           
 java.util.Set<ITestResult> ITestResultNotifier.getPassedTests(ITestNGMethod tm)
           
 java.util.Set<ITestResult> ResultMap.getResults(ITestNGMethod method)
           
static java.util.Iterator<java.lang.Object[]> Parameters.handleParameters(ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance)
          If the method has parameters, fill them in.
 boolean XmlMethodSelector.includeMethod(IMethodSelectorContext context, ITestNGMethod tm, boolean isTestMethod)
           
 boolean RunInfo.includeMethod(ITestNGMethod tm, boolean isTestMethod)
           
protected  int TestMethodWorker.indexOf(ITestNGMethod tm, ITestNGMethod[] allTestMethods)
           
protected  int TestMethodWorker.indexOf(ITestNGMethod tm, ITestNGMethod[] allTestMethods)
           
 void IInvoker.invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.Object instance)
          Invoke configuration methods if they belong to the same TestClass passed in parameter..
 void Invoker.invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object instance)
          Invoke configuration methods if they belong to the same TestClass passed in parameter..
static java.util.Iterator<java.lang.Object[]> MethodHelper.invokeDataProvider(java.lang.Object instance, java.lang.reflect.Method dataProvider, ITestNGMethod method, ITestContext testContext, java.lang.Object fedInstance, IAnnotationFinder annotationFinder)
           
 java.util.List<ITestResult> IInvoker.invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int methodIndex, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object[] instances, ITestContext testContext)
          Invoke the given method
 java.util.List<ITestResult> IInvoker.invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int methodIndex, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object[] instances, ITestContext testContext)
          Invoke the given method
 java.util.List<ITestResult> Invoker.invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int testMethodIndex, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object[] instances, ITestContext testContext)
          Invoke all the test methods.
 java.util.List<ITestResult> Invoker.invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int testMethodIndex, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object[] instances, ITestContext testContext)
          Invoke all the test methods.
protected  void TestMethodWorker.invokeTestMethods(ITestNGMethod tm, java.lang.Object[] instances, ITestContext testContext)
           
static void MethodHelper.invokeWithTimeout(ITestNGMethod tm, java.lang.Object instance, java.lang.Object[] parameterValues, ITestResult testResult)
          Invokes a method on a separate thread in order to allow us to timeout the invocation.
 boolean ConfigurationGroupMethods.isLastMethodForGroup(java.lang.String group, ITestNGMethod method)
           
 void ConfigurationGroupMethods.removeBeforeMethod(java.lang.String group, ITestNGMethod method)
           
 void NoOpTestClass.setAfterTestMethod(ITestNGMethod[] afterTestMethods)
           
 void TestMethodWorker.setAllTestMethods(ITestNGMethod[] allTestMethods)
           
 void NoOpTestClass.setBeforeTestMethods(ITestNGMethod[] beforeTestMethods)
           
 void TestResult.setMethod(ITestNGMethod method)
           
static Graph<ITestNGMethod> MethodHelper.topologicalSort(ITestNGMethod[] methods, java.util.List<ITestNGMethod> sequentialList, java.util.List<ITestNGMethod> parallelList)
           
 

Method parameters in org.testng.internal with type arguments of type ITestNGMethod
static ITestNGMethod[] MethodHelper.collectAndOrderConfigurationMethods(java.util.List<ITestNGMethod> methods, RunInfo runInfo, IAnnotationFinder finder, boolean unique, java.util.List<ITestNGMethod> outExcludedMethods)
           
static ITestNGMethod[] MethodHelper.collectAndOrderConfigurationMethods(java.util.List<ITestNGMethod> methods, RunInfo runInfo, IAnnotationFinder finder, boolean unique, java.util.List<ITestNGMethod> outExcludedMethods)
           
static ITestNGMethod[] MethodHelper.collectAndOrderMethods(java.util.List<ITestNGMethod> methods, RunInfo runInfo, IAnnotationFinder finder, java.util.List<ITestNGMethod> outExcludedMethods)
           
static ITestNGMethod[] MethodHelper.collectAndOrderMethods(java.util.List<ITestNGMethod> methods, RunInfo runInfo, IAnnotationFinder finder, java.util.List<ITestNGMethod> outExcludedMethods)
           
static void Utils.dumpMethods(java.util.List<ITestNGMethod> allMethods)
           
static void MethodHelper.findGroupTransitiveClosure(XmlMethodSelector xms, java.util.List<ITestNGMethod> includedMethods, java.util.List<ITestNGMethod> allMethods, java.lang.String[] includedGroups, java.util.Set<java.lang.String> outGroups, java.util.Set<ITestNGMethod> outMethods)
           
static void MethodHelper.findGroupTransitiveClosure(XmlMethodSelector xms, java.util.List<ITestNGMethod> includedMethods, java.util.List<ITestNGMethod> allMethods, java.lang.String[] includedGroups, java.util.Set<java.lang.String> outGroups, java.util.Set<ITestNGMethod> outMethods)
           
static void MethodHelper.findGroupTransitiveClosure(XmlMethodSelector xms, java.util.List<ITestNGMethod> includedMethods, java.util.List<ITestNGMethod> allMethods, java.lang.String[] includedGroups, java.util.Set<java.lang.String> outGroups, java.util.Set<ITestNGMethod> outMethods)
           
static ITestNGMethod[] MethodHelper.findMethodsThatBelongToGroup(ITestNGMethod method, java.util.List<ITestNGMethod> methods, java.lang.String groupRegexp)
           
 void XmlMethodSelector.setTestMethods(java.util.List<ITestNGMethod> testMethods)
           
 void RunInfo.setTestMethods(java.util.List<ITestNGMethod> testMethods)
           
 void MethodSelectorDescriptor.setTestMethods(java.util.List<ITestNGMethod> testMethods)
           
static Graph<ITestNGMethod> MethodHelper.topologicalSort(ITestNGMethod[] methods, java.util.List<ITestNGMethod> sequentialList, java.util.List<ITestNGMethod> parallelList)
           
static Graph<ITestNGMethod> MethodHelper.topologicalSort(ITestNGMethod[] methods, java.util.List<ITestNGMethod> sequentialList, java.util.List<ITestNGMethod> parallelList)
           
static java.util.List<ITestNGMethod> MethodHelper.uniqueMethodList(java.util.Collection<java.util.List<ITestNGMethod>> methods)
          Extracts the unique list of ITestNGMethods.
 

Constructors in org.testng.internal with parameters of type ITestNGMethod
ConfigurationGroupMethods(ITestNGMethod[] allMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> beforeGroupsMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> afterGroupsMethods)
           
InvokedMethod(java.lang.Object instance, ITestNGMethod method, java.lang.Object[] parameters, boolean isTest, boolean isConfiguration, long date)
           
InvokeMethodRunnable(ITestNGMethod thisMethod, java.lang.Object instance, java.lang.Object[] parameters)
           
MethodInstance(ITestNGMethod method, java.lang.Object[] instances)
           
TestMethodWorker(IInvoker invoker, IMethodInstance[] testMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ITestNGMethod[] allTestMethods, ConfigurationGroupMethods groupMethods, ClassMethodMap classMethodMap, ITestContext testContext)
           
TestResult(IClass testClass, java.lang.Object instance, ITestNGMethod method, java.lang.Throwable throwable, long start, long end)
           
 

Constructor parameters in org.testng.internal with type arguments of type ITestNGMethod
ConfigurationGroupMethods(ITestNGMethod[] allMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> beforeGroupsMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> afterGroupsMethods)
           
ConfigurationGroupMethods(ITestNGMethod[] allMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> beforeGroupsMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> afterGroupsMethods)
           
 

Uses of ITestNGMethod in org.testng.internal.annotations
 

Methods in org.testng.internal.annotations that return ITestNGMethod
static ITestNGMethod[] AnnotationHelper.findMethodsWithAnnotation(java.lang.Class rootClass, java.lang.Class annotationClass, IAnnotationFinder annotationFinder)
          Delegation method for creating the list of ITestMethods to be analysed.
 

Uses of ITestNGMethod in org.testng.junit
 

Classes in org.testng.junit that implement ITestNGMethod
static class JUnitUtils.JUnitTestMethod
          An ITestNMethod implementation for test methods in JUnit.
 

Methods in org.testng.junit that return ITestNGMethod
 ITestNGMethod JUnitUtils.JUnitTestMethod.clone()
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getAfterClassMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getAfterClassMethods(java.lang.Class cls)
           
 ITestNGMethod[] JUnitMethodFinder.getAfterGroupsConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getAfterGroupsMethods()
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getAfterSuiteMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getAfterSuiteMethods(java.lang.Class cls)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getAfterTestConfigurationMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getAfterTestConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getAfterTestMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getAfterTestMethods(java.lang.Class cls)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getBeforeClassMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getBeforeClassMethods(java.lang.Class cls)
           
 ITestNGMethod[] JUnitMethodFinder.getBeforeGroupsConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getBeforeGroupsMethods()
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getBeforeSuiteMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getBeforeSuiteMethods(java.lang.Class cls)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getBeforeTestConfigurationMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getBeforeTestConfigurationMethods(java.lang.Class testClass)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getBeforeTestMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getBeforeTestMethods(java.lang.Class cls)
           
 ITestNGMethod[] JUnitUtils.JUnitTestClass.getTestMethods()
           
 ITestNGMethod[] JUnitMethodFinder.getTestMethods(java.lang.Class cls)
           
 

Methods in org.testng.junit that return types with arguments of type ITestNGMethod
 java.util.List<ITestNGMethod> IJUnitTestRunner.getTestMethods()
           
 java.util.List<ITestNGMethod> JUnitTestRunner.getTestMethods()
          Needed from TestRunner in order to figure out what JUnit test methods were run.
 

Uses of ITestNGMethod in org.testng.reporters
 

Methods in org.testng.reporters with parameters of type ITestNGMethod
protected  void EmailableReporter.generateExceptionReport(java.lang.Throwable exception, ITestNGMethod method)
           
 

Uses of ITestNGMethod in org.testng.reporters.util
 

Methods in org.testng.reporters.util with parameters of type ITestNGMethod
static java.lang.StackTraceElement[] StackTraceTools.getTestNGInstrastructure(java.lang.StackTraceElement[] stack, ITestNGMethod method)
          Finds topmost position of the test method in the stack, or top of stack if method is not in it.
static int StackTraceTools.getTestRoot(java.lang.StackTraceElement[] stack, ITestNGMethod method)
          Finds topmost position of the test method in the stack, or top of stack if method is not in it.
 

Uses of ITestNGMethod in org.testng.v6
 

Methods in org.testng.v6 that return ITestNGMethod
 ITestNGMethod Operation.getMethod()
           
 

Constructors in org.testng.v6 with parameters of type ITestNGMethod
Operation(ITestNGMethod method, int threadAffinity, IRunGroupFactory runGroupFactory, XmlTest xmlTest)
           
Operation(ITestNGMethod method, IRunGroupFactory runGroupFactory, XmlTest xmlTest)
           
TestPlan(java.util.List<java.util.List<ITestNGMethod>> sequentialList, java.util.List<ITestNGMethod> parallelList, ClassMethodMap cmm, ITestNGMethod[] beforeSuiteMethods, ITestNGMethod[] afterSuiteMethods, ConfigurationGroupMethods groupMethods, XmlTest xmlTest)
           
TestPlan(java.util.List<java.util.List<ITestNGMethod>> sequentialList, java.util.List<ITestNGMethod> parallelList, ClassMethodMap cmm, ITestNGMethod[] beforeSuiteMethods, ITestNGMethod[] afterSuiteMethods, ConfigurationGroupMethods groupMethods, XmlTest xmlTest)
           
 

Constructor parameters in org.testng.v6 with type arguments of type ITestNGMethod
TestPlan(java.util.List<java.util.List<ITestNGMethod>> sequentialList, java.util.List<ITestNGMethod> parallelList, ClassMethodMap cmm, ITestNGMethod[] beforeSuiteMethods, ITestNGMethod[] afterSuiteMethods, ConfigurationGroupMethods groupMethods, XmlTest xmlTest)
           
TestPlan(java.util.List<java.util.List<ITestNGMethod>> sequentialList, java.util.List<ITestNGMethod> parallelList, ClassMethodMap cmm, ITestNGMethod[] beforeSuiteMethods, ITestNGMethod[] afterSuiteMethods, ConfigurationGroupMethods groupMethods, XmlTest xmlTest)
           
 



Copyright © 2010. All Rights Reserved.