Uses of Class
org.testng.xml.XmlSuite
-
Packages that use XmlSuite Package Description org.testng org.testng.internal org.testng.internal.invokers org.testng.internal.invokers.objects org.testng.reporters org.testng.reporters.jq org.testng.xml 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 java.util.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 default void
IAlterSuiteListener. alter(java.util.List<XmlSuite> suites)
default void
IReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
Generate a report for the given suites into the specified output directory.void
TestNG. setXmlSuites(java.util.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, java.lang.String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, java.util.Comparator<ITestNGMethod> comparator)
SuiteRunner(IConfiguration configuration, XmlSuite suite, java.lang.String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, java.util.List<IMethodInterceptor> methodInterceptors, java.util.Collection<IInvokedMethodListener> invokedMethodListener, org.testng.SuiteRunner.TestListenersContainer container, java.util.Collection<IClassListener> classListeners, DataProviderHolder holder, java.util.Comparator<ITestNGMethod> comparator)
SuiteRunner(IConfiguration configuration, XmlSuite suite, java.lang.String outputDir, ITestRunnerFactory runnerFactory, java.util.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(java.lang.String filePath, java.io.InputStream is, boolean loadClasses)
XmlSuite
YamlParser. parse(java.lang.String filePath, java.io.InputStream is, boolean loadClasses)
Methods in org.testng.internal that return types with arguments of type XmlSuite Modifier and Type Method Description java.util.Collection<XmlSuite>
OverrideProcessor. process(java.util.Collection<XmlSuite> suites)
Methods in org.testng.internal with parameters of type XmlSuite Modifier and Type Method Description static java.lang.Object[]
Parameters. createConfigurationParameters(java.lang.reflect.Method m, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, ITestNGMethod currentTestMethod, IAnnotationFinder finder, XmlSuite xmlSuite, ITestContext ctx, ITestResult testResult)
Creates the parameters needed for the specified@Configuration
Method
.static java.lang.Object[]
Parameters. createInstantiationParameters(java.lang.reflect.Constructor<?> ctor, java.lang.String methodAnnotation, IAnnotationFinder finder, java.lang.String[] parameterNames, java.util.Map<java.lang.String,java.lang.String> params, XmlSuite xmlSuite)
Creates the parameters needed for constructing a test class instance.static XmlClass[]
ClassHelper. findClassesInSameTest(java.lang.Class<?> cls, XmlSuite suite)
static ObjectBag
ObjectBag. getInstance(XmlSuite xmlSuite)
static ParameterHolder
Parameters. handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance, DataProviderHolder holder)
If the method has parameters, fill them in.static ParameterHolder
Parameters. handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance, DataProviderHolder holder, java.lang.String annotationName)
If the method has parameters, fill them in.static java.lang.StringBuilder
Yaml. toYaml(XmlSuite suite)
Method parameters in org.testng.internal with type arguments of type XmlSuite Modifier and Type Method Description void
ExitCodeListener. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
java.util.Collection<XmlSuite>
OverrideProcessor. process(java.util.Collection<XmlSuite> suites)
-
Uses of XmlSuite in org.testng.internal.invokers
Methods in org.testng.internal.invokers that return XmlSuite Modifier and Type Method Description XmlSuite
ConfigMethodArguments. getSuite()
XmlSuite
GroupConfigMethodArguments. getSuite()
Methods in org.testng.internal.invokers with parameters of type XmlSuite Modifier and Type Method Description ConfigMethodArguments.Builder
ConfigMethodArguments.Builder. forSuite(XmlSuite suite)
ISuite
SuiteRunnerMap. get(XmlSuite xmlSuite)
ITestResult
ITestInvoker. invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)
void
SuiteRunnerMap. put(XmlSuite xmlSuite, ISuite suite)
-
Uses of XmlSuite in org.testng.internal.invokers.objects
Constructors in org.testng.internal.invokers.objects with parameters of type XmlSuite Constructor Description GuiceContext(XmlSuite s, IConfiguration cfg)
-
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, java.lang.String outputDir)
Method parameters in org.testng.reporters with type arguments of type XmlSuite Modifier and Type Method Description void
EmailableReporter2. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
void
FailedReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
void
JUnitReportReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String defaultOutputDirectory)
void
PerSuiteXMLReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
void
SuiteHTMLReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
Deprecated.void
XMLReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.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(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.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(java.lang.String currentFile, java.io.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 java.util.List<XmlSuite>
XmlSuite. getChildSuites()
java.util.Collection<XmlSuite>
IPostProcessor. process(java.util.Collection<XmlSuite> suites)
Methods in org.testng.xml with parameters of type XmlSuite Modifier and Type Method Description java.lang.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 java.util.Collection<XmlSuite>
IPostProcessor. process(java.util.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.internal
Methods in org.testng.xml.internal that return XmlSuite Modifier and Type Method Description static XmlSuite
XmlSuiteUtils. newXmlSuiteUsing(java.util.List<java.lang.String> classes)
Methods in org.testng.xml.internal that return types with arguments of type XmlSuite Modifier and Type Method Description java.util.List<XmlSuite>
TestNamesMatcher. getSuitesMatchingTestNames()
java.util.Collection<XmlSuite>
Parser. parse()
Parses the TestNG test suite and returns the corresponding XmlSuite, and possibly, other XmlSuite that are pointed to by<suite-files>
tags.static java.util.Collection<XmlSuite>
Parser. parse(java.io.InputStream is, IPostProcessor processor)
static java.util.Collection<XmlSuite>
Parser. parse(java.lang.String suite, IPostProcessor processor)
java.util.List<XmlSuite>
Parser. parseToList()
Method parameters in org.testng.xml.internal with type arguments of type XmlSuite Modifier and Type Method Description static void
XmlSuiteUtils. adjustSuiteNamesToEnsureUniqueness(java.util.List<XmlSuite> suites)
Ensure that two XmlSuite don't have the same namestatic void
XmlSuiteUtils. validateIfSuitesContainDuplicateTests(java.util.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, java.util.List<java.lang.String> testNames)
TestNamesMatcher(XmlSuite xmlSuite, java.util.List<java.lang.String> testNames, boolean ignoreMissedTestNames)
-