org.testng.internal.annotations
Class AnnotationHelper
java.lang.Object
org.testng.internal.annotations.AnnotationHelper
public class AnnotationHelper
- extends java.lang.Object
Helper methods to find @Test and @Configuration tags. They minimize
the amount of casting we need to do.
Created on Dec 20, 2005
- Author:
- cbeust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURATION_CLASSES
public static java.lang.Class[] CONFIGURATION_CLASSES
AnnotationHelper
public AnnotationHelper()
findTest
public static ITest findTest(IAnnotationFinder finder,
java.lang.Class cls)
findTest
public static ITest findTest(IAnnotationFinder finder,
java.lang.reflect.Method m)
findFactory
public static IFactory findFactory(IAnnotationFinder finder,
java.lang.reflect.Method m)
findTest
public static ITest findTest(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor)
findConfiguration
public static IConfiguration findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor)
findConfiguration
public static IConfiguration findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Method m)
getAllAnnotations
public static java.lang.Class[] getAllAnnotations()
findMethodsWithAnnotation
public static ITestNGMethod[] findMethodsWithAnnotation(java.lang.Class rootClass,
java.lang.Class annotationClass,
IAnnotationFinder annotationFinder)
- Delegation method for creating the list of
ITestMethod
s to be
analysed.
Copyright © 2010. All Rights Reserved.