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.internal -
-
Uses of XmlSuite in org.testng
Fields in org.testng declared as XmlSuite Modifier and Type Field Description private XmlSuiteSuiteResult. m_suiteprivate XmlSuiteSuiteRunner. xmlSuiteFields in org.testng with type parameters of type XmlSuite Modifier and Type Field Description private java.util.List<XmlSuite>TestNG. m_cmdlineSuitesprotected java.util.List<XmlSuite>TestNG. m_suitesprivate java.util.List<XmlSuite>JarFileUtils. suitesMethods in org.testng that return XmlSuite Modifier and Type Method Description XmlSuiteSuiteResult. getSuite()XmlSuiteISuite. getXmlSuite()XmlSuiteSuiteRunner. getXmlSuite()Methods in org.testng that return types with arguments of type XmlSuite Modifier and Type Method Description private java.util.List<XmlSuite>TestNG. createCommandLineSuitesForClasses(java.lang.Class[] classes)private java.util.List<XmlSuite>TestNG. createCommandLineSuitesForMethods(java.util.List<java.lang.String> commandLineMethods)(package private) java.util.List<XmlSuite>JarFileUtils. extractSuitesFrom(java.io.File jarFile)Methods in org.testng with parameters of type XmlSuite Modifier and Type Method Description private voidTestNG. addListeners(XmlSuite s)voidSuiteResultCounts. calculateResultCounts(XmlSuite xmlSuite, SuiteRunnerMap suiteRunnerMap)private SuiteRunnerTestNG. createSuiteRunner(XmlSuite xmlSuite)Creates a suite runner and configures its initial stateprivate voidTestNG. createSuiteRunners(SuiteRunnerMap suiteRunnerMap, XmlSuite xmlSuite)Creates theSuiteRunners and populates the suite runner map with this informationprivate intTestNG. getVerbose(XmlSuite xmlSuite)private voidSuiteRunner. init(IConfiguration configuration, XmlSuite suite, java.lang.String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, java.util.List<IMethodInterceptor> methodInterceptors, java.util.Collection<IInvokedMethodListener> invokedMethodListener, java.util.Collection<ITestListener> testListeners, java.util.Collection<IClassListener> classListeners, DataProviderHolder attribs, java.util.Comparator<ITestNGMethod> comparator)private static voidTestNG. initializeCommandLineSuitesGroups(XmlSuite s, boolean hasIncludedGroups, java.lang.String[] m_includedGroups, boolean hasExcludedGroups, java.lang.String[] m_excludedGroups)private voidTestNG. populateSuiteGraph(IDynamicGraph<ISuite> suiteGraph, SuiteRunnerMap suiteRunnerMap, XmlSuite xmlSuite)Populates the dynamic graph with the reverse hierarchy of suites.private voidSuiteRunnerWorker. runSuite(SuiteRunnerMap suiteRunnerMap, XmlSuite xmlSuite)Runs a suiteprivate voidTestNG. runSuitesSequentially(XmlSuite xmlSuite, SuiteRunnerMap suiteRunnerMap, int verbose, java.lang.String defaultSuiteName)Recursively runs suites.voidTestNG. setCommandLineSuite(XmlSuite suite)Method parameters in org.testng with type arguments of type XmlSuite Modifier and Type Method Description default voidIAlterSuiteListener. alter(java.util.List<XmlSuite> suites)default voidIReporter. 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.voidTestNG. setXmlSuites(java.util.List<XmlSuite> suites)Specifies the XmlSuite objects to run.Constructors in org.testng with parameters of type XmlSuite Constructor Description SuiteResult(XmlSuite suite, ITestContext tr)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> invokedMethodListeners, java.util.Collection<ITestListener> testListeners, 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
Fields in org.testng.internal declared as XmlSuite Modifier and Type Field Description private XmlSuiteConfigMethodArguments.Builder. suiteprivate XmlSuiteConfigMethodArguments. suiteMethods in org.testng.internal that return XmlSuite Modifier and Type Method Description XmlSuiteConfigMethodArguments. getSuite()XmlSuiteGroupConfigMethodArguments. getSuite()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@ConfigurationMethod.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.private static java.lang.Object[]Parameters. createParameters(ConstructorOrMethod m, Parameters.MethodParameters params, IAnnotationFinder finder, XmlSuite xmlSuite, java.lang.String atName)private static java.lang.Object[]Parameters. createParametersForConstructor(java.lang.reflect.Constructor constructor, java.lang.Class<?>[] parameterTypes, java.lang.String[] optionalValues, java.lang.String methodAnnotation, java.lang.String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite)private static java.lang.Object[]Parameters. createParametersForMethod(ConstructorOrMethod method, java.lang.Class<?>[] parameterTypes, java.lang.String[] optionalValues, java.lang.String methodAnnotation, java.lang.String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite)private static java.util.List<java.lang.Object>Parameters. createParams(java.lang.String name, java.lang.String prefix, java.lang.String methodAnnotation, java.lang.Class<?>[] parameterTypes, java.lang.String[] optionalValues, java.lang.String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite)static XmlClass[]ClassHelper. findClassesInSameTest(java.lang.Class<?> cls, XmlSuite suite)ConfigMethodArguments.BuilderConfigMethodArguments.Builder. forSuite(XmlSuite suite)ISuiteSuiteRunnerMap. get(XmlSuite xmlSuite)private voidConfigInvoker. handleConfigurationFailure(java.lang.Throwable ite, ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, java.lang.Object instance, XmlSuite suite)private voidConfigInvoker. handleConfigurationSkip(ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, java.lang.Object instance, XmlSuite suite)Marks the currentTestResultas skipped and invokes the listeners.static ParameterHolderParameters. handleParameters(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 ParameterHolderParameters. handleParameters(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.private ITestResultTestInvoker. invokeMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)private java.util.List<ITestResult>TestInvoker. invokePooledTestMethods(ITestNGMethod testMethod, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, ITestContext testContext)Invokes a method that has a specified threadPoolSize.ITestResultITestInvoker. invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)ITestResultTestInvoker. invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)invokeTestMethods() eventually converge here to invoke a single @Test method.voidSuiteRunnerMap. put(XmlSuite xmlSuite, ISuite suite)private voidConfigInvoker. recordConfigurationInvocationFailed(ITestNGMethod tm, IClass testClass, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, java.lang.Object instance, XmlSuite suite)Record internally the failure of a Configuration, so that we can determine later if @Test should be skipped.private voidTestInvoker. runAfterGroupsConfigurations(TestMethodArguments arguments, XmlSuite suite, TestResult testResult)private voidTestInvoker. runConfigMethods(TestMethodArguments arguments, XmlSuite suite, TestResult testResult, ITestNGMethod[] teardownConfigMethods)private java.util.List<ITestResult>TestInvoker. runWorkers(ITestNGMethod testMethod, java.util.List<IWorker<ITestNGMethod>> workers, int threadPoolSize, ConfigurationGroupMethods groupMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters)To reduce thread contention and also to correctly handle thread-confinement this method invokes the @BeforeGroups and @AfterGroups corresponding to the current @Test method.Method parameters in org.testng.internal with type arguments of type XmlSuite Modifier and Type Method Description voidExitCodeListener. 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)Constructors in org.testng.internal with parameters of type XmlSuite Constructor Description ConfigMethodArguments(IClass testClass, ITestNGMethod currentTestMethod, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, java.lang.Object instance, ITestResult testMethodResult) -
Uses of XmlSuite in org.testng.reporters
Fields in org.testng.reporters declared as XmlSuite Modifier and Type Field Description private XmlSuiteFailedReporter. m_xmlSuiteMethods in org.testng.reporters with parameters of type XmlSuite Modifier and Type Method Description private voidSuiteHTMLReporter. generateClasses(XmlSuite xmlSuite)private voidSuiteHTMLReporter. generateExcludedMethodsReport(XmlSuite xmlSuite, ISuite suite)protected voidFailedReporter. generateFailureSuite(XmlSuite xmlSuite, ISuite suite, java.lang.String outputDir)private voidSuiteHTMLReporter. generateIndex(XmlSuite xmlSuite, ISuite sr)private voidSuiteHTMLReporter. generateMain(XmlSuite xmlSuite, ISuite sr)private voidSuiteHTMLReporter. generateMethodsAndGroups(XmlSuite xmlSuite, ISuite suite)Generate information about methods and groupsprivate voidSuiteHTMLReporter. generateMethodsChronologically(XmlSuite xmlSuite, ISuite suite, java.lang.String outputFileName, boolean alphabetical)private voidSuiteHTMLReporter. generateReporterOutput(XmlSuite xmlSuite)private voidSuiteHTMLReporter. generateSuites(XmlSuite xmlSuite, ISuite suite)Writes a property file for each suite result.private voidSuiteHTMLReporter. generateTableOfContents(XmlSuite xmlSuite, ISuite suite)private voidSuiteHTMLReporter. generateXmlFile(XmlSuite xmlSuite)private java.lang.StringSuiteHTMLReporter. getOutputDirectory(XmlSuite xmlSuite)Method parameters in org.testng.reporters with type arguments of type XmlSuite Modifier and Type Method Description voidEmailableReporter. generateReport(java.util.List<XmlSuite> xml, java.util.List<ISuite> suites, java.lang.String outdir)Creates summary of the runvoidEmailableReporter2. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)voidFailedReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)voidJUnitReportReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String defaultOutputDirectory)voidSuiteHTMLReporter. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)voidXMLReporter. 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 voidMain. generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory) -
Uses of XmlSuite in org.testng.xml
Fields in org.testng.xml declared as XmlSuite Modifier and Type Field Description private XmlSuiteTestNGContentHandler. m_currentSuiteprivate XmlSuiteXmlSuite. m_parentSuiteParent XML suite if this suite was specified in another suite usingtag. private XmlSuiteXmlTest. m_suiteFields in org.testng.xml with type parameters of type XmlSuite Modifier and Type Field Description private java.util.List<XmlSuite>XmlSuite. m_childSuitesList of child XML suites specified usingtags. private java.util.List<XmlSuite>TestNGContentHandler. m_suitesMethods in org.testng.xml that return XmlSuite Modifier and Type Method Description XmlSuiteXmlSuite. getParentSuite()XmlSuiteTestNGContentHandler. getSuite()XmlSuiteXmlTest. getSuite()Returns the suite this test is part of.XmlSuiteSuiteXmlParser. parse(java.lang.String currentFile, java.io.InputStream inputStream, boolean loadClasses)XmlSuiteXmlSuite. 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>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()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.StringDefaultXmlWeaver. asXml(XmlSuite xmlSuite)java.lang.StringIWeaveXml. asXml(XmlSuite xmlSuite)Helps represent the contents ofXmlSuiteas a String.(package private) static java.lang.StringXmlWeaver. asXml(XmlSuite suite)Helps represent the contents ofXmlSuiteas a String.private voidXmlTest. init(XmlSuite suite, int index)voidXmlSuite. setParentSuite(XmlSuite parentSuite)voidXmlTest. setSuite(XmlSuite result)voidXmlTest. 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 aXmlTestand adds it to suite's list of tests. -
Uses of XmlSuite in org.testng.xml.internal
Fields in org.testng.xml.internal with type parameters of type XmlSuite Modifier and Type Field Description private java.util.List<XmlSuite>TestNamesMatcher. cloneSuitesMethods in org.testng.xml.internal that return XmlSuite Modifier and Type Method Description private static XmlSuiteTestNamesMatcher. cleanClone(XmlSuite xmlSuite, java.util.List<XmlTest> tests)private XmlSuiteTestNamesMatcher. cloneIfSuiteContainTestsWithNamesMatchingAny(XmlSuite suite)static XmlSuiteXmlSuiteUtils. 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()Methods in org.testng.xml.internal with parameters of type XmlSuite Modifier and Type Method Description private voidTestNamesMatcher. addIfNotNull(XmlSuite xmlSuite)private static XmlSuiteTestNamesMatcher. cleanClone(XmlSuite xmlSuite, java.util.List<XmlTest> tests)private voidTestNamesMatcher. cloneIfContainsTestsWithNamesMatchingAny(XmlSuite xmlSuite, java.util.List<java.lang.String> testNames)Recursive search the given testNames from the currentXmlSuiteand its child suites.private XmlSuiteTestNamesMatcher. cloneIfSuiteContainTestsWithNamesMatchingAny(XmlSuite suite)(package private) static voidXmlSuiteUtils. ensureNoDuplicateTestsArePresent(XmlSuite xmlSuite)Ensures that the current suite doesn't contain any duplicateXmlTestinstances.Method parameters in org.testng.xml.internal with type arguments of type XmlSuite Modifier and Type Method Description static voidXmlSuiteUtils. adjustSuiteNamesToEnsureUniqueness(java.util.List<XmlSuite> suites)Ensure that two XmlSuite don't have the same nameprivate static voidXmlSuiteUtils. adjustSuiteNamesToEnsureUniqueness(java.util.List<XmlSuite> suites, java.util.Set<java.lang.String> names)static voidXmlSuiteUtils. validateIfSuitesContainDuplicateTests(java.util.List<XmlSuite> suites)A validator that runs through the list of suites and checks if each of the suites contains anyXmlTestwith 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)
-