|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IAnnotationFinder | |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.junit | |
org.testng.remote |
Uses of IAnnotationFinder in org.testng |
---|
Fields in org.testng declared as IAnnotationFinder | |
---|---|
protected IAnnotationFinder |
TestNG.m_javadocAnnotationFinder
|
protected IAnnotationFinder |
TestNG.m_jdkAnnotationFinder
|
Methods in org.testng that return IAnnotationFinder | |
---|---|
IAnnotationFinder |
TestClass.getAnnotationFinder()
|
IAnnotationFinder |
ISuite.getAnnotationFinder(java.lang.String type)
|
IAnnotationFinder |
SuiteRunner.getAnnotationFinder(java.lang.String pAnnotationType)
Returns the annotation finder for the given annotation type. |
Constructors in org.testng with parameters of type IAnnotationFinder | |
---|---|
SuiteRunner(XmlSuite suite,
java.lang.String outputDir,
IAnnotationFinder[] finders)
|
|
SuiteRunner(XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
IAnnotationFinder[] finders)
|
|
SuiteRunner(XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
IAnnotationFinder[] finders,
IObjectFactory factory,
IMethodInterceptor methodInterceptor)
|
|
SuiteRunner(XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
IAnnotationFinder[] finders)
|
|
TestClass(IClass cls,
java.lang.String testName,
ITestMethodFinder testMethodFinder,
IAnnotationFinder annotationFinder,
RunInfo runInfo)
|
|
TestRunner(ISuite suite,
XmlTest test,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts)
|
|
TestRunner(ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts)
|
Uses of IAnnotationFinder in org.testng.internal |
---|
Fields in org.testng.internal declared as IAnnotationFinder | |
---|---|
protected IAnnotationFinder |
BaseTestMethod.m_annotationFinder
|
Methods in org.testng.internal that return IAnnotationFinder | |
---|---|
static IAnnotationFinder |
ClassHelper.createJdkAnnotationFinder(IAnnotationTransformer annoTransformer)
|
protected IAnnotationFinder |
BaseTestMethod.getAnnotationFinder()
TODO cquezel JavaDoc. |
Methods in org.testng.internal with parameters of type IAnnotationFinder | |
---|---|
static ITestNGMethod[] |
MethodHelper.collectAndOrderConfigurationMethods(java.util.List<ITestNGMethod> methods,
RunInfo runInfo,
IAnnotationFinder finder,
boolean unique,
java.util.List<ITestNGMethod> outExcludedMethods)
|
static ITestNGMethod[] |
MethodHelper.collectAndOrderMethods(java.util.List<ITestNGMethod> methods,
RunInfo runInfo,
IAnnotationFinder finder,
java.util.List<ITestNGMethod> outExcludedMethods)
|
static ITestNGMethod[] |
ConfigurationMethod.createAfterConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore)
|
static ITestNGMethod[] |
ConfigurationMethod.createBeforeConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore)
|
static ITestNGMethod[] |
ConfigurationMethod.createClassConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore)
|
static java.lang.Object[] |
Parameters.createConfigurationParameters(java.lang.reflect.Method m,
java.util.Map<java.lang.String,java.lang.String> params,
ITestNGMethod currentTestMethod,
IAnnotationFinder finder,
XmlSuite xmlSuite,
ITestContext ctx)
Creates the parameters needed for the specified @Configuration Method . |
static java.lang.Object |
ClassHelper.createInstance(java.lang.Class<?> declaringClass,
java.util.Map<java.lang.Class,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
IObjectFactory objectFactory)
Create an instance for the given class. |
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 ITestNGMethod[] |
ConfigurationMethod.createSuiteConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore)
|
static ITestNGMethod[] |
ConfigurationMethod.createTestConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore)
|
static ITestNGMethod[] |
ConfigurationMethod.createTestMethodConfigurationMethods(ITestNGMethod[] methods,
IAnnotationFinder annotationFinder,
boolean isBefore)
|
static java.lang.String[] |
Utils.dependentGroupsForThisMethodForConfiguration(java.lang.reflect.Method m,
IAnnotationFinder finder)
|
static java.lang.String[] |
Utils.dependentGroupsForThisMethodForTest(java.lang.reflect.Method m,
IAnnotationFinder finder)
|
static java.lang.Class<?>[] |
MethodHelper.findExpectedExceptions(IAnnotationFinder finder,
java.lang.reflect.Method method)
Read the expected exceptions, if any (need to handle both the old and new syntax |
static java.lang.reflect.Method |
ClassHelper.findFactoryMethod(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(java.lang.Class cls,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
IObjectFactory objectFactory)
|
static java.lang.String[] |
Utils.groupsForThisMethodForConfiguration(java.lang.reflect.Method m,
IAnnotationFinder finder)
|
static java.lang.String[] |
Utils.groupsForThisMethodForTest(java.lang.reflect.Method m,
IAnnotationFinder finder)
|
static java.util.Iterator<java.lang.Object[]> |
Parameters.handleParameters(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)
If the method has parameters, fill them in. |
static java.util.Iterator<java.lang.Object[]> |
MethodHelper.invokeDataProvider(java.lang.Object instance,
java.lang.reflect.Method dataProvider,
ITestNGMethod method,
ITestContext testContext,
java.lang.Object fedInstance,
IAnnotationFinder annotationFinder)
|
static boolean |
MethodHelper.isEnabled(java.lang.Class<?> objectClass,
IAnnotationFinder finder)
|
static boolean |
MethodHelper.isEnabled(java.lang.reflect.Method m,
IAnnotationFinder finder)
|
static boolean |
TestNGClassFinder.isTestNGClass(java.lang.Class cls,
IAnnotationFinder annotationFinder)
Checks if class is a testng class based on the IAnnotationFinder
passed in, which may be a jdk14 or jdk15 IAnnotationFinder instance. |
Constructors in org.testng.internal with parameters of type IAnnotationFinder | |
---|---|
BaseTestMethod(java.lang.reflect.Method method,
IAnnotationFinder annotationFinder)
Constructs a BaseTestMethod TODO cquezel JavaDoc. |
|
ClassImpl(java.lang.Class cls,
java.lang.Object instance,
java.util.Map<java.lang.Class,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
IObjectFactory objectFactory)
|
|
ConfigurationMethod(java.lang.reflect.Method method,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
java.lang.String[] beforeGroups,
java.lang.String[] afterGroups)
|
|
FactoryMethod(java.lang.reflect.Method method,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext)
|
|
Invoker(ITestContext testContext,
ITestResultNotifier notifier,
SuiteRunState state,
IAnnotationFinder annotationFinder,
boolean skipFailedInvocationCounts)
|
|
TestNGClassFinder(java.lang.Class[] classes,
java.util.Map<java.lang.Class,java.util.List<java.lang.Object>> instanceMap,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext)
|
|
TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder)
Constructs a TestNGMethod |
|
TestNGMethodFinder(RunInfo runInfo,
IAnnotationFinder annotationFinder)
|
Uses of IAnnotationFinder in org.testng.internal.annotations |
---|
Classes in org.testng.internal.annotations that implement IAnnotationFinder | |
---|---|
class |
JDK14AnnotationFinder
This class implements IAnnotationFinder with QDox for JDK 1.4 |
class |
JDK15AnnotationFinder
This class implements IAnnotationFinder with JDK5 annotations Created on Dec 20, 2005 |
Methods in org.testng.internal.annotations with parameters of type IAnnotationFinder | |
---|---|
static IConfiguration |
AnnotationHelper.findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor)
|
static IConfiguration |
AnnotationHelper.findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Method m)
|
static IFactory |
AnnotationHelper.findFactory(IAnnotationFinder finder,
java.lang.reflect.Method m)
|
static ITestNGMethod[] |
AnnotationHelper.findMethodsWithAnnotation(java.lang.Class rootClass,
java.lang.Class annotationClass,
IAnnotationFinder annotationFinder)
Delegation method for creating the list of ITestMethod s to be
analysed. |
static ITest |
AnnotationHelper.findTest(IAnnotationFinder finder,
java.lang.Class cls)
|
static ITest |
AnnotationHelper.findTest(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor)
|
static ITest |
AnnotationHelper.findTest(IAnnotationFinder finder,
java.lang.reflect.Method m)
|
Uses of IAnnotationFinder in org.testng.junit |
---|
Constructors in org.testng.junit with parameters of type IAnnotationFinder | |
---|---|
JUnitMethodFinder(java.lang.String testName,
IAnnotationFinder finder)
|
Uses of IAnnotationFinder in org.testng.remote |
---|
Methods in org.testng.remote with parameters of type IAnnotationFinder | |
---|---|
java.util.List<ISuite> |
SuiteDispatcher.dispatch(java.util.List<XmlSuite> suites,
java.lang.String outputDir,
IAnnotationFinder javadocAnnotationFinder,
IAnnotationFinder jdkAnnotationFinder,
java.util.List<ITestListener> testListeners)
Dispatch test suites |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |