|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ITestNGMethod | |
---|---|
org.testng | |
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[] |
ITestContext.getAllTestMethods()
|
ITestNGMethod[] |
TestRunner.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(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 |
IMethodInstance.getMethod()
|
ITestNGMethod |
ITestResult.getMethod()
|
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(Set<ITestNGMethod> methods)
Create a list of workers to run the methods passed in parameter. |
Collection<ITestNGMethod> |
IResultMap.getAllMethods()
|
Collection<ITestNGMethod> |
ITestContext.getExcludedMethods()
|
Collection<ITestNGMethod> |
TestRunner.getExcludedMethods()
|
Collection<ITestNGMethod> |
ISuite.getExcludedMethods()
|
Collection<ITestNGMethod> |
SuiteRunner.getExcludedMethods()
|
List<ITestNGMethod> |
TestRunner.getInvokedMethods()
|
Collection<ITestNGMethod> |
ISuite.getInvokedMethods()
Deprecated. Use getAllInvokedMthods(). |
Collection<ITestNGMethod> |
SuiteRunner.getInvokedMethods()
|
Map<String,Collection<ITestNGMethod>> |
ISuite.getMethodsByGroups()
Retrieves the map of groups and their associated test methods. |
Map<String,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)
|
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)
|
Set<ITestResult> |
TestRunner.getPassedTests(ITestNGMethod tm)
|
Set<ITestResult> |
IResultMap.getResults(ITestNGMethod method)
|
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(Set<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 | |
---|---|
ClassMethodMap(ITestNGMethod[] methods)
|
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 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> |
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |