/external/testng/src/main/java/org/testng/reporters/ |
D | SuiteHTMLReporter.java | 63 XmlSuite xmlSuite = suite.getXmlSuite(); in generateReport() local 64 if (xmlSuite.getTests().size() == 0) { in generateReport() 67 generateTableOfContents(xmlSuite, suite); in generateReport() 68 generateSuites(xmlSuite, suite); in generateReport() 69 generateIndex(xmlSuite, suite); in generateReport() 70 generateMain(xmlSuite, suite); in generateReport() 71 generateMethodsAndGroups(xmlSuite, suite); in generateReport() 72 generateMethodsChronologically(xmlSuite, suite, METHODS_CHRONOLOGICAL, false); in generateReport() 73 generateMethodsChronologically(xmlSuite, suite, METHODS_ALPHABETICAL, true); in generateReport() 74 generateClasses(xmlSuite, suite); in generateReport() [all …]
|
D | FailedReporter.java | 40 public FailedReporter(XmlSuite xmlSuite) { in FailedReporter() argument 41 m_xmlSuite = xmlSuite; in FailedReporter() 51 protected void generateFailureSuite(XmlSuite xmlSuite, ISuite suite, String outputDir) { in generateFailureSuite() argument 52 XmlSuite failedSuite = (XmlSuite) xmlSuite.clone(); in generateFailureSuite() 53 failedSuite.setName("Failed suite [" + xmlSuite.getName() + "]"); in generateFailureSuite() 57 for(XmlTest xmlT: xmlSuite.getTests()) { in generateFailureSuite()
|
D | XMLReporter.java | 83 private void writeSuite(XmlSuite xmlSuite, ISuite suite) { in writeSuite() argument
|
/external/testng/src/main/java/org/testng/ |
D | SuiteRunnerWorker.java | 42 private void runSuite(SuiteRunnerMap suiteRunnerMap /* OUT */, XmlSuite xmlSuite) in runSuite() argument 46 allFiles.append(" ").append(xmlSuite.getFileName() != null in runSuite() 47 ? xmlSuite.getFileName() : m_defaultSuiteName).append('\n'); in runSuite() 51 SuiteRunner suiteRunner = (SuiteRunner) suiteRunnerMap.get(xmlSuite); in runSuite() 64 if (xmlSuite.getVerbose() > 0) { in runSuite() 67 counts.calculateResultCounts(xmlSuite, suiteRunnerMap); in runSuite() 71 .append(xmlSuite.getName()); in runSuite() 144 public void calculateResultCounts(XmlSuite xmlSuite, SuiteRunnerMap suiteRunnerMap) in calculateResultCounts() argument 146 ISuite iSuite = suiteRunnerMap.get(xmlSuite); in calculateResultCounts() 162 for (XmlSuite childSuite : xmlSuite.getChildSuites()) { in calculateResultCounts()
|
D | TestNG.java | 385 XmlSuite xmlSuite = new XmlSuite(); in initializeSuitesAndJarFile() local 386 xmlSuite.setVerbose(0); in initializeSuitesAndJarFile() 387 xmlSuite.setName("Jar suite"); in initializeSuitesAndJarFile() 388 XmlTest xmlTest = new XmlTest(xmlSuite); in initializeSuitesAndJarFile() 395 m_suites.add(xmlSuite); in initializeSuitesAndJarFile() 591 XmlSuite xmlSuite = suites.get(suiteName); in createCommandLineSuitesForClasses() local 592 if (xmlSuite == null) { in createCommandLineSuitesForClasses() 593 xmlSuite = new XmlSuite(); in createCommandLineSuitesForClasses() 594 xmlSuite.setName(suiteName); in createCommandLineSuitesForClasses() 595 suites.put(suiteName, xmlSuite); in createCommandLineSuitesForClasses() [all …]
|
/external/testng/src/test/java/test/thread/ |
D | ParallelTestTest.java | 53 private void createTest(XmlSuite xmlSuite, String className) { in createTest() argument 54 XmlTest result = new XmlTest(xmlSuite); in createTest() 66 XmlSuite xmlSuite = new XmlSuite(); in verifyExpected() local 67 xmlSuite.setName("ParallelTestTest"); in verifyExpected() 68 xmlSuite.setParallel(parallelMode); in verifyExpected() 70 createTest(xmlSuite, cn); in verifyExpected() 75 tng.setXmlSuites(Arrays.asList(new XmlSuite[] { xmlSuite })); in verifyExpected()
|
/external/testng/src/main/java/org/testng/internal/ |
D | SuiteRunnerMap.java | 15 public void put(XmlSuite xmlSuite, ISuite suite) { in put() argument 16 final String name = xmlSuite.getName(); in put() 23 public ISuite get(XmlSuite xmlSuite) { in get() argument 24 return m_map.get(xmlSuite.getName()); in get()
|
D | Parameters.java | 52 Map<String, String> params, XmlSuite xmlSuite) in createInstantiationParameters() argument 57 xmlSuite); in createInstantiationParameters() 73 XmlSuite xmlSuite, in createConfigurationParameters() argument 89 finder, xmlSuite, IConfigurationAnnotation.class, "@Configuration"); in createConfigurationParameters() 121 String[] parameterNames, MethodParameters params, XmlSuite xmlSuite) in createParameters() argument 153 + (xmlSuite.getFileName() != null ? "in " in createParameters() 154 + xmlSuite.getFileName() : "")); in createParameters() 349 IAnnotationFinder finder, XmlSuite xmlSuite, Class annotationClass, String atName) in createParameters() argument 362 finder.findOptionalValues(m), atName, finder, parameterNames, params, xmlSuite); in createParameters() 373 finder.findOptionalValues(m), atName, finder, parameterNames, params, xmlSuite); in createParameters() [all …]
|
/external/testng/src/test/java/test/sanitycheck/ |
D | CheckTestNamesTest.java | 85 XmlSuite xmlSuite = new XmlSuite(); in checkTestNamesForProgrammaticSuites() local 86 xmlSuite.setName("SanityCheckSuite"); in checkTestNamesForProgrammaticSuites() 87 XmlTest result = new XmlTest(xmlSuite); in checkTestNamesForProgrammaticSuites() 89 result = new XmlTest(xmlSuite); in checkTestNamesForProgrammaticSuites() 94 tng.setXmlSuites(Arrays.asList(new XmlSuite[] { xmlSuite })); in checkTestNamesForProgrammaticSuites()
|
/external/testng/src/test/java/test/issue107/ |
D | MySuiteListener.java | 14 final XmlSuite xmlSuite = suite.getXmlSuite(); in onStart() local 15 final Map<String, String> parameters = xmlSuite.getParameters(); in onStart() 17 xmlSuite.setParameters(parameters); in onStart()
|
/external/testng/src/test/java/test/reports/ |
D | ReportTest.java | 42 XmlSuite xmlSuite = new XmlSuite(); in directoryShouldBeSuiteName() local 44 xmlSuite.setName(suiteName); in directoryShouldBeSuiteName() 46 XmlTest xmlTest = new XmlTest(xmlSuite); in directoryShouldBeSuiteName() 50 XmlTest xmlTest2 = new XmlTest(xmlSuite); in directoryShouldBeSuiteName() 57 testng.setXmlSuites(Arrays.asList(xmlSuite)); in directoryShouldBeSuiteName()
|
/external/testng/src/main/java/org/testng/xml/dom/ |
D | DomUtil.java | 34 public void populate(final XmlSuite xmlSuite) throws XPathExpressionException { in populate() argument 51 XmlTest xmlTest = new XmlTest(xmlSuite); in populate() 69 xmlSuite.setSuiteFiles(suiteFiles); in populate() 72 parseNodeAndChildren("suite", item1, xmlSuite, map); in populate() 103 xmlSuite.setParameters(parameters); in populate()
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | TestAnnotation.java | 135 public void setSuiteName(String xmlSuite) { in setSuiteName() argument 136 m_suiteName = xmlSuite; in setSuiteName()
|
/external/testng/src/main/java/org/testng/xml/ |
D | TestNGContentHandler.java | 139 private void xmlSuite(boolean start, Attributes attributes) { in xmlSuite() method in TestNGContentHandler 519 xmlSuite(true, attributes); in startElement() 698 xmlSuite(false, null); in endElement()
|