Package core.support.listeners
Class AnnotationTransformer
java.lang.Object
core.support.listeners.AnnotationTransformer
- All Implemented Interfaces:
org.testng.IAnnotationTransformer,org.testng.ITestNGListener
public class AnnotationTransformer extends Object implements org.testng.IAnnotationTransformer
Only runs through suite xml file
Running service runner directly will not go through AnnotationTransformer and only single csv file will run
- Author:
- ehsan.matean
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_TEST_RUNNER_PREFIXstatic StringTHREAD_COUNT -
Constructor Summary
Constructors Constructor Description AnnotationTransformer() -
Method Summary
Modifier and Type Method Description voidtransform(org.testng.annotations.ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testng.IAnnotationTransformer
transform, transform, transform, transform
-
Field Details
-
THREAD_COUNT
- See Also:
- Constant Field Values
-
API_TEST_RUNNER_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AnnotationTransformer
public AnnotationTransformer()
-
-
Method Details
-
transform
public void transform(org.testng.annotations.ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod)- Specified by:
transformin interfaceorg.testng.IAnnotationTransformer
-