Package | Description |
---|---|
org.testng.annotations | |
org.testng.internal | |
org.testng.internal.annotations |
Modifier and Type | Interface and Description |
---|---|
interface |
IConfigurationAnnotation
Encapsulate the @Configuration / @testng.configuration annotation
Created on Dec 20, 2005
|
interface |
IDataProviderAnnotation
Encapsulate the @DataProvider / @testng.data-provider annotation
Created on Dec 20, 2005
|
interface |
IFactoryAnnotation
Encapsulate the @Factory / @testng.factory annotation
Created on Dec 20, 2005
|
interface |
IListenersAnnotation |
interface |
IObjectFactoryAnnotation |
interface |
IParameterizable
Parent interface for annotations that can receive parameters.
|
interface |
IParametersAnnotation
Encapsulate the @Parameters / @testng.parameters annotation
Created on Dec 20, 2005
|
interface |
ITestAnnotation
Encapsulate the @Test / @testng.test annotation.
|
interface |
ITestOrConfiguration
This interface captures methods common to @Test and @Configuration
Created on Dec 20, 2005
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.Class<? extends IAnnotation>> |
Parameters.ANNOTATION_MAP |
Modifier and Type | Interface and Description |
---|---|
interface |
IAfterClass |
interface |
IAfterGroups |
interface |
IAfterMethod |
interface |
IAfterSuite |
interface |
IAfterTest |
interface |
IAfterTests |
interface |
IBaseBeforeAfter
Base interface for IBeforeSuite, IAfterSuite, etc...
|
interface |
IBeforeClass |
interface |
IBeforeGroups |
interface |
IBeforeMethod |
interface |
IBeforeSuite |
interface |
IBeforeTest |
interface |
IListeners |
interface |
ITest |
Modifier and Type | Class and Description |
---|---|
class |
AfterSuiteAnnotation |
class |
BaseBeforeAfter |
class |
BeforeSuiteAnnotation |
class |
ConfigurationAnnotation
An implementation of IConfiguration
Created on Dec 16, 2005
|
class |
DataProviderAnnotation
An implementation of IDataProvider.
|
class |
FactoryAnnotation
An implementation of IFactory
Created on Dec 20, 2005
|
class |
ListenersAnnotation |
class |
ObjectFactoryAnnotation
The internal representation of @ObjectFactory
|
class |
ParametersAnnotation
An implementation of IParameters
Created on Dec 20, 2005
|
class |
TestAnnotation
An implementation of ITest
Created on Dec 20, 2005
|
class |
TestOrConfiguration |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<? extends IAnnotation>,java.lang.Class<? extends java.lang.annotation.Annotation>> |
JDK15AnnotationFinder.m_annotationMap |
private java.util.Map<Pair<java.lang.annotation.Annotation,?>,IAnnotation> |
JDK15AnnotationFinder.m_annotations |
Modifier and Type | Method and Description |
---|---|
<A extends IAnnotation> |
JDK15TagFactory.createTag(java.lang.Class<?> cls,
java.lang.reflect.Method method,
java.lang.annotation.Annotation a,
java.lang.Class<A> annotationClass,
IAnnotationTransformer transformer) |
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(java.lang.Class<?> cls,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(java.lang.Class<?> cls,
java.lang.Class<A> annotationClass) |
private <A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(java.lang.Class cls,
java.lang.annotation.Annotation a,
java.lang.Class<A> annotationClass,
java.lang.Class<?> testClass,
java.lang.reflect.Constructor<?> testConstructor,
java.lang.reflect.Method testMethod,
Pair<java.lang.annotation.Annotation,?> p) |
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(java.lang.reflect.Constructor<?> cons,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(java.lang.reflect.Constructor<?> cons,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(ITestNGMethod m,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(ITestNGMethod tm,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
IAnnotationFinder.findAnnotation(java.lang.reflect.Method m,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
JDK15AnnotationFinder.findAnnotation(java.lang.reflect.Method m,
java.lang.Class<A> annotationClass) |
Modifier and Type | Method and Description |
---|---|
private IAnnotation |
JDK15TagFactory.createConfigurationTag(java.lang.Class<?> cls,
java.lang.annotation.Annotation a,
boolean beforeSuite,
boolean afterSuite,
boolean beforeTest,
boolean afterTest,
java.lang.String[] beforeGroups,
java.lang.String[] afterGroups,
boolean beforeClass,
boolean afterClass,
boolean beforeMethod,
boolean afterMethod,
boolean alwaysRun,
java.lang.String[] dependsOnGroups,
java.lang.String[] dependsOnMethods,
java.lang.String description,
boolean enabled,
java.lang.String[] groups,
boolean inheritGroups,
java.lang.String[] parameters,
boolean firstTimeOnly,
boolean lastTimeOnly,
long timeOut) |
private IAnnotation |
JDK15TagFactory.createDataProviderTag(java.lang.reflect.Method method,
java.lang.annotation.Annotation a) |
private IAnnotation |
JDK15TagFactory.createFactoryTag(java.lang.Class<?> cls,
java.lang.annotation.Annotation a) |
private IAnnotation |
JDK15TagFactory.createListenersTag(java.lang.Class<?> cls,
java.lang.annotation.Annotation a,
IAnnotationTransformer transformer) |
private IAnnotation |
JDK15TagFactory.createObjectFactoryTag(java.lang.annotation.Annotation a) |
private IAnnotation |
JDK15TagFactory.createParametersTag(java.lang.annotation.Annotation a) |
private IAnnotation |
JDK15TagFactory.createTestTag(java.lang.Class<?> cls,
java.lang.annotation.Annotation a,
IAnnotationTransformer transformer) |
private IAnnotation |
JDK15TagFactory.maybeCreateNewConfigurationTag(java.lang.Class<?> cls,
java.lang.annotation.Annotation a,
java.lang.Class<?> annotationClass) |
Modifier and Type | Method and Description |
---|---|
private void |
JDK15AnnotationFinder.transform(IAnnotation a,
java.lang.Class<?> testClass,
java.lang.reflect.Constructor<?> testConstructor,
java.lang.reflect.Method testMethod) |
Modifier and Type | Method and Description |
---|---|
static ITestNGMethod[] |
AnnotationHelper.findMethodsWithAnnotation(java.lang.Class<?> rootClass,
java.lang.Class<? extends IAnnotation> annotationClass,
IAnnotationFinder annotationFinder,
XmlTest xmlTest)
Delegation method for creating the list of
ITestMethod s to be
analysed. |
private static boolean |
AnnotationHelper.isAnnotationPresent(IAnnotationFinder annotationFinder,
java.lang.Class<?> cls,
java.lang.Class<? extends IAnnotation> annotationClass) |
private static boolean |
AnnotationHelper.isAnnotationPresent(IAnnotationFinder annotationFinder,
java.lang.reflect.Method m,
java.lang.Class<? extends IAnnotation> annotationClass) |