Uses of Class
org.testng.xml.XmlTest
-
-
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, SuiteRunner suiteRunner)
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)
default TestRunner
ITestRunnerFactory. 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
default TestRunner
ITestRunnerFactory. newTestRunner(ISuite suite, XmlTest test, java.util.Collection<IInvokedMethodListener> listeners, java.util.List<IClassListener> classListeners, DataProviderHolder holder)
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.DefaultTestRunnerFactory. newTestRunner(ISuite suite, XmlTest test, java.util.Collection<IInvokedMethodListener> listeners, java.util.List<IClassListener> classListeners, DataProviderHolder holder)
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)
TestRunner
SuiteRunner.ProxyTestRunnerFactory. newTestRunner(ISuite suite, XmlTest test, java.util.Collection<IInvokedMethodListener> listeners, java.util.List<IClassListener> classListeners, DataProviderHolder holder)
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(ITestObjectFactory objectFactory, IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass, java.lang.String errorMsgPrefix)
TestRunner(IConfiguration configuration, ISuite suite, XmlTest test, boolean skipFailedInvocationCounts, java.util.Collection<IInvokedMethodListener> invokedMethodListeners, java.util.List<IClassListener> classListeners, java.util.Comparator<ITestNGMethod> comparator, SuiteRunner suiteRunner)
TestRunner(IConfiguration configuration, ISuite suite, XmlTest test, boolean skipFailedInvocationCounts, java.util.Collection<IInvokedMethodListener> invokedMethodListeners, java.util.List<IClassListener> classListeners, SuiteRunner suiteRunner)
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, DataProviderHolder otherHolder, SuiteRunner suiteRunner)
-
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
private XmlTest
LiteWeightTestNGMethod. xmlTest
Fields in org.testng.internal with type parameters of type XmlTest Modifier and Type Field Description private java.util.function.Supplier<XmlTest>
RunInfo. 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
LiteWeightTestNGMethod. getXmlTest()
XmlTest
NoOpTestClass. getXmlTest()
XmlTest
RunInfo. 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 boolean
DynamicGraphHelper. canGroupByInstances(XmlTest xmlTest)
static ITestNGMethod[]
ConfigurationMethod. createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, java.lang.Object instance)
private static ListMultiMap<ITestNGMethod,ITestNGMethod>
DynamicGraphHelper. createClassDependencies(ITestNGMethod[] methods, XmlTest test)
static DynamicGraph<ITestNGMethod>
DynamicGraphHelper. createDynamicGraph(ITestNGMethod[] methods, XmlTest xmlTest)
private static ITestNGMethod[]
ConfigurationMethod. createMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder finder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, XmlTest xmlTest, java.lang.Object instance)
static ITestNGMethod[]
ConfigurationMethod. createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, java.lang.Object instance)
static ITestNGMethod[]
ConfigurationMethod. createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, java.lang.Object instance)
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>
LiteWeightTestNGMethod. findMethodParameters(XmlTest test)
java.util.Map<java.lang.String,java.lang.String>
WrappedTestNGMethod. findMethodParameters(XmlTest test)
(package private) static java.util.Map<java.lang.String,java.lang.String>
XmlTestUtils. findMethodParameters(XmlTest test, java.lang.String className, java.lang.String methodName)
private static java.lang.String[]
FactoryMethod. getAllGroups(ITestObjectFactory objectFactory, java.lang.Class<?> declaringClass, XmlTest xmlTest, IAnnotationFinder annotationFinder)
ITestNGMethod[]
TestNGMethodFinder. getTestMethods(java.lang.Class<?> clazz, XmlTest xmlTest)
private void
TestNGMethod. init(XmlTest xmlTest)
void
BaseTestMethod. setXmlTest(XmlTest xmlTest)
Constructors in org.testng.internal with parameters of type XmlTest Constructor Description ConfigurationMethod(ITestObjectFactory objectFactory, ConstructorOrMethod com, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, boolean isIgnoreFailure, java.lang.String[] beforeGroups, java.lang.String[] afterGroups, XmlTest xmlTest, java.lang.Object instance)
TestNGMethod(ITestObjectFactory objectFactory, java.lang.reflect.Method method, IAnnotationFinder finder, boolean initialize, XmlTest xmlTest, java.lang.Object instance)
TestNGMethod(ITestObjectFactory objectFactory, java.lang.reflect.Method method, IAnnotationFinder finder, XmlTest xmlTest, java.lang.Object instance)
Constructs aTestNGMethod
Constructor parameters in org.testng.internal with type arguments of type XmlTest Constructor Description RunInfo(java.util.function.Supplier<XmlTest> xmlTest)
-
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(ITestObjectFactory objectFactory, java.lang.Class<?> rootClass, java.lang.Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest)
-
Uses of XmlTest in org.testng.internal.invokers
Methods in org.testng.internal.invokers with parameters of type XmlTest Modifier and Type Method Description private static boolean
ClassBasedParallelWorker. isSequential(ITestAnnotation test, XmlTest xmlTest)
-
Uses of XmlTest in org.testng.internal.objects
Methods in org.testng.internal.objects with parameters of type XmlTest Modifier and Type Method Description (package private) static <T> T
SimpleObjectDispenser. createInstance(java.lang.Class<T> declaringClass, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory, boolean create, java.lang.String errorMsgPrefix)
private static <T> T
SimpleObjectDispenser. instantiateUsingDefaultConstructor(java.lang.Class<T> declaringClass, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, ITestObjectFactory factory)
private static <T> T
SimpleObjectDispenser. instantiateUsingParameterizedConstructor(IAnnotationFinder finder, java.lang.reflect.Constructor<T> constructor, XmlTest xmlTest, ITestObjectFactory objectFactory)
-
Uses of XmlTest in org.testng.internal.objects.pojo
Fields in org.testng.internal.objects.pojo declared as XmlTest Modifier and Type Field Description private XmlTest
DetailedAttributes. xmlTest
Methods in org.testng.internal.objects.pojo that return XmlTest Modifier and Type Method Description XmlTest
DetailedAttributes. getXmlTest()
Methods in org.testng.internal.objects.pojo with parameters of type XmlTest Modifier and Type Method Description void
DetailedAttributes. setXmlTest(XmlTest xmlTest)
-
Uses of XmlTest in org.testng.junit
Methods in org.testng.junit that return XmlTest Modifier and Type Method Description XmlTest
JUnitTestClass. getXmlTest()
Deprecated.Methods in org.testng.junit with parameters of type XmlTest Modifier and Type Method Description ITestNGMethod[]
JUnitMethodFinder. getTestMethods(java.lang.Class<?> cls, XmlTest xmlTest)
Deprecated. -
Uses of XmlTest in org.testng.reporters
Methods in org.testng.reporters with parameters of type XmlTest Modifier and Type Method Description private static java.util.List<XmlInclude>
FailedReporter. asXmlIncludes(java.util.List<ITestNGMethod> methods, XmlTest srcXmlTest)
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.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)
-