|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotationTransformer2
Use this interface instead of IAnnotationTransformer if you want to modify any TestNG annotation besides @Test.
| Method Summary | |
|---|---|
void |
transform(IConfigurationAnnotation annotation,
Class testClass,
Constructor testConstructor,
Method testMethod)
Transform an IConfiguration annotation. |
void |
transform(IDataProviderAnnotation annotation,
Method method)
Transform an IDataProvider annotation. |
void |
transform(IFactoryAnnotation annotation,
Method method)
Transform an IFactory annotation. |
| Methods inherited from interface org.testng.IAnnotationTransformer |
|---|
transform |
| Method Detail |
|---|
void transform(IConfigurationAnnotation annotation,
Class testClass,
Constructor testConstructor,
Method testMethod)
annotation - The annotation that was read from your
test class.testClass - If the annotation was found on a class, this
parameter represents this class (null otherwise).testConstructor - If the annotation was found on a constructor,
this parameter represents this constructor (null otherwise).testMethod - If the annotation was found on a method,
this parameter represents this method (null otherwise).
void transform(IDataProviderAnnotation annotation,
Method method)
method - The method annotated with the IDataProvider annotation.
void transform(IFactoryAnnotation annotation,
Method method)
method - The method annotated with the IFactory annotation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||