Uses of Class
org.testng.xml.XmlSuite
Packages that use XmlSuite
Package
Description
-
Uses of XmlSuite in org.testng
Fields in org.testng declared as XmlSuiteModifier and TypeFieldDescriptionprivate final XmlSuiteSuiteResult.m_suiteprivate XmlSuiteSuiteRunner.xmlSuiteFields in org.testng with type parameters of type XmlSuiteMethods in org.testng that return XmlSuiteModifier and TypeMethodDescriptionSuiteResult.getSuite()ISuite.getXmlSuite()SuiteRunner.getXmlSuite()Methods in org.testng that return types with arguments of type XmlSuiteModifier and TypeMethodDescriptionTestNG.createCommandLineSuitesForClasses(Class[] classes) TestNG.createCommandLineSuitesForMethods(List<String> commandLineMethods) JarFileUtils.extractSuitesFrom(File jarFile) private Collection<XmlSuite> TestNG.parseSuite(String suitePath) private Collection<XmlSuite> TestNG.processCommandLineArgs(Collection<XmlSuite> allSuites) Methods in org.testng with parameters of type XmlSuiteModifier and TypeMethodDescriptionprivate 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, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListener, SuiteRunner.TestListenersContainer container, Collection<IClassListener> classListeners, DataProviderHolder attribs, Comparator<ITestNGMethod> comparator) private static voidTestNG.initializeCommandLineSuitesGroups(XmlSuite s, boolean hasIncludedGroups, String[] m_includedGroups, boolean hasExcludedGroups, String[] m_excludedGroups) private voidTestNG.populateSuiteGraph(IDynamicGraph<ISuite> suiteGraph, SuiteRunnerMap suiteRunnerMap, XmlSuite xmlSuite) Populates the dynamic graph with the reverse hierarchy of suites.private voidTestNG.processParallelModeCommandLineArgs(XmlSuite suite) private voidSuiteRunnerWorker.runSuite(SuiteRunnerMap suiteRunnerMap, XmlSuite xmlSuite) Runs a suiteprivate voidTestNG.runSuitesSequentially(XmlSuite xmlSuite, SuiteRunnerMap suiteRunnerMap, int verbose, String defaultSuiteName) Recursively runs suites.voidTestNG.setCommandLineSuite(XmlSuite suite) Method parameters in org.testng with type arguments of type XmlSuiteModifier and TypeMethodDescriptiondefault voiddefault voidGenerate a report for the given suites into the specified output directory.private Collection<XmlSuite> TestNG.processCommandLineArgs(Collection<XmlSuite> allSuites) voidTestNG.setXmlSuites(List<XmlSuite> suites) Specifies the XmlSuite objects to run.Constructors in org.testng with parameters of type XmlSuiteModifierConstructorDescriptionprotectedSuiteResult(XmlSuite suite, ITestContext tr) SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, Comparator<ITestNGMethod> comparator) protectedSuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListeners, 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 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@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.private static Object[]Parameters.createParameters(ConstructorOrMethod m, Parameters.MethodParameters params, IAnnotationFinder finder, XmlSuite xmlSuite, String atName) private static Object[]Parameters.createParametersForConstructor(Constructor<?> constructor, Class<?>[] parameterTypes, String[] optionalValues, String methodAnnotation, String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite) private static Object[]Parameters.createParametersForMethod(ConstructorOrMethod method, Class<?>[] parameterTypes, String[] optionalValues, String methodAnnotation, String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite) Parameters.createParams(String name, String prefix, String methodAnnotation, Class<?>[] parameterTypes, String[] optionalValues, String[] parameterNames, Parameters.MethodParameters params, XmlSuite xmlSuite) static XmlClass[]ClassHelper.findClassesInSameTest(Class<?> cls, XmlSuite suite) static ParameterHolderParameters.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 ParameterHolderParameters.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.Method parameters in org.testng.internal with type arguments of type XmlSuiteModifier and TypeMethodDescriptionvoidExitCodeListener.generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) OverrideProcessor.process(Collection<XmlSuite> suites) -
Uses of XmlSuite in org.testng.internal.invokers
Fields in org.testng.internal.invokers declared as XmlSuiteModifier and TypeFieldDescriptionprivate XmlSuiteConfigMethodArguments.Builder.suiteprivate final XmlSuiteConfigMethodArguments.suiteMethods 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 TypeMethodDescriptionprivate voidConfigInvoker.handleConfigurationFailure(Throwable ite, ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) private voidConfigInvoker.handleConfigurationSkip(ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) Marks the currentTestResultas skipped and invokes the listeners.private ITestResultTestInvoker.invokeMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) ITestInvoker.invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) TestInvoker.invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) invokeTestMethods() eventually converge here to invoke a single @Test method.voidprivate voidConfigInvoker.recordConfigurationInvocationFailed(ITestNGMethod tm, IClass testClass, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) Record internally the failure of a Configuration, so that we can determine later if @Test should be skipped.private voidTestInvoker.runAfterConfigurations(TestMethodArguments arguments, XmlSuite suite, TestResult testResult) private voidTestInvoker.runConfigMethods(TestMethodArguments arguments, XmlSuite suite, TestResult testResult, ITestNGMethod[] teardownConfigMethods) Constructors in org.testng.internal.invokers with parameters of type XmlSuiteModifierConstructorDescriptionprivateConfigMethodArguments(IClass testClass, ITestNGMethod currentTestMethod, ITestNGMethod[] allMethods, XmlSuite suite, Map<String, String> params, Object[] parameterValues, Object instance, ITestResult testMethodResult) -
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
Fields in org.testng.reporters declared as XmlSuiteMethods in org.testng.reporters with parameters of type XmlSuiteModifier and TypeMethodDescriptionprivate voidSuiteHTMLReporter.generateClasses(XmlSuite xmlSuite) private voidSuiteHTMLReporter.generateExcludedMethodsReport(XmlSuite xmlSuite, ISuite suite) protected voidFailedReporter.generateFailureSuite(XmlSuite xmlSuite, ISuite suite, 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, 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 StringSuiteHTMLReporter.getOutputDirectory(XmlSuite xmlSuite) Method parameters in org.testng.reporters with type arguments of type XmlSuiteModifier and TypeMethodDescriptionvoidCreates summary of the runvoidEmailableReporter2.generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) voidFailedReporter.generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) voidJUnitReportReporter.generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String defaultOutputDirectory) voidPerSuiteXMLReporter.generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) voidSuiteHTMLReporter.generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) voidConstructors 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
Fields in org.testng.xml declared as XmlSuiteModifier and TypeFieldDescriptionprivate XmlSuiteTestNGContentHandler.m_currentSuiteprivate XmlSuiteXmlSuite.m_parentSuiteParent XML suite if this suite was specified in another suite using invalid input: '<'suite-file> tag.private XmlSuiteXmlTest.m_suiteFields in org.testng.xml with type parameters of type XmlSuiteModifier and TypeFieldDescriptionXmlSuite.m_childSuitesList of child XML suites specified using invalid input: '<'suite-file> tags.TestNGContentHandler.m_suitesMethods in org.testng.xml that return XmlSuiteModifier and TypeMethodDescriptionXmlSuite.getParentSuite()TestNGContentHandler.getSuite()final XmlSuiteXmlTest.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 ofXmlSuiteas a String.(package private) static StringHelps represent the contents ofXmlSuiteas a String.private voidvoidXmlSuite.setParentSuite(XmlSuite parentSuite) voidvoidXmlTest.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
Fields in org.testng.xml.internal with type parameters of type XmlSuiteMethods in org.testng.xml.internal that return XmlSuiteModifier and TypeMethodDescriptionprivate static XmlSuiteTestNamesMatcher.cleanClone(XmlSuite xmlSuite, List<XmlTest> tests) private XmlSuiteTestNamesMatcher.cloneIfSuiteContainTestsWithNamesMatchingAny(XmlSuite suite) static XmlSuiteXmlSuiteUtils.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()Methods in org.testng.xml.internal with parameters of type XmlSuiteModifier and TypeMethodDescriptionprivate voidTestNamesMatcher.addIfNotNull(XmlSuite xmlSuite) private static XmlSuiteTestNamesMatcher.cleanClone(XmlSuite xmlSuite, List<XmlTest> tests) private voidTestNamesMatcher.cloneIfContainsTestsWithNamesMatchingAny(XmlSuite xmlSuite, List<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 XmlSuiteModifier and TypeMethodDescriptionstatic voidXmlSuiteUtils.adjustSuiteNamesToEnsureUniqueness(List<XmlSuite> suites) Ensure that two XmlSuite don't have the same nameprivate static voidXmlSuiteUtils.adjustSuiteNamesToEnsureUniqueness(List<XmlSuite> suites, Set<String> names) static voidXmlSuiteUtils.validateIfSuitesContainDuplicateTests(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 XmlSuiteModifierConstructorDescriptionTestNamesMatcher(XmlSuite xmlSuite, List<String> testNames) TestNamesMatcher(XmlSuite xmlSuite, List<String> testNames, boolean ignoreMissedTestNames)