Class ProductTestAnnotationTransformer
java.lang.Object
io.trino.tempto.internal.listeners.ProductTestAnnotationTransformer
- All Implemented Interfaces:
org.testng.IAnnotationTransformer,org.testng.ITestNGListener
public class ProductTestAnnotationTransformer
extends Object
implements org.testng.IAnnotationTransformer
Responsible for transforming the
Test annotations in the following ways:
- Ensure that the annotation is only on a test method and not a class or constructor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtransform(org.testng.annotations.ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod)
-
Constructor Details
-
ProductTestAnnotationTransformer
public ProductTestAnnotationTransformer()
-
-
Method Details
-
transform
public void transform(org.testng.annotations.ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod) - Specified by:
transformin interfaceorg.testng.IAnnotationTransformer
-