Uses of Class
org.testng.internal.ConstructorOrMethod
-
Packages that use ConstructorOrMethod Package Description org.testng org.testng.internal org.testng.internal.annotations org.testng.junit -
-
Uses of ConstructorOrMethod in org.testng
Methods in org.testng that return ConstructorOrMethod Modifier and Type Method Description ConstructorOrMethod
ITestNGMethod. getConstructorOrMethod()
-
Uses of ConstructorOrMethod in org.testng.internal
Fields in org.testng.internal declared as ConstructorOrMethod Modifier and Type Field Description protected ConstructorOrMethod
BaseTestMethod. m_method
Methods in org.testng.internal that return ConstructorOrMethod Modifier and Type Method Description ConstructorOrMethod
BaseTestMethod. getConstructorOrMethod()
ConstructorOrMethod
ClonedMethod. getConstructorOrMethod()
ConstructorOrMethod
WrappedTestNGMethod. getConstructorOrMethod()
Methods in org.testng.internal that return types with arguments of type ConstructorOrMethod Modifier and Type Method Description static java.util.List<ConstructorOrMethod>
ClassHelper. findDeclaredFactoryMethods(java.lang.Class<?> cls, IAnnotationFinder finder)
For the given class, returns the method annotated with @Factory or null if none is found.Methods in org.testng.internal with parameters of type ConstructorOrMethod Modifier and Type Method Description private IConfigurable
ConfigInvoker. computeConfigurableInstance(ConstructorOrMethod method, java.lang.Object targetInstance)
private static java.lang.Object[]
Parameters. createParameters(ConstructorOrMethod m, Parameters.MethodParameters params, IAnnotationFinder finder, XmlSuite xmlSuite, java.lang.String atName)
private static java.lang.Object[]
Parameters. createParametersForMethod(ConstructorOrMethod method, java.lang.Class<?>[] parameterTypes, java.lang.String[] optionalValues, java.lang.String methodAnnotation, java.lang.String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite)
private static java.lang.String[]
Parameters. extractOptionalValues(IAnnotationFinder finder, ConstructorOrMethod consMethod)
private static Parameter[]
Parameters. extractParameters(ConstructorOrMethod method)
private static IDataProviderMethod
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),@Factory(dataProvider)
on a method or @Factory(dataProvider) on a constructor.private void
FactoryMethod. init(java.lang.Object instance, IAnnotationFinder annotationFinder, ConstructorOrMethod com)
protected static void
MethodInvocationHelper. invokeMethodConsideringTimeout(ITestNGMethod tm, ConstructorOrMethod method, java.lang.Object targetInstance, java.lang.Object[] params, ITestResult testResult)
private ClassInfoMap
TestNGClassFinder. processFactory(IClass ic, ConstructorOrMethod factoryMethod)
private void
TestNGClassFinder. processMethod(IConfiguration configuration, IClass ic, ConstructorOrMethod factoryMethod)
(package private) static java.lang.StringBuilder
BaseTestMethod. stringify(java.lang.String cls, ConstructorOrMethod method)
Constructors in org.testng.internal with parameters of type ConstructorOrMethod Constructor 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, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory, DataProviderHolder holder)
-
Uses of ConstructorOrMethod in org.testng.internal.annotations
Methods in org.testng.internal.annotations with parameters of type ConstructorOrMethod Modifier and Type Method Description <A extends IAnnotation>
AIAnnotationFinder. findAnnotation(ConstructorOrMethod com, java.lang.Class<A> annotationClass)
<A extends IAnnotation>
AJDK15AnnotationFinder. findAnnotation(ConstructorOrMethod com, java.lang.Class<A> annotationClass)
static IConfigurationAnnotation
AnnotationHelper. findConfiguration(IAnnotationFinder finder, ConstructorOrMethod m)
-
Uses of ConstructorOrMethod in org.testng.junit
Subclasses of ConstructorOrMethod in org.testng.junit Modifier and Type Class Description class
JUnit4ConfigurationMethod
class
JUnit4SpockMethod
Methods in org.testng.junit that return ConstructorOrMethod Modifier and Type Method Description private static ConstructorOrMethod
JUnit3TestMethod. getMethod(junit.framework.Test t)
private static ConstructorOrMethod
JUnit4TestMethod. getMethod(java.lang.Class<?> c, org.junit.runner.Description desc)
Methods in org.testng.junit with parameters of type ConstructorOrMethod Modifier and Type Method Description boolean
INameFilter. accept(ConstructorOrMethod method)
Constructors in org.testng.junit with parameters of type ConstructorOrMethod Constructor Description JUnitTestMethod(JUnitTestClass owner, java.lang.String methodName, ConstructorOrMethod method, java.lang.Object instance)
JUnitTestMethod(JUnitTestClass owner, ConstructorOrMethod method, java.lang.Object instance)
-