Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.junit | |
org.testng.reporters | |
org.testng.reporters.util |
Modifier and Type | Method and Description |
---|---|
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[] |
ITestClass.getAfterSuiteMethods()
Returns all the methods that should be invoked
after the suite has run.
|
ITestNGMethod[] |
TestRunner.getAfterSuiteMethods() |
ITestNGMethod[] |
ITestMethodFinder.getAfterSuiteMethods(Class<?> cls) |
ITestNGMethod[] |
ITestClass.getAfterTestConfigurationMethods()
Returns all @Configuration methods that should be invoked last before any others
in the current test.
|
ITestNGMethod[] |
TestRunner.getAfterTestConfigurationMethods() |
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) |
protected ITestNGMethod[] |
TestListenerAdapter.getAllTestMethods() |
ITestNGMethod[] |
ITestContext.getAllTestMethods() |
ITestNGMethod[] |
TestRunner.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[] |
ITestClass.getBeforeSuiteMethods()
Returns All the methods that should be invoked
before the suite is run.
|
ITestNGMethod[] |
TestRunner.getBeforeSuiteMethods() |
ITestNGMethod[] |
ITestMethodFinder.getBeforeSuiteMethods(Class<?> cls) |
ITestNGMethod[] |
ITestClass.getBeforeTestConfigurationMethods()
Returns all @Configuration methods that should be invoked before any others in the
current test.
|
ITestNGMethod[] |
TestRunner.getBeforeTestConfigurationMethods() |
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
List<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.
|
Constructor and Description |
---|
DependencyMap(ITestNGMethod[] methods) |
Constructor and Description |
---|
ClassMethodMap(List<ITestNGMethod> methods,
XmlMethodSelector xmlMethodSelector) |
Modifier and Type | Class and Description |
---|---|
class |
BaseTestMethod
Superclass to represent both @Test and @Configuration methods.
|
class |
ClonedMethod |
class |
ConfigurationMethod |
class |
FactoryMethod
This class represents a method annotated with @Factory
|
class |
TestNGMethod
This class represents a test method.
|
Modifier and Type | Field and Description |
---|---|
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[] |
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 |
protected ITestNGMethod |
ExpectedExceptionsHolder.method |
Modifier and Type | Field and Description |
---|---|
static Comparator<ITestNGMethod> |
TestNGMethod.SORT_BY_CLASS
Sorts ITestNGMethod by Class name.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,List<ITestNGMethod>> |
MethodGroupsHelper.findGroupsMethods(Collection<ITestClass> classes,
boolean before)
Extracts the map of groups and their corresponding methods from the
classes . |
Map<String,List<ITestNGMethod>> |
ConfigurationGroupMethods.getAfterGroupsMap() |
Map<String,List<ITestNGMethod>> |
ConfigurationGroupMethods.getAfterGroupsMethods() |
Collection<ITestNGMethod> |
ResultMap.getAllMethods() |
Map<String,List<ITestNGMethod>> |
ConfigurationGroupMethods.getBeforeGroupsMap() |
Map<String,List<ITestNGMethod>> |
ConfigurationGroupMethods.getBeforeGroupsMethods() |
static List<ITestNGMethod> |
MethodHelper.getMethodsDependedUpon(ITestNGMethod method,
ITestNGMethod[] methods) |
List<ITestNGMethod> |
TestMethodWorker.getTasks() |
static List<ITestNGMethod> |
MethodHelper.uniqueMethodList(Collection<List<ITestNGMethod>> methods)
Extracts the unique list of
ITestNGMethod s. |
Modifier and Type | Method and Description |
---|---|
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) |
protected static String |
MethodHelper.calculateMethodCanonicalName(ITestNGMethod m) |
protected static long |
MethodHelper.calculateTimeOut(ITestNGMethod tm) |
static ITestNGMethod[] |
ConfigurationMethod.createAfterConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createBeforeConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createClassConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static Object[] |
Parameters.createConfigurationParameters(Method m,
Map<String,String> params,
Object[] parameterValues,
ITestNGMethod currentTestMethod,
IAnnotationFinder finder,
XmlSuite xmlSuite,
ITestContext ctx,
ITestResult testResult)
Creates the parameters needed for the specified @Configuration
Method . |
static ITestNGMethod[] |
ConfigurationMethod.createSuiteConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createTestConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static ITestNGMethod[] |
ConfigurationMethod.createTestMethodConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore,
Object instance) |
static String |
Utils.detailedMethodName(ITestNGMethod method,
boolean fqn) |
protected static ITestNGMethod[] |
MethodHelper.findDependedUponMethods(ITestNGMethod m,
ITestNGMethod[] methods)
Finds TestNG methods that the specified TestNG method depends upon
|
protected static ITestNGMethod[] |
MethodHelper.findDependedUponMethods(ITestNGMethod m,
ITestNGMethod[] methods)
Finds TestNG methods that the specified TestNG method depends upon
|
protected static ITestNGMethod[] |
MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod[] methods,
String groupRegexp) |
protected static ITestNGMethod[] |
MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod method,
ITestNGMethod[] methods,
String groupRegexp)
Only used if a group is missing to flag an error on that method
|
protected static ITestNGMethod[] |
MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod method,
ITestNGMethod[] methods,
String groupRegexp)
Only used if a group is missing to flag an error on that method
|
static void |
MethodInheritance.fixMethodInheritance(ITestNGMethod[] methods,
boolean before)
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)
|
Set<ITestResult> |
ITestResultNotifier.getFailedTests(ITestNGMethod tm) |
static List<ITestNGMethod> |
MethodHelper.getMethodsDependedUpon(ITestNGMethod method,
ITestNGMethod[] methods) |
static List<ITestNGMethod> |
MethodHelper.getMethodsDependedUpon(ITestNGMethod method,
ITestNGMethod[] methods) |
Set<ITestResult> |
ITestResultNotifier.getPassedTests(ITestNGMethod tm) |
Set<ITestResult> |
ResultMap.getResults(ITestNGMethod method) |
Set<ITestResult> |
ITestResultNotifier.getSkippedTests(ITestNGMethod tm) |
static ParameterHolder |
Parameters.handleParameters(ITestNGMethod testMethod,
Map<String,String> allParameterNames,
Object instance,
Parameters.MethodParameters methodParams,
XmlSuite xmlSuite,
IAnnotationFinder annotationFinder,
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) |
boolean |
Bsh.includeMethodFromExpression(String expression,
ITestNGMethod tm) |
boolean |
IBsh.includeMethodFromExpression(String expression,
ITestNGMethod tm) |
boolean |
BshMock.includeMethodFromExpression(String expression,
ITestNGMethod tm) |
protected int |
TestMethodWorker.indexOf(ITestNGMethod tm,
ITestNGMethod[] allTestMethods) |
protected int |
TestMethodWorker.indexOf(ITestNGMethod tm,
ITestNGMethod[] allTestMethods) |
void |
TestResult.init(IClass testClass,
Object instance,
ITestNGMethod method,
Throwable throwable,
long start,
long end,
ITestContext context) |
void |
Invoker.invokeConfigurations(IClass testClass,
ITestNGMethod[] allMethods,
XmlSuite suite,
Map<String,String> params,
Object[] parameterValues,
Object instance)
Invoke configuration methods if they belong to the same TestClass passed
in parameter..
|
void |
IInvoker.invokeConfigurations(IClass testClass,
ITestNGMethod[] allMethods,
XmlSuite suite,
Map<String,String> parameters,
Object[] parameterValues,
Object instance)
Invoke configuration methods if they belong to the same TestClass
passed in parameter..
|
protected static Iterator<Object[]> |
MethodInvocationHelper.invokeDataProvider(Object instance,
Method dataProvider,
ITestNGMethod method,
ITestContext testContext,
Object fedInstance,
IAnnotationFinder annotationFinder) |
protected ITestResult |
Invoker.invokeTestMethod(Object instance,
ITestNGMethod tm,
Object[] parameterValues,
int parametersIndex,
XmlSuite suite,
Map<String,String> params,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
org.testng.internal.Invoker.FailureContext failureContext)
invokeTestMethods() eventually converge here to invoke a single @Test method.
|
protected ITestResult |
Invoker.invokeTestMethod(Object instance,
ITestNGMethod tm,
Object[] parameterValues,
int parametersIndex,
XmlSuite suite,
Map<String,String> params,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
org.testng.internal.Invoker.FailureContext failureContext)
invokeTestMethods() eventually converge here to invoke a single @Test method.
|
protected ITestResult |
Invoker.invokeTestMethod(Object instance,
ITestNGMethod tm,
Object[] parameterValues,
int parametersIndex,
XmlSuite suite,
Map<String,String> params,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
org.testng.internal.Invoker.FailureContext failureContext)
invokeTestMethods() eventually converge here to invoke a single @Test method.
|
protected void |
TestMethodWorker.invokeTestMethods(ITestNGMethod tm,
Object instance,
ITestContext testContext) |
List<ITestResult> |
Invoker.invokeTestMethods(ITestNGMethod testMethod,
XmlSuite suite,
Map<String,String> testParameters,
ConfigurationGroupMethods groupMethods,
Object instance,
ITestContext testContext)
Invoke all the test methods.
|
List<ITestResult> |
IInvoker.invokeTestMethods(ITestNGMethod testMethod,
XmlSuite suite,
Map<String,String> parameters,
ConfigurationGroupMethods groupMethods,
Object instance,
ITestContext testContext)
Invoke the given method
|
protected static void |
MethodInvocationHelper.invokeWithTimeout(ITestNGMethod tm,
Object instance,
Object[] parameterValues,
ITestResult testResult)
Invokes a method on a separate thread in order to allow us to timeout the
invocation.
|
protected static void |
MethodInvocationHelper.invokeWithTimeout(ITestNGMethod tm,
Object instance,
Object[] parameterValues,
ITestResult testResult,
IHookable hookable) |
boolean |
ConfigurationGroupMethods.isLastMethodForGroup(String group,
ITestNGMethod method) |
TestException |
ExpectedExceptionsHolder.noException(ITestNGMethod testMethod) |
void |
ConfigurationGroupMethods.removeBeforeMethod(String group,
ITestNGMethod method) |
void |
ResultMap.removeResult(ITestNGMethod m) |
void |
NoOpTestClass.setAfterTestMethod(ITestNGMethod[] afterTestMethods) |
void |
NoOpTestClass.setBeforeTestMethods(ITestNGMethod[] beforeTestMethods) |
void |
TestResult.setMethod(ITestNGMethod method) |
Modifier and Type | Method and Description |
---|---|
static ITestNGMethod[] |
MethodHelper.collectAndOrderMethods(List<ITestNGMethod> methods,
boolean forTests,
RunInfo runInfo,
IAnnotationFinder finder,
boolean unique,
List<ITestNGMethod> outExcludedMethods)
Collects and orders test or configuration methods
|
static ITestNGMethod[] |
MethodHelper.collectAndOrderMethods(List<ITestNGMethod> methods,
boolean forTests,
RunInfo runInfo,
IAnnotationFinder finder,
boolean unique,
List<ITestNGMethod> outExcludedMethods)
Collects and orders test or configuration methods
|
int |
TestMethodWorker.compareTo(IWorker<ITestNGMethod> other) |
static void |
Utils.dumpMethods(List<ITestNGMethod> allMethods) |
protected static void |
MethodGroupsHelper.findGroupTransitiveClosure(XmlMethodSelector xms,
List<ITestNGMethod> includedMethods,
List<ITestNGMethod> allMethods,
String[] includedGroups,
Set<String> outGroups,
Set<ITestNGMethod> outMethods) |
protected static void |
MethodGroupsHelper.findGroupTransitiveClosure(XmlMethodSelector xms,
List<ITestNGMethod> includedMethods,
List<ITestNGMethod> allMethods,
String[] includedGroups,
Set<String> outGroups,
Set<ITestNGMethod> outMethods) |
protected static void |
MethodGroupsHelper.findGroupTransitiveClosure(XmlMethodSelector xms,
List<ITestNGMethod> includedMethods,
List<ITestNGMethod> allMethods,
String[] includedGroups,
Set<String> outGroups,
Set<ITestNGMethod> outMethods) |
void |
XmlMethodSelector.setTestMethods(List<ITestNGMethod> testMethods) |
void |
MethodSelectorDescriptor.setTestMethods(List<ITestNGMethod> testMethods) |
void |
RunInfo.setTestMethods(List<ITestNGMethod> testMethods) |
static List<ITestNGMethod> |
MethodHelper.uniqueMethodList(Collection<List<ITestNGMethod>> methods)
Extracts the unique list of
ITestNGMethod s. |
Constructor and Description |
---|
ClonedMethod(ITestNGMethod method,
Method javaMethod) |
ConfigurationGroupMethods(ITestNGMethod[] allMethods,
Map<String,List<ITestNGMethod>> beforeGroupsMethods,
Map<String,List<ITestNGMethod>> afterGroupsMethods) |
ExpectedExceptionsHolder(IAnnotationFinder finder,
ITestNGMethod method,
IExpectedExceptionsHolder holder) |
InvokedMethod(Object instance,
ITestNGMethod method,
Object[] parameters,
long date,
ITestResult testResult) |
InvokeMethodRunnable(ITestNGMethod thisMethod,
Object instance,
Object[] parameters,
IHookable hookable,
ITestResult testResult) |
MethodInstance(ITestNGMethod method) |
RegexpExpectedExceptionsHolder(IAnnotationFinder finder,
ITestNGMethod method) |
TestMethodWithDataProviderMethodWorker(Invoker invoker,
ITestNGMethod testMethod,
int parameterIndex,
Object[] parameterValues,
Object instance,
XmlSuite suite,
Map<String,String> parameters,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
ExpectedExceptionsHolder expectedExceptionHolder,
ITestContext testContext,
boolean skipFailedInvocationCounts,
int invocationCount,
int failureCount,
ITestResultNotifier notifier) |
TestMethodWithDataProviderMethodWorker(Invoker invoker,
ITestNGMethod testMethod,
int parameterIndex,
Object[] parameterValues,
Object instance,
XmlSuite suite,
Map<String,String> parameters,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
ExpectedExceptionsHolder expectedExceptionHolder,
ITestContext testContext,
boolean skipFailedInvocationCounts,
int invocationCount,
int failureCount,
ITestResultNotifier notifier) |
TestMethodWithDataProviderMethodWorker(Invoker invoker,
ITestNGMethod testMethod,
int parameterIndex,
Object[] parameterValues,
Object instance,
XmlSuite suite,
Map<String,String> parameters,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
ExpectedExceptionsHolder expectedExceptionHolder,
ITestContext testContext,
boolean skipFailedInvocationCounts,
int invocationCount,
int failureCount,
ITestResultNotifier notifier) |
TestResult(IClass testClass,
Object instance,
ITestNGMethod method,
Throwable throwable,
long start,
long end,
ITestContext context) |
Constructor and Description |
---|
ConfigurationGroupMethods(ITestNGMethod[] allMethods,
Map<String,List<ITestNGMethod>> beforeGroupsMethods,
Map<String,List<ITestNGMethod>> afterGroupsMethods) |
ConfigurationGroupMethods(ITestNGMethod[] allMethods,
Map<String,List<ITestNGMethod>> beforeGroupsMethods,
Map<String,List<ITestNGMethod>> afterGroupsMethods) |
Modifier and Type | Method and Description |
---|---|
static ITestNGMethod[] |
AnnotationHelper.findMethodsWithAnnotation(Class<?> rootClass,
Class<? extends IAnnotation> annotationClass,
IAnnotationFinder annotationFinder,
XmlTest xmlTest)
Delegation method for creating the list of
ITestMethod s to be
analysed. |
Modifier and Type | Method and Description |
---|---|
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(ITestNGMethod m,
Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(ITestNGMethod tm,
Class<A> annotationClass) |
static ITestAnnotation |
AnnotationHelper.findTest(IAnnotationFinder finder,
ITestNGMethod m) |
Modifier and Type | Class and Description |
---|---|
class |
JUnit3TestMethod |
class |
JUnit4TestMethod |
class |
JUnitTestMethod |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
protected void |
EmailableReporter.generateExceptionReport(Throwable exception,
ITestNGMethod method) |
Modifier and Type | Method and Description |
---|---|
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 © 2016. All rights reserved.