Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.junit | |
org.testng.reporters | |
org.testng.xml | |
org.testng.xml.dom | |
org.testng.xml.internal |
Modifier and Type | Field and Description |
---|---|
private XmlTest |
TestRunner.m_xmlTest |
private XmlTest |
TestClass.xmlTest |
Modifier and Type | Method and Description |
---|---|
XmlTest |
TestRunner.getCurrentXmlTest() |
XmlTest |
ITestContext.getCurrentXmlTest() |
XmlTest |
TestRunner.getTest() |
XmlTest |
ITestNGMethod.getXmlTest() |
XmlTest |
TestClass.getXmlTest() |
XmlTest |
IClass.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
ITestNGMethod.findMethodParameters(XmlTest test) |
ITestNGMethod[] |
ITestMethodFinder.getTestMethods(java.lang.Class<?> cls,
XmlTest xmlTest) |
private void |
TestClass.init(IClass cls,
ITestMethodFinder testMethodFinder,
IAnnotationFinder annotationFinder,
XmlTest xmlTest,
XmlClass xmlClass) |
private void |
TestRunner.init(IConfiguration configuration,
ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder annotationFinder,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners) |
private void |
TestRunner.initMetaGroups(XmlTest xmlTest)
Initialize meta groups
|
private void |
TestRunner.initRunInfo(XmlTest xmlTest) |
TestRunner |
SuiteRunner.DefaultTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
SuiteRunner.ProxyTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
SuiteRunner.DefaultTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
TestRunner |
SuiteRunner.ProxyTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
TestRunner |
ITestRunnerFactory2.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Produces a new
TestRunner |
private void |
TestRunner.privateRun(XmlTest xmlTest)
Main method that create a graph of methods and then pass it to the
graph executor to run them.
|
Constructor and Description |
---|
TestClass(IClass cls,
ITestMethodFinder testMethodFinder,
IAnnotationFinder annotationFinder,
RunInfo runInfo,
XmlTest xmlTest,
XmlClass xmlClass) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.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,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners,
java.util.Comparator<ITestNGMethod> comparator) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners,
java.util.Comparator<ITestNGMethod> comparator,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
Modifier and Type | Field and Description |
---|---|
private XmlTest |
BaseTestMethod.m_xmlTest |
private XmlTest |
NoOpTestClass.m_xmlTest |
Modifier and Type | Method and Description |
---|---|
XmlTest |
ITestResultNotifier.getTest() |
XmlTest |
ClassImpl.getXmlTest() |
XmlTest |
ClonedMethod.getXmlTest() |
XmlTest |
BaseTestMethod.getXmlTest() |
XmlTest |
NoOpTestClass.getXmlTest() |
XmlTest |
WrappedTestNGMethod.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
BaseTestMethod.calculateXmlGroupDependencies(XmlTest xmlTest) |
private static ListMultiMap<ITestNGMethod,ITestNGMethod> |
DynamicGraphHelper.createClassDependencies(ITestNGMethod[] methods,
XmlTest test) |
static DynamicGraph<ITestNGMethod> |
DynamicGraphHelper.createDynamicGraph(ITestNGMethod[] methods,
XmlTest xmlTest) |
static java.lang.Object |
ClassHelper.createInstance(java.lang.Class<?> declaringClass,
java.util.Map<java.lang.Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
ITestObjectFactory objectFactory)
Create an instance for the given class.
|
static java.lang.Object |
ClassHelper.createInstance1(java.lang.Class<?> declaringClass,
java.util.Map<java.lang.Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
IObjectFactory objectFactory) |
void |
ParametersTest.filterOutInJectedTypesFromOptionalValuesTest(XmlTest xmlTest,
java.lang.String testdata) |
private static java.util.Collection<XmlClass> |
ClassHelper.findClassesInSameTest(java.lang.Class<?> cls,
XmlTest xmlTest) |
private java.lang.String |
TestNGMethod.findDescription(ITestAnnotation testAnnotation,
XmlTest xmlTest) |
java.util.Map<java.lang.String,java.lang.String> |
ClonedMethod.findMethodParameters(XmlTest test) |
java.util.Map<java.lang.String,java.lang.String> |
BaseTestMethod.findMethodParameters(XmlTest test) |
java.util.Map<java.lang.String,java.lang.String> |
WrappedTestNGMethod.findMethodParameters(XmlTest test) |
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
java.lang.Class<?> cls,
XmlClass xmlClass,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This method stands deprecated as of TestNG v6.13
|
private static java.lang.String[] |
FactoryMethod.getAllGroups(java.lang.Class<?> declaringClass,
XmlTest xmlTest,
IAnnotationFinder annotationFinder) |
ITestNGMethod[] |
TestNGMethodFinder.getTestMethods(java.lang.Class<?> clazz,
XmlTest xmlTest) |
private void |
TestNGMethod.init(XmlTest xmlTest) |
private static boolean |
ClassBasedParallelWorker.isSequential(ITestAnnotation test,
XmlTest xmlTest) |
void |
BaseTestMethod.setXmlTest(XmlTest xmlTest) |
Constructor and Description |
---|
ClassImpl(ITestContext context,
java.lang.Class<?> cls,
XmlClass xmlClass,
java.lang.Object instance,
java.util.Map<java.lang.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,
java.lang.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,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext,
ITestObjectFactory objectFactory,
java.util.Map<java.lang.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,
java.util.Map<java.lang.Class<?>,java.util.List<java.lang.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,
java.util.Map<java.lang.Class<?>,java.util.List<java.lang.Object>> instanceMap,
XmlTest xmlTest,
IConfiguration configuration,
ITestContext testContext,
java.util.Map<java.lang.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,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder,
boolean initialize,
XmlTest xmlTest,
java.lang.Object instance) |
TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder,
XmlTest xmlTest,
java.lang.Object instance)
Constructs a
TestNGMethod |
Modifier and Type | Method and Description |
---|---|
static ITestNGMethod[] |
AnnotationHelper.findMethodsWithAnnotation(java.lang.Class<?> rootClass,
java.lang.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(java.lang.Class cls,
XmlTest xmlTest) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<XmlClass> |
FailedReporter.createXmlClasses(java.util.List<ITestNGMethod> methods,
XmlTest srcXmlTest) |
private void |
FailedReporter.createXmlTest(ITestContext context,
java.util.List<ITestNGMethod> methods,
XmlTest srcXmlTest)
Generate testng-failed.xml
|
private static java.util.Map<java.lang.String,java.lang.String> |
FailedReporter.findMethodLocalParameters(XmlTest srcXmlTest,
ITestNGMethod method)
Get local parameters of one include method from origin test xml.
|
private void |
FailedReporter.generateXmlTest(XmlTest xmlTest,
ITestContext context,
java.util.Set<ITestResult> failedTests,
java.util.Set<ITestResult> skippedTests) |
Modifier and Type | Field and Description |
---|---|
private XmlTest |
TestNGContentHandler.m_currentTest |
private XmlTest |
XmlClass.m_xmlTest |
Modifier and Type | Field and Description |
---|---|
private java.util.List<XmlTest> |
XmlSuite.m_tests
Tests in suite.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<XmlTest> |
XmlSuite.getTests()
Returns the tests.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlSuite.addTest(XmlTest test) |
java.lang.String |
DefaultXmlWeaver.asXml(XmlTest xmlTest,
java.lang.String indent) |
java.lang.String |
IWeaveXml.asXml(XmlTest xmlTest,
java.lang.String indent)
Helps represent the contents of
XmlTest as a String. |
(package private) static java.lang.String |
XmlWeaver.asXml(XmlTest xmlTest,
java.lang.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(java.util.List<XmlTest> tests) |
Modifier and Type | Method and Description |
---|---|
private void |
DomUtil.populateTest(XmlTest xmlTest,
org.w3c.dom.Node item) |
private static void |
XDom.testNoPackage(XmlTest t) |
private void |
DomUtil.xmlDefine(XmlTest xmlTest,
org.w3c.dom.Node item)
Parse the
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<XmlTest> |
TestNamesMatcher.matchedTests |
Modifier and Type | Method and Description |
---|---|
java.util.List<XmlTest> |
TestNamesMatcher.getMatchedTests() |
Modifier and Type | Method and Description |
---|---|
private static XmlSuite |
TestNamesMatcher.cleanClone(XmlSuite xmlSuite,
java.util.List<XmlTest> tests) |