org.testng.internal
Class TestNGClassFinder
java.lang.Object
org.testng.internal.BaseClassFinder
org.testng.internal.TestNGClassFinder
- All Implemented Interfaces:
- ITestClassFinder
public class TestNGClassFinder
- extends BaseClassFinder
This class creates an ITestClass from a test class.
- Author:
- Cedric Beust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNGClassFinder
public TestNGClassFinder(java.lang.Class[] classes,
java.util.Map<java.lang.Class,java.util.List<java.lang.Object>> instanceMap,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext)
isTestNGClass
public static boolean isTestNGClass(java.lang.Class cls,
IAnnotationFinder annotationFinder)
- Checks if class is a testng class based on the
IAnnotationFinder
passed in, which may be a jdk14 or jdk15 IAnnotationFinder
instance.
- Parameters:
cls
- The class being testedannotationFinder
- The instance of annotation finder being used
- Returns:
- True if class has any testng annotations
ppp
public static void ppp(java.lang.String s)
Copyright © 2010. All Rights Reserved.