Uses of Interface
org.testng.ITestNGMethod
Packages that use ITestNGMethod
Package
Description
-
Uses of ITestNGMethod in org.testng
Classes in org.testng that implement interfaces with type arguments of type ITestNGMethodMethods in org.testng that return ITestNGMethodModifier and TypeMethodDescriptionITestNGMethod.clone()static ITestNGMethodTestNGUtils.createITestNGMethod(ITestNGMethod existingMethod, Method method) Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.ITestClass.getAfterClassMethods()Returns all the methods that should be invoked after all the tests have been run on this class.ITestMethodFinder.getAfterClassMethods(Class<?> cls) ITestMethodFinder.getAfterGroupsConfigurationMethods(Class<?> testClass) ITestClass.getAfterGroupsMethods()Returns all @Configuration methods that should be invoked after certain groups.ITestClass.getAfterSuiteMethods()Returns all the methods that should be invoked after the suite has run.ITestMethodFinder.getAfterSuiteMethods(Class<?> cls) TestRunner.getAfterSuiteMethods()ITestClass.getAfterTestConfigurationMethods()Returns all @Configuration methods that should be invoked last before any others in the current test.ITestMethodFinder.getAfterTestConfigurationMethods(Class<?> testClass) TestRunner.getAfterTestConfigurationMethods()ITestClass.getAfterTestMethods()Returns all the methods that should be invoked after a test method completes.ITestMethodFinder.getAfterTestMethods(Class<?> cls) ITestContext.getAllTestMethods()protected ITestNGMethod[]TestListenerAdapter.getAllTestMethods()TestRunner.getAllTestMethods()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.ITestMethodFinder.getBeforeClassMethods(Class<?> cls) ITestMethodFinder.getBeforeGroupsConfigurationMethods(Class<?> testClass) ITestClass.getBeforeGroupsMethods()Returns all @Configuration methods that should be invoked before certain groups.ITestClass.getBeforeSuiteMethods()Returns All the methods that should be invoked before the suite is run.ITestMethodFinder.getBeforeSuiteMethods(Class<?> cls) TestRunner.getBeforeSuiteMethods()ITestClass.getBeforeTestConfigurationMethods()Returns all @Configuration methods that should be invoked before any others in the current test.ITestMethodFinder.getBeforeTestConfigurationMethods(Class<?> testClass) TestRunner.getBeforeTestConfigurationMethods()ITestClass.getBeforeTestMethods()Returns all the methods that should be invoked before a test method is invoked.ITestMethodFinder.getBeforeTestMethods(Class<?> cls) IMethodInstance.getMethod()ITestResult.getMethod()DependencyMap.getMethodDependingOn(String methodName, ITestNGMethod fromMethod) IInvokedMethod.getTestMethod()ITestClass.getTestMethods()Returns all the applicable test methods.ITestMethodFinder.getTestMethods(Class<?> cls, XmlTest xmlTest) Methods in org.testng that return types with arguments of type ITestNGMethodModifier and TypeMethodDescriptionTestRunner.createWorkers(List<ITestNGMethod> methods) Create a list of workers to run the methods passed in parameter.default Set<ITestNGMethod> ITestNGMethod.downstreamDependencies()IResultMap.getAllMethods()ISuite.getAllMethods()SuiteRunner.getAllMethods()ISuite.getExcludedMethods()ITestContext.getExcludedMethods()SuiteRunner.getExcludedMethods()TestRunner.getExcludedMethods()ISuite.getMethodsByGroups()Retrieves the map of groups and their associated test methods.SuiteRunner.getMethodsByGroups()DependencyMap.getMethodsThatBelongTo(String group, ITestNGMethod fromMethod) default List<ITestNGMethod> ITestResult.getSkipCausedBy()default Set<ITestNGMethod> ITestNGMethod.upstreamDependencies()Methods in org.testng with parameters of type ITestNGMethodModifier and TypeMethodDescriptionvoidTestRunner.addFailedButWithinSuccessPercentageTest(ITestNGMethod testMethod, ITestResult result) voidTestRunner.addFailedTest(ITestNGMethod testMethod, ITestResult result) voidTestRunner.addPassedTest(ITestNGMethod tm, ITestResult tr) voidTestRunner.addSkippedTest(ITestNGMethod tm, ITestResult tr) default voidIDataProviderListener.afterDataProviderExecution(IDataProviderMethod dataProviderMethod, ITestNGMethod method, ITestContext iTestContext) This method gets invoked just after a data provider is invoked.default voidIConfigurationListener.beforeConfiguration(ITestResult tr, ITestNGMethod tm) Invoked before a configuration method is invoked.default voidIDataProviderListener.beforeDataProviderExecution(IDataProviderMethod dataProviderMethod, ITestNGMethod method, ITestContext iTestContext) This method gets invoked just before a data provider is invoked.static ITestNGMethodTestNGUtils.createITestNGMethod(ITestNGMethod existingMethod, Method method) Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.TestRunner.getFailedTests(ITestNGMethod tm) DependencyMap.getMethodDependingOn(String methodName, ITestNGMethod fromMethod) DependencyMap.getMethodsThatBelongTo(String group, ITestNGMethod fromMethod) TestRunner.getPassedTests(ITestNGMethod tm) IResultMap.getResults(ITestNGMethod method) TestRunner.getSkippedTests(ITestNGMethod tm) booleanIMethodSelector.includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod) IDataProviderInterceptor.intercept(Iterator<Object[]> original, IDataProviderMethod dataProviderMethod, ITestNGMethod method, ITestContext iTestContext) default voidIConfigurationListener.onConfigurationFailure(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method failed.default voidIConfigurationListener.onConfigurationSkip(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method was skipped.default voidIConfigurationListener.onConfigurationSuccess(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method succeeded.default voidIDataProviderListener.onDataProviderFailure(ITestNGMethod method, ITestContext ctx, RuntimeException t) This method gets invoked when the data provider encounters an exceptionbooleanClassMethodMap.removeAndCheckIfLast(ITestNGMethod m, Object instance) Remove the method from this map.voidIResultMap.removeResult(ITestNGMethod m) Method parameters in org.testng with type arguments of type ITestNGMethodModifier and TypeMethodDescriptionTestRunner.createWorkers(List<ITestNGMethod> methods) Create a list of workers to run the methods passed in parameter.voidTestListenerAdapter.setAllTestMethods(List<ITestNGMethod> allTestMethods) voidIMethodSelector.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 ITestNGMethodConstructor parameters in org.testng with type arguments of type ITestNGMethodModifierConstructorDescriptionClassMethodMap(List<ITestNGMethod> methods, XmlMethodSelector xmlMethodSelector) SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, Comparator<ITestNGMethod> comparator) protectedSuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListener, org.testng.SuiteRunner.TestListenersContainer container, Collection<IClassListener> classListeners, DataProviderHolder holder, Comparator<ITestNGMethod> comparator) SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, Comparator<ITestNGMethod> comparator) TestRunner(IConfiguration configuration, ISuite suite, XmlTest test, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, Comparator<ITestNGMethod> comparator, ISuiteRunnerListener suiteRunner) protectedTestRunner(IConfiguration configuration, ISuite suite, XmlTest test, String outputDirectory, IAnnotationFinder finder, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, Comparator<ITestNGMethod> comparator, DataProviderHolder otherHolder, ISuiteRunnerListener suiteRunner) -
Uses of ITestNGMethod in org.testng.internal
Classes in org.testng.internal that implement ITestNGMethodModifier and TypeClassDescriptionclassSuperclass to represent both @Test and @Configuration methods.classclassclassThis class represents a method annotated with @FactoryclassclassThis class represents a test method.classRepresents a proxy for an actual instance ofITestNGMethodbut with the exception that it generates a unique hashcode that is different from the originalITestNGMethodinstance that it wraps.Classes in org.testng.internal that implement interfaces with type arguments of type ITestNGMethodModifier and TypeClassDescriptionenumclassfinal classThis implementation leverages a supplier to lazily load the test methods (data) for the very first time and "remembers it" for later invocations.Fields in org.testng.internal declared as ITestNGMethodModifier and TypeFieldDescriptionprotected ITestNGMethod[]NoOpTestClass.m_beforeGroupsMethodsprotected ITestNGMethod[]NoOpTestClass.m_testMethodsFields in org.testng.internal with type parameters of type ITestNGMethodModifier and TypeFieldDescriptionprotected List<ITestNGMethod> NoOpTestClass.m_afterClassMethodsprotected List<ITestNGMethod> NoOpTestClass.m_afterGroupsMethodsprotected List<ITestNGMethod> NoOpTestClass.m_afterSuiteMethodsprotected List<ITestNGMethod> NoOpTestClass.m_afterTestConfMethodsprotected List<ITestNGMethod> NoOpTestClass.m_afterTestMethodsprotected List<ITestNGMethod> NoOpTestClass.m_beforeClassMethodsprotected List<ITestNGMethod> NoOpTestClass.m_beforeSuiteMethodsprotected List<ITestNGMethod> NoOpTestClass.m_beforeTestConfMethodsprotected List<ITestNGMethod> NoOpTestClass.m_beforeTestMethodsMethods in org.testng.internal that return ITestNGMethodModifier and TypeMethodDescriptionabstract ITestNGMethodBaseTestMethod.clone()FactoryMethod.clone()LiteWeightTestNGMethod.clone()WrappedTestNGMethod.clone()static ITestNGMethod[]MethodHelper.collectAndOrderMethods(List<ITestNGMethod> methods, boolean forTests, RunInfo runInfo, IAnnotationFinder finder, boolean unique, List<ITestNGMethod> outExcludedMethods, Comparator<ITestNGMethod> comparator) Collects and orders test or configuration methodsstatic ITestNGMethod[]ConfigurationMethod.createBeforeConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) protected static ITestNGMethod[]MethodHelper.findDependedUponMethods(ITestNGMethod m, List<ITestNGMethod> methods) Finds TestNG methods that the specified TestNG method depends uponstatic ITestNGMethod[]MethodHelper.findDependedUponMethods(ITestNGMethod m, ITestNGMethod[] incoming) Finds TestNG methods that the specified TestNG method depends uponprotected static ITestNGMethod[]MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod[] methods, String groupRegexp) static ITestNGMethod[]MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod method, ITestNGMethod[] methods, String groupRegexp) Only used if a group is missing to flag an error on that methodNoOpTestClass.getAfterClassMethods()TestNGMethodFinder.getAfterClassMethods(Class<?> cls) TestNGMethodFinder.getAfterGroupsConfigurationMethods(Class<?> clazz) NoOpTestClass.getAfterGroupsMethods()NoOpTestClass.getAfterSuiteMethods()TestNGMethodFinder.getAfterSuiteMethods(Class<?> cls) NoOpTestClass.getAfterTestConfigurationMethods()TestNGMethodFinder.getAfterTestConfigurationMethods(Class<?> clazz) NoOpTestClass.getAfterTestMethods()TestNGMethodFinder.getAfterTestMethods(Class<?> cls) NoOpTestClass.getBeforeClassMethods()TestNGMethodFinder.getBeforeClassMethods(Class<?> cls) TestNGMethodFinder.getBeforeGroupsConfigurationMethods(Class<?> clazz) NoOpTestClass.getBeforeGroupsMethods()NoOpTestClass.getBeforeSuiteMethods()TestNGMethodFinder.getBeforeSuiteMethods(Class<?> cls) NoOpTestClass.getBeforeTestConfigurationMethods()TestNGMethodFinder.getBeforeTestConfigurationMethods(Class<?> clazz) NoOpTestClass.getBeforeTestMethods()TestNGMethodFinder.getBeforeTestMethods(Class<?> cls) TestMethodContainer.getItems()MethodInstance.getMethod()TestResult.getMethod()NoOpTestClass.getTestMethods()TestNGMethodFinder.getTestMethods(Class<?> clazz, XmlTest xmlTest) Methods in org.testng.internal that return types with arguments of type ITestNGMethodModifier and TypeMethodDescriptionstatic List<ITestNGMethod> ITestClassConfigInfo.allAfterClassMethods(ITestClass tc) static List<ITestNGMethod> ITestClassConfigInfo.allBeforeClassMethods(ITestClass tc) static Comparator<ITestNGMethod> MethodSorting.basedOn()IOrderMethods.comparator()static List<ITestNGMethod> ConfigurationMethod.createAfterConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) static List<ITestNGMethod> ConfigurationMethod.createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) static DynamicGraph<ITestNGMethod> DynamicGraphHelper.createDynamicGraph(ITestNGMethod[] methods, XmlTest xmlTest) static List<ITestNGMethod> ConfigurationMethod.createSuiteConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) static List<ITestNGMethod> ConfigurationMethod.createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) static List<ITestNGMethod> ConfigurationMethod.createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) BaseTestMethod.downstreamDependencies()static Map<String, List<ITestNGMethod>> MethodGroupsHelper.findGroupsMethods(Collection<ITestClass> classes, boolean before) ConfigurationGroupMethods.getAfterGroupMethods(ITestNGMethod testMethod) ConfigurationGroupMethods.getAfterGroupsMethods()ITestClassConfigInfo.getAllAfterClassMethods()ITestClassConfigInfo.getAllBeforeClassMethods()get all before class config methodsResultMap.getAllMethods()ConfigurationGroupMethods.getBeforeGroupMethodsForGroup(String[] groups) ConfigurationGroupMethods.getBeforeGroupsMethods()ITestClassConfigInfo.getInstanceAfterClassMethods(Object instance) ITestClassConfigInfo.getInstanceBeforeClassMethods(Object instance) Query the instance before class methods from config methods map.static List<ITestNGMethod> MethodHelper.getMethodsDependedUpon(ITestNGMethod method, ITestNGMethod[] methods, Comparator<ITestNGMethod> comparator) TestResult.getSkipCausedBy()static List<ITestNGMethod> MethodHelper.methodInstancesToMethods(List<IMethodInstance> methodInstances) static List<ITestNGMethod> MethodHelper.uniqueMethodList(Collection<List<ITestNGMethod>> methods) Extracts the unique list ofITestNGMethods.BaseTestMethod.upstreamDependencies()Methods in org.testng.internal with parameters of type ITestNGMethodModifier and TypeMethodDescriptionvoidITestResultNotifier.addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr) voidITestResultNotifier.addFailedTest(ITestNGMethod tm, ITestResult tr) voidITestResultNotifier.addPassedTest(ITestNGMethod tm, ITestResult tr) voidITestResultNotifier.addSkippedTest(ITestNGMethod tm, ITestResult tr) static StringUtils.annotationFormFor(ITestNGMethod method) Given a TestNG method, returns the corresponding annotation based on the method typeprotected static StringMethodHelper.calculateMethodCanonicalName(ITestNGMethod m) static longMethodHelper.calculateTimeOut(ITestNGMethod tm) intTestMethodComparator.compare(ITestNGMethod o1, ITestNGMethod o2) static intTestMethodComparator.compareStatic(ITestNGMethod o1, ITestNGMethod o2) static List<ITestNGMethod> ConfigurationMethod.createAfterConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) static ITestNGMethod[]ConfigurationMethod.createBeforeConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) static List<ITestNGMethod> ConfigurationMethod.createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject 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@ConfigurationMethod.static DynamicGraph<ITestNGMethod> DynamicGraphHelper.createDynamicGraph(ITestNGMethod[] methods, XmlTest xmlTest) static List<ITestNGMethod> ConfigurationMethod.createSuiteConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) static List<ITestNGMethod> ConfigurationMethod.createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) static List<ITestNGMethod> ConfigurationMethod.createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) static StringUtils.detailedMethodName(ITestNGMethod method) static StringUtils.detailedMethodName(ITestNGMethod method, boolean fqn) static voidMethodHelper.dumpInvokedMethodInfoToConsole(ITestNGMethod[] methods, int currentVerbosity) protected static ITestNGMethod[]MethodHelper.findDependedUponMethods(ITestNGMethod m, List<ITestNGMethod> methods) Finds TestNG methods that the specified TestNG method depends uponstatic ITestNGMethod[]MethodHelper.findDependedUponMethods(ITestNGMethod m, ITestNGMethod[] incoming) Finds TestNG methods that the specified TestNG method depends uponprotected static ITestNGMethod[]MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod[] methods, String groupRegexp) static ITestNGMethod[]MethodGroupsHelper.findMethodsThatBelongToGroup(ITestNGMethod method, ITestNGMethod[] methods, String groupRegexp) Only used if a group is missing to flag an error on that methodstatic voidMethodInheritance.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)static voidMethodHelper.fixMethodsWithClass(ITestNGMethod[] methods, ITestClass testCls, List<ITestNGMethod> methodList) ConfigurationGroupMethods.getAfterGroupMethods(ITestNGMethod testMethod) ITestResultNotifier.getFailedTests(ITestNGMethod tm) static List<ITestNGMethod> MethodHelper.getMethodsDependedUpon(ITestNGMethod method, ITestNGMethod[] methods, Comparator<ITestNGMethod> comparator) ITestResultNotifier.getPassedTests(ITestNGMethod tm) ResultMap.getResults(ITestNGMethod method) ITestResultNotifier.getSkippedTests(ITestNGMethod tm) static ParameterHolderParameters.handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, DataProviderHolder holder) If the method has parameters, fill them in.static ParameterHolderParameters.handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, DataProviderHolder holder, String annotationName) If the method has parameters, fill them in.booleanRunInfo.includeMethod(ITestNGMethod tm, boolean isTestMethod) booleanXmlMethodSelector.includeMethod(IMethodSelectorContext context, ITestNGMethod tm, boolean isTestMethod) static TestResultTestResult.newContextAwareTestResult(ITestNGMethod method, ITestContext ctx) static TestResultTestResult.newEndTimeAwareTestResult(ITestNGMethod method, ITestContext ctx, Throwable t, long start) static Parameters.MethodParametersParameters.MethodParameters.newInstance(Map<String, String> params, ITestNGMethod testNGMethod, ITestContext context) static TestResultTestResult.newTestResultFor(ITestNGMethod method) static TestResultTestResult.newTestResultFrom(TestResult result, ITestNGMethod method, ITestContext ctx, long start) static TestResultTestResult.newTestResultWithCauseAs(ITestNGMethod method, ITestContext ctx, Throwable t) voidResultMap.removeResult(ITestNGMethod m) static voidTestListenerHelper.runPostConfigurationListeners(ITestResult tr, ITestNGMethod tm, List<IConfigurationListener> listeners, IConfigurationListener internal, ListenerComparator comparator) static voidTestListenerHelper.runPreConfigurationListeners(ITestResult tr, ITestNGMethod tm, List<IConfigurationListener> listeners, IConfigurationListener internal, ListenerComparator comparator) voidNoOpTestClass.setAfterTestMethod(ITestNGMethod[] afterTestMethods) voidNoOpTestClass.setBeforeTestMethods(ITestNGMethod[] beforeTestMethods) voidTestResult.setMethod(ITestNGMethod method) Method parameters in org.testng.internal with type arguments of type ITestNGMethodModifier and TypeMethodDescriptionstatic ITestNGMethod[]MethodHelper.collectAndOrderMethods(List<ITestNGMethod> methods, boolean forTests, RunInfo runInfo, IAnnotationFinder finder, boolean unique, List<ITestNGMethod> outExcludedMethods, Comparator<ITestNGMethod> comparator) Collects and orders test or configuration methodsstatic ITestNGMethod[]MethodHelper.collectAndOrderMethods(List<ITestNGMethod> methods, boolean forTests, RunInfo runInfo, IAnnotationFinder finder, boolean unique, List<ITestNGMethod> outExcludedMethods, Comparator<ITestNGMethod> comparator) Collects and orders test or configuration methodsprotected static ITestNGMethod[]MethodHelper.findDependedUponMethods(ITestNGMethod m, List<ITestNGMethod> methods) Finds TestNG methods that the specified TestNG method depends uponprotected static voidMethodGroupsHelper.findGroupTransitiveClosure(List<ITestNGMethod> includedMethods, List<ITestNGMethod> allMethods, String[] includedGroups, Set<String> outGroups, Set<ITestNGMethod> outMethods) static voidMethodHelper.fixMethodsWithClass(ITestNGMethod[] methods, ITestClass testCls, List<ITestNGMethod> methodList) static List<ITestNGMethod> MethodHelper.getMethodsDependedUpon(ITestNGMethod method, ITestNGMethod[] methods, Comparator<ITestNGMethod> comparator) static List<IMethodInstance> MethodHelper.methodsToMethodInstances(List<ITestNGMethod> sl) voidBaseTestMethod.setDownstreamDependencies(Set<ITestNGMethod> methods) voidMethodSelectorDescriptor.setTestMethods(List<ITestNGMethod> testMethods) voidRunInfo.setTestMethods(List<ITestNGMethod> testMethods) voidXmlMethodSelector.setTestMethods(List<ITestNGMethod> testMethods) voidBaseTestMethod.setUpstreamDependencies(Set<ITestNGMethod> methods) static List<ITestNGMethod> MethodHelper.uniqueMethodList(Collection<List<ITestNGMethod>> methods) Extracts the unique list ofITestNGMethods.Constructors in org.testng.internal with parameters of type ITestNGMethodModifierConstructorDescriptionClonedMethod(ITestNGMethod method, Method javaMethod) LiteWeightTestNGMethod(ITestNGMethod iTestNGMethod) MethodInstance(ITestNGMethod method) RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) WrappedTestNGMethod(ITestNGMethod testNGMethod) Constructor parameters in org.testng.internal with type arguments of type ITestNGMethodModifierConstructorDescriptionConfigurationGroupMethods(IContainer<ITestNGMethod> container, Map<String, List<ITestNGMethod>> beforeGroupsMethods, Map<String, List<ITestNGMethod>> afterGroupsMethods) ConfigurationGroupMethods(IContainer<ITestNGMethod> container, Map<String, List<ITestNGMethod>> beforeGroupsMethods, Map<String, List<ITestNGMethod>> afterGroupsMethods) TestNGMethodFinder(ITestObjectFactory objectFactory, RunInfo runInfo, IAnnotationFinder annotationFinder, Comparator<ITestNGMethod> comparator) -
Uses of ITestNGMethod in org.testng.internal.annotations
Methods in org.testng.internal.annotations that return ITestNGMethodModifier and TypeMethodDescriptionstatic ITestNGMethod[]AnnotationHelper.findMethodsWithAnnotation(ITestObjectFactory objectFactory, Class<?> rootClass, Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest) Methods in org.testng.internal.annotations with parameters of type ITestNGMethodModifier and TypeMethodDescription<A extends IAnnotation>
AIAnnotationFinder.findAnnotation(ITestNGMethod m, Class<A> annotationClass) <A extends IAnnotation>
AJDK15AnnotationFinder.findAnnotation(ITestNGMethod tm, Class<A> annotationClass) static ITestAnnotationAnnotationHelper.findTest(IAnnotationFinder finder, ITestNGMethod m) -
Uses of ITestNGMethod in org.testng.internal.invokers
Classes in org.testng.internal.invokers that implement interfaces with type arguments of type ITestNGMethodModifier and TypeClassDescriptionclassFIXME: reduce contention when this class is used through parallel invocation due to invocationCount and threadPoolSize by not invoking the @BeforeClass and @AfterClass which are already invoked on the original method.Fields in org.testng.internal.invokers declared as ITestNGMethodModifier and TypeFieldDescriptionprotected final ITestNGMethodExpectedExceptionsHolder.methodprotected final ITestNGMethodArguments.tmMethods in org.testng.internal.invokers that return ITestNGMethodModifier and TypeMethodDescriptionTestMethodArguments.getAfterMethods()TestMethodArguments.getBeforeMethods()ConfigMethodArguments.getConfigMethods()Arguments.getTestMethod()InvokedMethod.getTestMethod()Methods in org.testng.internal.invokers that return types with arguments of type ITestNGMethodModifier and TypeMethodDescriptionabstract List<IWorker<ITestNGMethod>> AbstractParallelWorker.createWorkers(AbstractParallelWorker.Arguments arguments) AbstractParallelWorker.Arguments.getMethods()TestMethodWorker.getTasks()Methods in org.testng.internal.invokers with parameters of type ITestNGMethodModifier and TypeMethodDescriptionConfigMethodArguments.Builder.forTestMethod(ITestNGMethod currentTestMethod) GroupConfigMethodArguments.Builder.forTestMethod(ITestNGMethod testMethod) TestMethodArguments.Builder.forTestMethod(ITestNGMethod tm) booleanIConfigInvoker.hasConfigurationFailureFor(ITestNGMethod testNGMethod, String[] groups, IClass testClass, Object instance) booleanIConfigInvoker.hasConfigurationFailureFor(ITestNGMethod configMethod, ITestNGMethod testNGMethod, String[] groups, IClass testClass, Object instance) protected intTestMethodWorker.indexOf(ITestNGMethod tm, ITestNGMethod[] allTestMethods) MethodInvocationHelper.invokeDataProvider(Object instance, Method dataProvider, ITestNGMethod method, ITestContext testContext, Object fedInstance, IAnnotationFinder annotationFinder) protected static voidMethodInvocationHelper.invokeMethodConsideringTimeout(ITestNGMethod tm, ConstructorOrMethod method, Object targetInstance, Object[] params, ITestResult testResult, IConfiguration config) ITestInvoker.invokeTestMethods(ITestNGMethod testMethod, ConfigurationGroupMethods groupMethods, Object instance, ITestContext context) protected voidTestMethodWorker.invokeTestMethods(ITestNGMethod tm, Object instance) protected static voidMethodInvocationHelper.invokeWithTimeout(IConfiguration config, 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 booleanMethodInvocationHelper.invokeWithTimeout(IConfiguration config, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) ExpectedExceptionsHolder.noException(ITestNGMethod testMethod) default ITestResultITestInvoker.registerSkippedTestResult(ITestNGMethod testMethod, long start, Throwable throwable) ITestInvoker.registerSkippedTestResult(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) TestMethodArguments.Builder.usingAfterMethods(ITestNGMethod[] afterMethods) TestMethodArguments.Builder.usingBeforeMethods(ITestNGMethod[] beforeMethods) ConfigMethodArguments.Builder.usingConfigMethodsAs(ITestNGMethod[] allMethods) Method parameters in org.testng.internal.invokers with type arguments of type ITestNGMethodModifier and TypeMethodDescriptionintTestMethodWorker.compareTo(IWorker<ITestNGMethod> other) AbstractParallelWorker.Arguments.Builder.methods(List<ITestNGMethod> methods) ConfigMethodArguments.Builder.usingConfigMethodsAs(Collection<ITestNGMethod> allMethods) Constructors in org.testng.internal.invokers with parameters of type ITestNGMethodModifierConstructorDescriptionprotectedprotectedExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder) InvokeMethodRunnable(ITestNGMethod thisMethod, Object instance, Object[] parameters, IHookable hookable, ITestResult testResult) protectedMethodArguments(Object instance, ITestNGMethod tm, Map<String, String> params, Object[] parameterValues) TestMethodWithDataProviderMethodWorker(ITestInvoker testInvoker, ITestNGMethod testMethod, int parameterIndex, Object[] parameterValues, Object instance, Map<String, String> parameters, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods, ITestContext testContext, boolean skipFailedInvocationCounts, int invocationCount, int failureCount, ITestResultNotifier notifier) -
Uses of ITestNGMethod in org.testng.internal.thread
Constructors in org.testng.internal.thread with parameters of type ITestNGMethod -
Uses of ITestNGMethod in org.testng.reporters.util
Methods in org.testng.reporters.util with parameters of type ITestNGMethodModifier and TypeMethodDescriptionstatic StackTraceElement[]StackTraceTools.getTestNGInfrastructure(StackTraceElement[] stack, ITestNGMethod method) static intStackTraceTools.getTestRoot(StackTraceElement[] stack, ITestNGMethod method)