Uses of Class
org.testng.xml.XmlTest
-
Packages that use XmlTest 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 -
-
Uses of XmlTest in org.testng
Fields in org.testng declared as XmlTest Modifier and Type Field Description private XmlTest
TestRunner. m_xmlTest
private XmlTest
TestClass. xmlTest
Methods in org.testng that return XmlTest Modifier and Type Method Description XmlTest
ITestContext. getCurrentXmlTest()
XmlTest
TestRunner. getCurrentXmlTest()
XmlTest
TestRunner. getTest()
XmlTest
IClass. getXmlTest()
XmlTest
ITestNGMethod. getXmlTest()
XmlTest
TestClass. getXmlTest()
Methods in org.testng with parameters of type XmlTest Modifier and Type Method 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 groupsprivate void
TestRunner. initRunInfo(XmlTest xmlTest)
TestRunner
ITestRunnerFactory. newTestRunner(ISuite suite, XmlTest test, java.util.Collection<IInvokedMethodListener> listeners, java.util.List<IClassListener> classListeners)
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 newTestRunner
TestRunner
SuiteRunner.DefaultTestRunnerFactory. 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)
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)
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.Constructors in org.testng with parameters of type XmlTest Constructor 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)
-
Uses of XmlTest in org.testng.internal
Fields in org.testng.internal declared as XmlTest Modifier and Type Field Description private XmlTest
BaseTestMethod. m_xmlTest
private XmlTest
NoOpTestClass. m_xmlTest
Methods in org.testng.internal that return XmlTest Modifier and Type Method Description XmlTest
ITestResultNotifier. getTest()
XmlTest
BaseTestMethod. getXmlTest()
XmlTest
ClassImpl. getXmlTest()
XmlTest
ClonedMethod. getXmlTest()
XmlTest
NoOpTestClass. getXmlTest()
XmlTest
WrappedTestNGMethod. getXmlTest()
Methods in org.testng.internal with parameters of type XmlTest Modifier and Type Method 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>
BaseTestMethod. findMethodParameters(XmlTest test)
java.util.Map<java.lang.String,java.lang.String>
ClonedMethod. 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.13private 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)
private static void
Yaml. toYaml(java.lang.StringBuilder result, java.lang.String sp, XmlTest t)
Constructors in org.testng.internal with parameters of type XmlTest Constructor 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.13FactoryMethod(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.13FactoryMethod(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.13TestNGClassFinder(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.13TestNGClassFinder(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.13TestNGClassFinder(ClassInfoMap cim, XmlTest xmlTest, IConfiguration configuration, ITestContext testContext)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13TestNGClassFinder(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.13TestNGMethod(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 aTestNGMethod
-
Uses of XmlTest in org.testng.internal.annotations
Methods in org.testng.internal.annotations with parameters of type XmlTest Modifier and Type Method 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 ofITestMethod
s to be analysed. -
Uses of XmlTest in org.testng.junit
Methods in org.testng.junit that return XmlTest Modifier and Type Method Description XmlTest
JUnitTestClass. getXmlTest()
Methods in org.testng.junit with parameters of type XmlTest Modifier and Type Method Description ITestNGMethod[]
JUnitMethodFinder. getTestMethods(java.lang.Class cls, XmlTest xmlTest)
-
Uses of XmlTest in org.testng.reporters
Methods in org.testng.reporters with parameters of type XmlTest Modifier and Type Method 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.xmlprivate 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)
-
Uses of XmlTest in org.testng.xml
Fields in org.testng.xml declared as XmlTest Modifier and Type Field Description private XmlTest
TestNGContentHandler. m_currentTest
private XmlTest
XmlClass. m_xmlTest
Fields in org.testng.xml with type parameters of type XmlTest Modifier and Type Field Description private java.util.List<XmlTest>
XmlSuite. m_tests
Tests in suite.Methods in org.testng.xml that return types with arguments of type XmlTest Modifier and Type Method Description java.util.List<XmlTest>
XmlSuite. getTests()
Returns the tests.Methods in org.testng.xml with parameters of type XmlTest Modifier and Type Method 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 ofXmlTest
as a String.(package private) static java.lang.String
XmlWeaver. asXml(XmlTest xmlTest, java.lang.String indent)
Helps represent the contents ofXmlTest
as a String.void
XmlClass. setXmlTest(XmlTest test)
Method parameters in org.testng.xml with type arguments of type XmlTest Modifier and Type Method Description void
XmlSuite. setTests(java.util.List<XmlTest> tests)
-
Uses of XmlTest in org.testng.xml.dom
Methods in org.testng.xml.dom with parameters of type XmlTest Modifier and Type Method 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 thetag. -
Uses of XmlTest in org.testng.xml.internal
Fields in org.testng.xml.internal with type parameters of type XmlTest Modifier and Type Field Description private java.util.List<XmlTest>
TestNamesMatcher. matchedTests
Methods in org.testng.xml.internal that return types with arguments of type XmlTest Modifier and Type Method Description java.util.List<XmlTest>
TestNamesMatcher. getMatchedTests()
Method parameters in org.testng.xml.internal with type arguments of type XmlTest Modifier and Type Method Description private static XmlSuite
TestNamesMatcher. cleanClone(XmlSuite xmlSuite, java.util.List<XmlTest> tests)
-