Uses of Interface
org.testng.internal.annotations.IAnnotationFinder
-
Packages that use IAnnotationFinder Package Description org.testng org.testng.internal org.testng.internal.annotations org.testng.junit -
-
Uses of IAnnotationFinder in org.testng
Methods in org.testng that return IAnnotationFinder Modifier and Type Method Description IAnnotationFinder
ISuite. getAnnotationFinder()
IAnnotationFinder
SuiteRunner. getAnnotationFinder()
Returns the annotation finder for the given annotation type.Constructors in org.testng with parameters of type IAnnotationFinder Constructor Description TestRunner(IConfiguration configuration, ISuite suite, XmlTest test, String outputDirectory, IAnnotationFinder finder, boolean skipFailedInvocationCounts, Collection<IInvokedMethodListener> invokedMethodListeners, List<IClassListener> classListeners, Comparator<ITestNGMethod> comparator, Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
-
Uses of IAnnotationFinder in org.testng.internal
Fields in org.testng.internal declared as IAnnotationFinder Modifier and Type Field Description protected IAnnotationFinder
ExpectedExceptionsHolder. finder
protected IAnnotationFinder
BaseTestMethod. m_annotationFinder
Methods in org.testng.internal that return IAnnotationFinder Modifier and Type Method Description protected IAnnotationFinder
BaseTestMethod. getAnnotationFinder()
IAnnotationFinder
Configuration. getAnnotationFinder()
IAnnotationFinder
IConfiguration. getAnnotationFinder()
IAnnotationFinder
AbstractParallelWorker.Arguments. getFinder()
Methods in org.testng.internal with parameters of type IAnnotationFinder Modifier and Type Method Description 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. 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 @ConfigurationMethod
.static Object
ClassHelper. createInstance(Class<?> declaringClass, Map<Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory)
Create an instance for the given class.static Object
ClassHelper. createInstance1(Class<?> declaringClass, Map<Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, IObjectFactory objectFactory)
static Object[]
Parameters. createInstantiationParameters(Constructor ctor, String methodAnnotation, IAnnotationFinder finder, String[] parameterNames, Map<String,String> params, XmlSuite xmlSuite)
Creates the parameters needed for constructing a test class instance.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. dependentGroupsForThisMethodForConfiguration(Method m, IAnnotationFinder finder)
Deprecated.Unusedstatic String[]
Utils. dependentGroupsForThisMethodForTest(Method m, IAnnotationFinder finder)
Deprecated.Unusedstatic TestListenerHelper.ListenerHolder
TestListenerHelper. findAllListeners(Class<?> cls, IAnnotationFinder finder)
static List<ConstructorOrMethod>
ClassHelper. findDeclaredFactoryMethods(Class<?> cls, IAnnotationFinder finder)
For the given class, returns the method annotated with @Factory or null if none is found.AbstractParallelWorker.Arguments.Builder
AbstractParallelWorker.Arguments.Builder. finder(IAnnotationFinder finder)
protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
Deprecated.- This method stands deprecated as of TestNG v6.13static String[]
Utils. groupsForThisMethodForConfiguration(Method m, IAnnotationFinder finder)
Deprecated.Unusedstatic String[]
Utils. groupsForThisMethodForTest(Method m, IAnnotationFinder finder)
Deprecated.Unusedstatic 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.static ParameterHolder
Parameters. handleParameters(ITestNGMethod testMethod, Map<String,String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, Collection<IDataProviderListener> dataProviderListeners)
If the method has parameters, fill them in.protected static Iterator<Object[]>
MethodInvocationHelper. invokeDataProvider(Object instance, Method dataProvider, ITestNGMethod method, ITestContext testContext, Object fedInstance, IAnnotationFinder annotationFinder)
protected static boolean
MethodHelper. isEnabled(Class<?> objectClass, IAnnotationFinder finder)
protected static boolean
MethodHelper. isEnabled(Method m, IAnnotationFinder finder)
void
Configuration. setAnnotationFinder(IAnnotationFinder finder)
void
IConfiguration. setAnnotationFinder(IAnnotationFinder finder)
Constructors in org.testng.internal with parameters of type IAnnotationFinder Constructor Description BaseTestMethod(String methodName, Method method, IAnnotationFinder annotationFinder, Object instance)
Constructs aBaseTestMethod
TODO cquezel JavaDoc.BaseTestMethod(String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, Object instance)
ClassImpl(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, Map<Class<?>,IClass> classes, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
ClassImpl(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, Map<Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13Configuration(IAnnotationFinder finder)
ConfigurationMethod(Method method, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, String[] beforeGroups, String[] afterGroups, Object instance)
Deprecated.use #ConfigurationMethod(ConstructorOrMethod,...) instead.ConfigurationMethod(ConstructorOrMethod com, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, String[] beforeGroups, String[] afterGroups, Object instance)
ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder)
FactoryMethod(ConstructorOrMethod com, Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13FactoryMethod(ConstructorOrMethod com, Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory, Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method)
TestNGMethod(Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance)
Constructs aTestNGMethod
TestNGMethodFinder(RunInfo runInfo, IAnnotationFinder annotationFinder)
TestNGMethodFinder(RunInfo runInfo, IAnnotationFinder annotationFinder, Comparator<ITestNGMethod> comparator)
-
Uses of IAnnotationFinder in org.testng.internal.annotations
Classes in org.testng.internal.annotations that implement IAnnotationFinder Modifier and Type Class Description class
JDK15AnnotationFinder
This class implements IAnnotationFinder with JDK5 annotations Created on Dec 20, 2005 -
Uses of IAnnotationFinder in org.testng.junit
Constructors in org.testng.junit with parameters of type IAnnotationFinder Constructor Description JUnitMethodFinder(String testName, IAnnotationFinder finder)
-