Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.junit |
Modifier and Type | Method and Description |
---|---|
ConstructorOrMethod |
ITestNGMethod.getConstructorOrMethod() |
Modifier and Type | Field and Description |
---|---|
protected ConstructorOrMethod |
BaseTestMethod.m_method |
Modifier and Type | Method and Description |
---|---|
static ConstructorOrMethod |
ClassHelper.findDeclaredFactoryMethod(java.lang.Class<?> cls,
IAnnotationFinder finder)
For the given class, returns the method annotated with @Factory or null
if none is found.
|
ConstructorOrMethod |
BaseTestMethod.getConstructorOrMethod() |
ConstructorOrMethod |
ClonedMethod.getConstructorOrMethod() |
Modifier and Type | Method and Description |
---|---|
private static DataProviderHolder |
Parameters.findDataProvider(java.lang.Object instance,
ITestClass clazz,
ConstructorOrMethod m,
IAnnotationFinder finder,
ITestContext context) |
private static IDataProvidable |
Parameters.findDataProviderInfo(ITestClass clazz,
ConstructorOrMethod m,
IAnnotationFinder finder)
Find the data provider info (data provider name and class) on either @Test(dataProvider),
|
Constructor and Description |
---|
BaseTestMethod(java.lang.String methodName,
ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
java.lang.Object instance) |
ConfigurationMethod(ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
java.lang.String[] beforeGroups,
java.lang.String[] afterGroups,
boolean initialize,
java.lang.Object instance) |
ConfigurationMethod(ConstructorOrMethod com,
IAnnotationFinder annotationFinder,
boolean isBeforeSuite,
boolean isAfterSuite,
boolean isBeforeTest,
boolean isAfterTest,
boolean isBeforeClass,
boolean isAfterClass,
boolean isBeforeMethod,
boolean isAfterMethod,
java.lang.String[] beforeGroups,
java.lang.String[] afterGroups,
java.lang.Object instance) |
FactoryMethod(ConstructorOrMethod com,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext) |
Modifier and Type | Class and Description |
---|---|
class |
JUnit4ConfigurationMethod |
class |
JUnit4SpockMethod |
Modifier and Type | Method and Description |
---|---|
private static ConstructorOrMethod |
JUnit4TestMethod.getMethod(org.junit.runner.Description desc) |
private static ConstructorOrMethod |
JUnit3TestMethod.getMethod(junit.framework.Test t) |
Constructor and Description |
---|
JUnitTestMethod(JUnitTestClass owner,
ConstructorOrMethod method,
java.lang.Object instance) |
JUnitTestMethod(JUnitTestClass owner,
java.lang.String methodName,
ConstructorOrMethod method,
java.lang.Object instance) |