Uses of Class
org.testng.xml.XmlSuite
-
Packages that use XmlSuite Package Description org.testng org.testng.internal org.testng.reporters org.testng.reporters.jq org.testng.xml org.testng.xml.dom org.testng.xml.internal -
-
Uses of XmlSuite in org.testng
Fields in org.testng with type parameters of type XmlSuite Modifier and Type Field Description protected List<XmlSuite>
TestNG. m_suites
Methods in org.testng that return XmlSuite Modifier and Type Method Description XmlSuite
ISuite. getXmlSuite()
XmlSuite
SuiteRunner. getXmlSuite()
Methods in org.testng with parameters of type XmlSuite Modifier and Type Method Description void
TestNG. setCommandLineSuite(XmlSuite suite)
Method parameters in org.testng with type arguments of type XmlSuite Modifier and Type Method Description void
IAlterSuiteListener. alter(List<XmlSuite> suites)
void
IReporter. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
Generate a report for the given suites into the specified output directory.void
TestNG. setXmlSuites(List<XmlSuite> suites)
Specifies the XmlSuite objects to run.Constructors in org.testng with parameters of type XmlSuite Constructor Description SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir)
Deprecated.SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, Comparator<ITestNGMethod> comparator)
SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory)
Deprecated.SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners)
Deprecated.SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, Comparator<ITestNGMethod> comparator)
SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListeners, Collection<ITestListener> testListeners, Collection<IClassListener> classListeners)
Deprecated.SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListeners, Collection<ITestListener> testListeners, Collection<IClassListener> classListeners, Comparator<ITestNGMethod> comparator)
Deprecated.- This constructor stands deprecated as of TestNG v6.13.SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListeners, Collection<ITestListener> testListeners, Collection<IClassListener> classListeners, Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners, Comparator<ITestNGMethod> comparator)
SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, List<IInvokedMethodListener> invokedMethodListeners, List<ITestListener> testListeners, List<IClassListener> classListeners)
Deprecated.- This constructor stands deprecated.SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, Comparator<ITestNGMethod> comparator)
-
Uses of XmlSuite in org.testng.internal
Methods in org.testng.internal that return XmlSuite Modifier and Type Method Description static XmlSuite
Yaml. parse(String filePath, InputStream is)
XmlSuite
YamlParser. parse(String filePath, InputStream is, boolean loadClasses)
Methods in org.testng.internal that return types with arguments of type XmlSuite Modifier and Type Method Description Collection<XmlSuite>
OverrideProcessor. process(Collection<XmlSuite> suites)
Methods in org.testng.internal with parameters of type XmlSuite Modifier and Type Method Description static Object[]
Parameters. createConfigurationParameters(Method m, Map<String,String> params, Object[] parameterValues, ITestNGMethod currentTestMethod, IAnnotationFinder finder, XmlSuite xmlSuite, ITestContext ctx, ITestResult testResult)
Creates the parameters needed for the specified @ConfigurationMethod
.static Object[]
Parameters. createInstantiationParameters(Constructor ctor, String methodAnnotation, IAnnotationFinder finder, String[] parameterNames, Map<String,String> params, XmlSuite xmlSuite)
Creates the parameters needed for constructing a test class instance.static XmlClass[]
ClassHelper. findClassesInSameTest(Class<?> cls, XmlSuite suite)
ISuite
SuiteRunnerMap. get(XmlSuite xmlSuite)
static ParameterHolder
Parameters. handleParameters(ITestNGMethod testMethod, Map<String,String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance)
If the method has parameters, fill them in.static ParameterHolder
Parameters. handleParameters(ITestNGMethod testMethod, Map<String,String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, Collection<IDataProviderListener> dataProviderListeners)
If the method has parameters, fill them in.void
IInvoker. invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, Map<String,String> parameters, Object[] parameterValues, Object instance)
Invoke configuration methods if they belong to the same TestClass passed in parameter..void
Invoker. invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, Map<String,String> params, Object[] parameterValues, Object instance)
Invoke configuration methods if they belong to the same TestClass passed in parameter..List<ITestResult>
IInvoker. invokeTestMethods(ITestNGMethod testMethod, XmlSuite suite, Map<String,String> parameters, ConfigurationGroupMethods groupMethods, Object instance, ITestContext testContext)
Invoke the given methodList<ITestResult>
Invoker. invokeTestMethods(ITestNGMethod testMethod, XmlSuite suite, Map<String,String> testParameters, ConfigurationGroupMethods groupMethods, Object instance, ITestContext testContext)
Invoke all the test methods.void
SuiteRunnerMap. put(XmlSuite xmlSuite, ISuite suite)
static StringBuilder
Yaml. toYaml(XmlSuite suite)
The main entry point to convert an XmlSuite into YAML.Method parameters in org.testng.internal with type arguments of type XmlSuite Modifier and Type Method Description void
ExitCodeListener. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
Collection<XmlSuite>
OverrideProcessor. process(Collection<XmlSuite> suites)
Constructors in org.testng.internal with parameters of type XmlSuite Constructor Description TestMethodWithDataProviderMethodWorker(Invoker invoker, ITestNGMethod testMethod, int parameterIndex, Object[] parameterValues, Object instance, XmlSuite suite, Map<String,String> parameters, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods, ExpectedExceptionsHolder expectedExceptionHolder, ITestContext testContext, boolean skipFailedInvocationCounts, int invocationCount, int failureCount, ITestResultNotifier notifier)
TestMethodWorker(IInvoker invoker, List<IMethodInstance> testMethods, XmlSuite suite, Map<String,String> parameters, ConfigurationGroupMethods groupMethods, ClassMethodMap classMethodMap, ITestContext testContext, List<IClassListener> listeners)
-
Uses of XmlSuite in org.testng.reporters
Methods in org.testng.reporters with parameters of type XmlSuite Modifier and Type Method Description protected void
FailedReporter. generateFailureSuite(XmlSuite xmlSuite, ISuite suite, String outputDir)
Method parameters in org.testng.reporters with type arguments of type XmlSuite Modifier and Type Method Description void
EmailableReporter. generateReport(List<XmlSuite> xml, List<ISuite> suites, String outdir)
Creates summary of the runvoid
EmailableReporter2. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
void
FailedReporter. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
void
JqReporter. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
Deprecated.void
JUnitReportReporter. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String defaultOutputDirectory)
void
SuiteHTMLReporter. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
void
XMLReporter. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
Constructors in org.testng.reporters with parameters of type XmlSuite Constructor Description FailedReporter(XmlSuite xmlSuite)
-
Uses of XmlSuite in org.testng.reporters.jq
Method parameters in org.testng.reporters.jq with type arguments of type XmlSuite Modifier and Type Method Description void
Main. generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
-
Uses of XmlSuite in org.testng.xml
Methods in org.testng.xml that return XmlSuite Modifier and Type Method Description XmlSuite
XmlSuite. getParentSuite()
XmlSuite
TestNGContentHandler. getSuite()
XmlSuite
XmlTest. getSuite()
Returns the suite this test is part of.XmlSuite
SuiteXmlParser. parse(String currentFile, InputStream inputStream, boolean loadClasses)
XmlSuite
XmlSuite. shallowCopy()
This method returns a shallow cloned version.Methods in org.testng.xml that return types with arguments of type XmlSuite Modifier and Type Method Description List<XmlSuite>
XmlSuite. getChildSuites()
Collection<XmlSuite>
Parser. parse()
Parses the TestNG test suite and returns the corresponding XmlSuite, and possibly, other XmlSuite that are pointed to bytags. static Collection<XmlSuite>
Parser. parse(InputStream is, IPostProcessor processor)
static Collection<XmlSuite>
Parser. parse(String suite, IPostProcessor processor)
List<XmlSuite>
Parser. parseToList()
Collection<XmlSuite>
IPostProcessor. process(Collection<XmlSuite> suites)
Methods in org.testng.xml with parameters of type XmlSuite Modifier and Type Method Description String
IWeaveXml. asXml(XmlSuite xmlSuite)
Helps represent the contents ofXmlSuite
as a String.void
XmlSuite. setParentSuite(XmlSuite parentSuite)
void
XmlTest. setSuite(XmlSuite result)
void
XmlTest. setXmlSuite(XmlSuite suite)
Method parameters in org.testng.xml with type arguments of type XmlSuite Modifier and Type Method Description Collection<XmlSuite>
IPostProcessor. process(Collection<XmlSuite> suites)
Constructors in org.testng.xml with parameters of type XmlSuite Constructor Description XmlTest(XmlSuite suite)
XmlTest(XmlSuite suite, int index)
Constructs aXmlTest
and adds it to suite's list of tests. -
Uses of XmlSuite in org.testng.xml.dom
Methods in org.testng.xml.dom that return XmlSuite Modifier and Type Method Description XmlSuite
DomXmlParser. parse(String currentFile, InputStream inputStream, boolean loadClasses)
XmlSuite
DomXmlParser. parse2(String currentFile, InputStream inputStream, boolean loadClasses)
Methods in org.testng.xml.dom with parameters of type XmlSuite Modifier and Type Method Description void
DomUtil. populate(XmlSuite xmlSuite)
-
Uses of XmlSuite in org.testng.xml.internal
Methods in org.testng.xml.internal that return XmlSuite Modifier and Type Method Description static XmlSuite
XmlSuiteUtils. newXmlSuiteUsing(List<String> classes)
Methods in org.testng.xml.internal that return types with arguments of type XmlSuite Modifier and Type Method Description List<XmlSuite>
TestNamesMatcher. getSuitesMatchingTestNames()
Method parameters in org.testng.xml.internal with type arguments of type XmlSuite Modifier and Type Method Description static void
XmlSuiteUtils. adjustSuiteNamesToEnsureUniqueness(List<XmlSuite> suites)
Ensure that two XmlSuite don't have the same namestatic void
XmlSuiteUtils. validateIfSuitesContainDuplicateTests(List<XmlSuite> suites)
A validator that runs through the list of suites and checks if each of the suites contains anyXmlTest
with the same name.Constructors in org.testng.xml.internal with parameters of type XmlSuite Constructor Description TestNamesMatcher(XmlSuite xmlSuite, List<String> testNames)
-