public class JUnitMethodFinder extends java.lang.Object implements ITestMethodFinder
| Modifier and Type | Field and Description |
|---|---|
private IAnnotationFinder |
m_annotationFinder |
private java.lang.String |
m_testName |
| Constructor and Description |
|---|
JUnitMethodFinder(java.lang.String testName,
IAnnotationFinder finder) |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.reflect.Constructor |
findConstructor(java.lang.Class cls,
java.lang.Class[] parameters) |
ITestNGMethod[] |
getAfterClassMethods(java.lang.Class cls) |
ITestNGMethod[] |
getAfterGroupsConfigurationMethods(java.lang.Class testClass) |
ITestNGMethod[] |
getAfterSuiteMethods(java.lang.Class cls) |
ITestNGMethod[] |
getAfterTestConfigurationMethods(java.lang.Class testClass) |
ITestNGMethod[] |
getAfterTestMethods(java.lang.Class cls) |
ITestNGMethod[] |
getBeforeClassMethods(java.lang.Class cls) |
ITestNGMethod[] |
getBeforeGroupsConfigurationMethods(java.lang.Class testClass) |
ITestNGMethod[] |
getBeforeSuiteMethods(java.lang.Class cls) |
ITestNGMethod[] |
getBeforeTestConfigurationMethods(java.lang.Class testClass) |
ITestNGMethod[] |
getBeforeTestMethods(java.lang.Class cls) |
ITestNGMethod[] |
getTestMethods(java.lang.Class cls,
XmlTest xmlTest) |
private java.lang.Object |
instantiate(java.lang.Class cls) |
private static void |
ppp(java.lang.String s) |
private ITestNGMethod[] |
privateFindTestMethods(INameFilter filter,
java.lang.Class cls) |
private java.lang.String m_testName
private IAnnotationFinder m_annotationFinder
public JUnitMethodFinder(java.lang.String testName,
IAnnotationFinder finder)
private java.lang.reflect.Constructor findConstructor(java.lang.Class cls,
java.lang.Class[] parameters)
public ITestNGMethod[] getTestMethods(java.lang.Class cls, XmlTest xmlTest)
getTestMethods in interface ITestMethodFinderprivate ITestNGMethod[] privateFindTestMethods(INameFilter filter, java.lang.Class cls)
private static void ppp(java.lang.String s)
private java.lang.Object instantiate(java.lang.Class cls)
public ITestNGMethod[] getBeforeTestMethods(java.lang.Class cls)
getBeforeTestMethods in interface ITestMethodFinderpublic ITestNGMethod[] getAfterTestMethods(java.lang.Class cls)
getAfterTestMethods in interface ITestMethodFinderpublic ITestNGMethod[] getAfterClassMethods(java.lang.Class cls)
getAfterClassMethods in interface ITestMethodFinderpublic ITestNGMethod[] getBeforeClassMethods(java.lang.Class cls)
getBeforeClassMethods in interface ITestMethodFinderpublic ITestNGMethod[] getBeforeSuiteMethods(java.lang.Class cls)
getBeforeSuiteMethods in interface ITestMethodFinderpublic ITestNGMethod[] getAfterSuiteMethods(java.lang.Class cls)
getAfterSuiteMethods in interface ITestMethodFinderpublic ITestNGMethod[] getBeforeTestConfigurationMethods(java.lang.Class testClass)
getBeforeTestConfigurationMethods in interface ITestMethodFinderpublic ITestNGMethod[] getAfterTestConfigurationMethods(java.lang.Class testClass)
getAfterTestConfigurationMethods in interface ITestMethodFinderpublic ITestNGMethod[] getBeforeGroupsConfigurationMethods(java.lang.Class testClass)
getBeforeGroupsConfigurationMethods in interface ITestMethodFinderpublic ITestNGMethod[] getAfterGroupsConfigurationMethods(java.lang.Class testClass)
getAfterGroupsConfigurationMethods in interface ITestMethodFinder