org.testng.internal
Class TestNGClassFinder

java.lang.Object
  extended by org.testng.internal.BaseClassFinder
      extended by 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

Constructor Summary
TestNGClassFinder(java.lang.Class[] classes, java.util.Map<java.lang.Class,java.util.List<java.lang.Object>> instanceMap, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestContext testContext)
           
 
Method Summary
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.
static void ppp(java.lang.String s)
           
 
Methods inherited from class org.testng.internal.BaseClassFinder
classExists, findOrCreateIClass, findTestClasses, getExistingClasses, getIClass, putIClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 tested
annotationFinder - 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.