Uses of Interface
org.testng.ITestNGMethod

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

Uses of ITestNGMethod in org.testng
 

Methods in org.testng that return ITestNGMethod
 ITestNGMethod ITestNGMethod.clone()
           
static ITestNGMethod TestNGUtils.createITestNGMethod(ITestNGMethod existingMethod, Method method)
          Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.
 ITestNGMethod[] ITestClass.getAfterClassMethods()
          Returns all the methods that should be invoked after all the tests have been run on this class.
 ITestNGMethod[] ITestMethodFinder.getAfterClassMethods(Class cls)
           
 ITestNGMethod[] ITestMethodFinder.getAfterGroupsConfigurationMethods(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(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(Class testClass)
           
 ITestNGMethod[] ITestClass.getAfterTestMethods()
          Returns all the methods that should be invoked after a test method completes.
 ITestNGMethod[] ITestMethodFinder.getAfterTestMethods(Class cls)
           
 ITestNGMethod[] TestRunner.getAllTestMethods()
           
protected  ITestNGMethod[] TestListenerAdapter.getAllTestMethods()
           
 ITestNGMethod[] ITestContext.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(Class cls)
           
 ITestNGMethod[] ITestMethodFinder.getBeforeGroupsConfigurationMethods(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(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(Class testClass)
           
 ITestNGMethod[] ITestClass.getBeforeTestMethods()
          Returns all the methods that should be invoked before a test method is invoked.
 ITestNGMethod[] ITestMethodFinder.getBeforeTestMethods(Class cls)
           
 ITestNGMethod ITestResult.getMethod()
           
 ITestNGMethod IMethodInstance.getMethod()
           
 ITestNGMethod DependencyMap.getMethodDependingOn(String methodName, ITestNGMethod fromMethod)
           
 ITestNGMethod IInvokedMethod.getTestMethod()
           
 ITestNGMethod[] ITestClass.getTestMethods()
          Returns all the applicable test methods.
 ITestNGMethod[] ITestMethodFinder.getTestMethods(Class cls, XmlTest xmlTest)
           
 

Methods in org.testng that return types with arguments of type ITestNGMethod
 List<org.testng.internal.thread.graph.IWorker<ITestNGMethod>> TestRunner.createWorkers(List<ITestNGMethod> methods)
          Create a list of workers to run the methods passed in parameter.
 List<ITestNGMethod> SuiteRunner.getAllMethods()
           
 List<ITestNGMethod> ISuite.getAllMethods()
           
 Collection<ITestNGMethod> IResultMap.getAllMethods()
           
 Collection<ITestNGMethod> TestRunner.getExcludedMethods()
           
 Collection<ITestNGMethod> SuiteRunner.getExcludedMethods()
           
 Collection<ITestNGMethod> ITestContext.getExcludedMethods()
           
 Collection<ITestNGMethod> ISuite.getExcludedMethods()
           
 List<ITestNGMethod> TestRunner.getInvokedMethods()
           
 Collection<ITestNGMethod> SuiteRunner.getInvokedMethods()
           
 Collection<ITestNGMethod> ISuite.getInvokedMethods()
          Deprecated. Use getAllInvokedMthods().
 Map<String,Collection<ITestNGMethod>> SuiteRunner.getMethodsByGroups()
           
 Map<String,Collection<ITestNGMethod>> ISuite.getMethodsByGroups()
          Retrieves the map of groups and their associated test methods.
 List<ITestNGMethod> DependencyMap.getMethodsThatBelongTo(String group, ITestNGMethod fromMethod)
           
 

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)
           
static ITestNGMethod TestNGUtils.createITestNGMethod(ITestNGMethod existingMethod, Method method)
          Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.
 Set<ITestResult> TestRunner.getFailedTests(ITestNGMethod tm)
           
 ITestNGMethod DependencyMap.getMethodDependingOn(String methodName, ITestNGMethod fromMethod)
           
 List<ITestNGMethod> DependencyMap.getMethodsThatBelongTo(String group, ITestNGMethod fromMethod)
           
 Set<ITestResult> TestRunner.getPassedTests(ITestNGMethod tm)
           
 Set<ITestResult> IResultMap.getResults(ITestNGMethod method)
           
 Set<ITestResult> TestRunner.getSkippedTests(ITestNGMethod tm)
           
 boolean IMethodSelector.includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod)
           
 boolean ClassMethodMap.removeAndCheckIfLast(ITestNGMethod m, Object instance)
          Remove the method from this map and returns true if it is the last of its class.
 void IResultMap.removeResult(ITestNGMethod m)
           
 

Method parameters in org.testng with type arguments of type ITestNGMethod
 List<org.testng.internal.thread.graph.IWorker<ITestNGMethod>> TestRunner.createWorkers(List<ITestNGMethod> methods)
          Create a list of workers to run the methods passed in parameter.
 void TestListenerAdapter.setAllTestMethods(List<ITestNGMethod> allTestMethods)
           
 void IMethodSelector.setTestMethods(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
DependencyMap(ITestNGMethod[] methods)
           
 

Constructor parameters in org.testng with type arguments of type ITestNGMethod
ClassMethodMap(List<ITestNGMethod> methods, org.testng.internal.XmlMethodSelector xmlMethodSelector)
           
 

Uses of ITestNGMethod in org.testng.internal
 

Classes in org.testng.internal that implement ITestNGMethod
 class org.testng.internal.BaseTestMethod
           
 

Uses of ITestNGMethod in org.testng.junit
 

Classes in org.testng.junit that implement ITestNGMethod
 class JUnit3TestMethod
           
 class JUnit4TestMethod
           
 class JUnitTestMethod
           
 

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

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

Uses of ITestNGMethod in org.testng.reporters
 

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

Uses of ITestNGMethod in org.testng.reporters.util
 

Methods in org.testng.reporters.util with parameters of type ITestNGMethod
static StackTraceElement[] StackTraceTools.getTestNGInstrastructure(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(StackTraceElement[] stack, ITestNGMethod method)
          Finds topmost position of the test method in the stack, or top of stack if method is not in it.
 



Copyright © 2015. All Rights Reserved.