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.internal.invokers org.testng.internal.objects.pojo -
-
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, java.lang.String outputDirectory, IAnnotationFinder finder, boolean skipFailedInvocationCounts, java.util.Collection<IInvokedMethodListener> invokedMethodListeners, java.util.List<IClassListener> classListeners, java.util.Comparator<ITestNGMethod> comparator, DataProviderHolder otherHolder, ISuiteRunnerListener suiteRunner)
-
Uses of IAnnotationFinder in org.testng.internal
Fields in org.testng.internal declared as IAnnotationFinder Modifier and Type Field Description 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()
Methods in org.testng.internal with parameters of type IAnnotationFinder Modifier and Type Method Description static ITestNGMethod[]
MethodHelper. collectAndOrderMethods(java.util.List<ITestNGMethod> methods, boolean forTests, RunInfo runInfo, IAnnotationFinder finder, boolean unique, java.util.List<ITestNGMethod> outExcludedMethods, java.util.Comparator<ITestNGMethod> comparator)
Collects and orders test or configuration methodsstatic java.util.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 java.util.List<ITestNGMethod>
ConfigurationMethod. createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance)
static java.lang.Object[]
Parameters. createConfigurationParameters(java.lang.reflect.Method m, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, ITestNGMethod currentTestMethod, IAnnotationFinder finder, XmlSuite xmlSuite, ITestContext ctx, ITestResult testResult)
Creates the parameters needed for the specified@Configuration
Method
.static java.lang.Object[]
Parameters. createInstantiationParameters(java.lang.reflect.Constructor<?> ctor, java.lang.String methodAnnotation, IAnnotationFinder finder, java.lang.String[] parameterNames, java.util.Map<java.lang.String,java.lang.String> params, XmlSuite xmlSuite)
Creates the parameters needed for constructing a test class instance.static java.util.List<ITestNGMethod>
ConfigurationMethod. createSuiteConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance)
static java.util.List<ITestNGMethod>
ConfigurationMethod. createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance)
static java.util.List<ITestNGMethod>
ConfigurationMethod. createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance)
static TestListenerHelper.ListenerHolder
TestListenerHelper. findAllListeners(java.lang.Class<?> cls, IAnnotationFinder finder)
static java.util.List<ConstructorOrMethod>
ClassHelper. findDeclaredFactoryMethods(java.lang.Class<?> cls, IAnnotationFinder finder)
For the given class, returns the method annotated with @Factory or null if none is found.protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
static ParameterHolder
Parameters. handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance, DataProviderHolder holder)
If the method has parameters, fill them in.static ParameterHolder
Parameters. handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance, DataProviderHolder holder, java.lang.String annotationName)
If the method has parameters, fill them in.static boolean
MethodHelper. isEnabled(java.lang.Class<?> objectClass, IAnnotationFinder finder)
static boolean
MethodHelper. isEnabled(java.lang.reflect.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(ITestObjectFactory objectFactory, java.lang.String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, IObject.IdentifiableObject instance)
ClassImpl(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, java.util.Map<java.lang.Class<?>,IClass> classes, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
Configuration(IAnnotationFinder finder)
ConfigurationMethod(ITestObjectFactory objectFactory, ConstructorOrMethod com, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, boolean isIgnoreFailure, java.lang.String[] beforeGroups, java.lang.String[] afterGroups, XmlTest xmlTest, IObject.IdentifiableObject instance)
RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method)
TestNGMethod(ITestObjectFactory objectFactory, java.lang.reflect.Method method, IAnnotationFinder finder, XmlTest xmlTest, IObject.IdentifiableObject instance)
Constructs aTestNGMethod
TestNGMethodFinder(ITestObjectFactory objectFactory, RunInfo runInfo, IAnnotationFinder annotationFinder)
TestNGMethodFinder(ITestObjectFactory objectFactory, RunInfo runInfo, IAnnotationFinder annotationFinder, java.util.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 annotationsMethods in org.testng.internal.annotations with parameters of type IAnnotationFinder Modifier and Type Method Description static IConfigurationAnnotation
AnnotationHelper. findConfiguration(IAnnotationFinder finder, java.lang.reflect.Method m)
static IConfigurationAnnotation
AnnotationHelper. findConfiguration(IAnnotationFinder finder, ConstructorOrMethod m)
static IFactoryAnnotation
AnnotationHelper. findFactory(IAnnotationFinder finder, java.lang.reflect.Constructor<?> c)
static IFactoryAnnotation
AnnotationHelper. findFactory(IAnnotationFinder finder, java.lang.reflect.Method m)
static ITestNGMethod[]
AnnotationHelper. findMethodsWithAnnotation(ITestObjectFactory objectFactory, java.lang.Class<?> rootClass, java.lang.Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest)
static ITestAnnotation
AnnotationHelper. findTest(IAnnotationFinder finder, java.lang.Class<?> cls)
static ITestAnnotation
AnnotationHelper. findTest(IAnnotationFinder finder, java.lang.reflect.Method m)
static ITestAnnotation
AnnotationHelper. findTest(IAnnotationFinder finder, ITestNGMethod m)
-
Uses of IAnnotationFinder in org.testng.internal.invokers
Fields in org.testng.internal.invokers declared as IAnnotationFinder Modifier and Type Field Description protected IAnnotationFinder
ExpectedExceptionsHolder. finder
Methods in org.testng.internal.invokers that return IAnnotationFinder Modifier and Type Method Description IAnnotationFinder
AbstractParallelWorker.Arguments. getFinder()
Methods in org.testng.internal.invokers with parameters of type IAnnotationFinder Modifier and Type Method Description AbstractParallelWorker.Arguments.Builder
AbstractParallelWorker.Arguments.Builder. finder(IAnnotationFinder finder)
static java.util.Iterator<java.lang.Object[]>
MethodInvocationHelper. invokeDataProvider(java.lang.Object instance, java.lang.reflect.Method dataProvider, ITestNGMethod method, ITestContext testContext, java.lang.Object fedInstance, IAnnotationFinder annotationFinder)
Constructors in org.testng.internal.invokers with parameters of type IAnnotationFinder Constructor Description ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder)
-
Uses of IAnnotationFinder in org.testng.internal.objects.pojo
Methods in org.testng.internal.objects.pojo that return IAnnotationFinder Modifier and Type Method Description IAnnotationFinder
DetailedAttributes. getFinder()
Methods in org.testng.internal.objects.pojo with parameters of type IAnnotationFinder Modifier and Type Method Description void
DetailedAttributes. setFinder(IAnnotationFinder finder)
-