public class DefaultAnnotationTransformer extends IgnoreListener implements IAnnotationTransformer
| Constructor and Description |
|---|
DefaultAnnotationTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
transform(ITestAnnotation annotation,
Class testClass,
Constructor testConstructor,
Method testMethod)
This method will be invoked by TestNG to give you a chance
to modify a TestNG annotation read from your test classes.
|
public void transform(ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod)
IAnnotationTransformertransform in interface IAnnotationTransformertransform in class IgnoreListenerannotation - 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).Copyright © 2024. All rights reserved.