Uses of Class
org.testng.xml.XmlSuite
Packages that use XmlSuite
Package
Description
-
Uses of XmlSuite in org.testng
Fields in org.testng with type parameters of type XmlSuiteMethods in org.testng that return XmlSuiteMethods in org.testng with parameters of type XmlSuiteMethod parameters in org.testng with type arguments of type XmlSuiteModifier and TypeMethodDescriptiondefault void
default void
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 XmlSuiteModifierConstructorDescriptionSuiteRunner
(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, Comparator<ITestNGMethod> comparator) protected
SuiteRunner
(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListener, org.testng.SuiteRunner.TestListenersContainer container, Collection<IClassListener> classListeners, DataProviderHolder holder, Comparator<ITestNGMethod> comparator) 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 XmlSuiteModifier and TypeMethodDescriptionstatic XmlSuite
Yaml.parse
(String filePath, InputStream is, boolean loadClasses) YamlParser.parse
(String filePath, InputStream is, boolean loadClasses) Methods in org.testng.internal that return types with arguments of type XmlSuiteMethods in org.testng.internal with parameters of type XmlSuiteModifier and TypeMethodDescriptionstatic 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@Configuration
Method
.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) static ObjectBag
ObjectBag.getInstance
(XmlSuite xmlSuite) static ParameterHolder
Parameters.handleParameters
(ITestObjectFactory objectFactory, ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, DataProviderHolder holder) If the method has parameters, fill them in.static ParameterHolder
Parameters.handleParameters
(ITestObjectFactory objectFactory, ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, DataProviderHolder holder, String annotationName) If the method has parameters, fill them in.static StringBuilder
Method parameters in org.testng.internal with type arguments of type XmlSuiteModifier and TypeMethodDescriptionvoid
ExitCodeListener.generateReport
(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) OverrideProcessor.process
(Collection<XmlSuite> suites) -
Uses of XmlSuite in org.testng.internal.invokers
Methods in org.testng.internal.invokers that return XmlSuiteModifier and TypeMethodDescriptionConfigMethodArguments.getSuite()
GroupConfigMethodArguments.getSuite()
Methods in org.testng.internal.invokers with parameters of type XmlSuiteModifier and TypeMethodDescriptionITestInvoker.invokeTestMethod
(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) void
-
Uses of XmlSuite in org.testng.internal.invokers.objects
Constructors in org.testng.internal.invokers.objects with parameters of type XmlSuite -
Uses of XmlSuite in org.testng.reporters
Methods in org.testng.reporters with parameters of type XmlSuiteModifier and TypeMethodDescriptionprotected void
FailedReporter.generateFailureSuite
(XmlSuite xmlSuite, ISuite suite, String outputDir) Method parameters in org.testng.reporters with type arguments of type XmlSuiteModifier and TypeMethodDescriptionvoid
EmailableReporter2.generateReport
(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) void
FailedReporter.generateReport
(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) void
JUnitReportReporter.generateReport
(List<XmlSuite> xmlSuites, List<ISuite> suites, String defaultOutputDirectory) void
PerSuiteXMLReporter.generateReport
(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) void
SuiteHTMLReporter.generateReport
(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) Deprecated.void
Constructors in org.testng.reporters with parameters of type XmlSuite -
Uses of XmlSuite in org.testng.reporters.jq
Method parameters in org.testng.reporters.jq with type arguments of type XmlSuite -
Uses of XmlSuite in org.testng.xml
Methods in org.testng.xml that return XmlSuiteModifier and TypeMethodDescriptionXmlSuite.getParentSuite()
TestNGContentHandler.getSuite()
final XmlSuite
XmlTest.getSuite()
Returns the suite this test is part of.SuiteXmlParser.parse
(String currentFile, InputStream inputStream, boolean loadClasses) XmlSuite.shallowCopy()
This method returns a shallow cloned version.Methods in org.testng.xml that return types with arguments of type XmlSuiteModifier and TypeMethodDescriptionXmlSuite.getChildSuites()
IPostProcessor.process
(Collection<XmlSuite> suites) Methods in org.testng.xml with parameters of type XmlSuiteModifier and TypeMethodDescriptionHelps represent the contents ofXmlSuite
as a String.void
XmlSuite.setParentSuite
(XmlSuite parentSuite) void
void
XmlTest.setXmlSuite
(XmlSuite suite) Method parameters in org.testng.xml with type arguments of type XmlSuiteConstructors in org.testng.xml with parameters of type XmlSuite -
Uses of XmlSuite in org.testng.xml.internal
Methods in org.testng.xml.internal that return XmlSuiteModifier and TypeMethodDescriptionstatic XmlSuite
XmlSuiteUtils.newXmlSuiteUsing
(List<String> classes) Methods in org.testng.xml.internal that return types with arguments of type XmlSuiteModifier and TypeMethodDescriptionTestNamesMatcher.getSuitesMatchingTestNames()
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 Collection
<XmlSuite> Parser.parse
(InputStream is, IPostProcessor processor) static Collection
<XmlSuite> Parser.parse
(String suite, IPostProcessor processor) Parser.parseToList()
Method parameters in org.testng.xml.internal with type arguments of type XmlSuiteModifier and TypeMethodDescriptionstatic 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 XmlSuiteModifierConstructorDescriptionTestNamesMatcher
(XmlSuite xmlSuite, List<String> testNames) TestNamesMatcher
(XmlSuite xmlSuite, List<String> testNames, boolean ignoreMissedTestNames)