|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.testng.internal.annotations.DefaultAnnotationTransformer
public class DefaultAnnotationTransformer
Constructor Summary | |
---|---|
DefaultAnnotationTransformer()
|
Method Summary | |
---|---|
void |
transform(ITest annotation,
java.lang.Class testClass,
java.lang.reflect.Constructor testConstructor,
java.lang.reflect.Method testMethod)
This method will be invoked by TestNG to give you a chance to modify a TestNG annotation read from your test classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAnnotationTransformer()
Method Detail |
---|
public void transform(ITest annotation, java.lang.Class testClass, java.lang.reflect.Constructor testConstructor, java.lang.reflect.Method testMethod)
IAnnotationTransformer
transform
in interface IAnnotationTransformer
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).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |