| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | transform(ITestAnnotation
The annotation that was read from your test class. annotation, Class<T> If the annotation was found on a class, this parameter represents this class
(null otherwise). testClass, Constructor<T> If the annotation was found on a constructor, this parameter represents
this constructor (null otherwise). testConstructor, Method If the annotation was found on a method, this parameter represents this
method (null otherwise). testMethod)Overrides org. Overrides default org. |
| public void | transform(ITestAnnotation annotation, Class<T> testClass, Constructor<T> cons, Method tm, Class<?> clazz)
Overrides org. Overrides default org. |
| DefaultAnnotationTransformer | back to summary |
|---|---|
| public DefaultAnnotationTransformer() | |
| transform | back to summary |
|---|---|
| public void transform(ITestAnnotation annotation, Class<T> testClass, Constructor<T> testConstructor, Method testMethod) Overrides org. Overrides default org. Doc from org. This method will be invoked by TestNG to give you a chance to modify a TestNG annotation read from your test classes. You can change the values you need by calling any of the setters on the ITest interface. Note that only one of the three parameters testClass, testConstructor and testMethod will be non-null.
| |
| transform | back to summary |
|---|---|
| public void transform(ITestAnnotation annotation, Class<T> testClass, Constructor<T> cons, Method tm, Class<?> clazz) Overrides org. Overrides default org.
| |