Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.junit | |
org.testng.xml | |
org.testng.xml.internal |
Modifier and Type | Method and Description |
---|---|
XmlTest |
ITestContext.getCurrentXmlTest() |
XmlTest |
TestRunner.getCurrentXmlTest() |
XmlTest |
TestRunner.getTest() |
XmlTest |
IClass.getXmlTest() |
XmlTest |
ITestNGMethod.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
ITestNGMethod.findMethodParameters(XmlTest test) |
ITestNGMethod[] |
ITestMethodFinder.getTestMethods(Class<?> cls,
XmlTest xmlTest) |
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners) |
TestRunner |
ITestRunnerFactory2.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Produces a new
TestRunner |
Constructor and Description |
---|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners)
This constructor is used by testng-remote, any changes related to it please contact with testng-team.
|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
Modifier and Type | Method and Description |
---|---|
XmlTest |
ITestResultNotifier.getTest() |
XmlTest |
NoOpTestClass.getXmlTest() |
XmlTest |
ClonedMethod.getXmlTest() |
XmlTest |
ClassImpl.getXmlTest() |
XmlTest |
BaseTestMethod.getXmlTest() |
XmlTest |
WrappedTestNGMethod.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
static DynamicGraph<ITestNGMethod> |
DynamicGraphHelper.createDynamicGraph(ITestNGMethod[] methods,
XmlTest xmlTest) |
static Object |
ClassHelper.createInstance(Class<?> declaringClass,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
ITestObjectFactory objectFactory)
Create an instance for the given class.
|
static Object |
ClassHelper.createInstance1(Class<?> declaringClass,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
IObjectFactory objectFactory) |
void |
ParametersTest.filterOutInJectedTypesFromOptionalValuesTest(XmlTest xmlTest,
String testdata) |
Map<String,String> |
ClonedMethod.findMethodParameters(XmlTest test) |
Map<String,String> |
BaseTestMethod.findMethodParameters(XmlTest test) |
Map<String,String> |
WrappedTestNGMethod.findMethodParameters(XmlTest test) |
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This method stands deprecated as of TestNG v6.13
|
ITestNGMethod[] |
TestNGMethodFinder.getTestMethods(Class<?> clazz,
XmlTest xmlTest) |
void |
BaseTestMethod.setXmlTest(XmlTest xmlTest) |
Constructor and Description |
---|
ClassImpl(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
FactoryMethod(ConstructorOrMethod com,
Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
FactoryMethod(ConstructorOrMethod com,
Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
TestNGClassFinder(ClassInfoMap cim,
Map<Class<?>,List<Object>> instanceMap,
XmlTest xmlTest,
IConfiguration configuration,
ITestContext testContext)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
TestNGClassFinder(ClassInfoMap cim,
Map<Class<?>,List<Object>> instanceMap,
XmlTest xmlTest,
IConfiguration configuration,
ITestContext testContext,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
TestNGClassFinder(ClassInfoMap cim,
XmlTest xmlTest,
IConfiguration configuration,
ITestContext testContext)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
TestNGClassFinder(ClassInfoMap cim,
XmlTest xmlTest,
IConfiguration configuration,
ITestContext testContext,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
TestNGMethod(Method method,
IAnnotationFinder finder,
XmlTest xmlTest,
Object instance)
Constructs a
TestNGMethod |
Modifier and Type | Method and Description |
---|---|
static ITestNGMethod[] |
AnnotationHelper.findMethodsWithAnnotation(Class<?> rootClass,
Class<? extends IAnnotation> annotationClass,
IAnnotationFinder annotationFinder,
XmlTest xmlTest)
Delegation method for creating the list of
ITestMethod s to be
analysed. |
Modifier and Type | Method and Description |
---|---|
XmlTest |
JUnitTestClass.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
ITestNGMethod[] |
JUnitMethodFinder.getTestMethods(Class cls,
XmlTest xmlTest) |
Modifier and Type | Method and Description |
---|---|
List<XmlTest> |
XmlSuite.getTests()
Returns the tests.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlSuite.addTest(XmlTest test) |
String |
IWeaveXml.asXml(XmlTest xmlTest,
String indent)
Helps represent the contents of
XmlTest as a String. |
void |
XmlClass.setXmlTest(XmlTest test) |
Modifier and Type | Method and Description |
---|---|
void |
XmlSuite.setTests(List<XmlTest> tests) |
Modifier and Type | Method and Description |
---|---|
List<XmlTest> |
TestNamesMatcher.getMatchedTests() |
Copyright © 2018. All rights reserved.