/external/testng/src/main/java/org/testng/reporters/ |
D | JqReporter.java | 33 XMLStringBuffer xsb = new XMLStringBuffer(" "); in generateReport() local 34 xsb.push(D, "id", "suites"); in generateReport() 35 generateSuites(xmlSuites, suites, xsb); in generateReport() 36 xsb.pop(D); in generateReport() 41 Utils.writeFile(m_outputDirectory, "index2.html", all + xsb.toXML()); in generateReport() 55 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in generateSuites() local 58 xsb.push(D, C, "suite-content"); in generateSuites() 60 XMLStringBuffer xs1 = new XMLStringBuffer(xsb.getCurrentIndent()); in generateSuites() 61 XMLStringBuffer xs2 = new XMLStringBuffer(xsb.getCurrentIndent()); in generateSuites() 62 XMLStringBuffer xs3 = new XMLStringBuffer(xsb.getCurrentIndent()); in generateSuites() [all …]
|
D | JUnitReportReporter.java | 148 XMLStringBuffer xsb = new XMLStringBuffer(); in generateReport() local 149 xsb.addComment("Generated by " + getClass().getName()); in generateReport() 151 xsb.push("testsuite", p1); in generateReport() 154 xsb.addEmptyElement("testcase", testTag.properties); in generateReport() 157 xsb.push("testcase", testTag.properties); in generateReport() 164 xsb.push(testTag.errorTag, p); in generateReport() 165 xsb.addCDATA(testTag.stackTrace); in generateReport() 166 xsb.pop(testTag.errorTag); in generateReport() 168 xsb.pop("testcase"); in generateReport() 171 xsb.pop("testsuite"); in generateReport() [all …]
|
/external/testng/src/main/java/org/testng/reporters/jq/ |
D | SuitePanel.java | 21 public void generate(XMLStringBuffer xsb) { in generate() argument 23 generateSuitePanel(suite, xsb); in generate() 27 private void generateSuitePanel(ISuite suite, XMLStringBuffer xsb) { in generateSuitePanel() argument 29 xsb.push(D, C, "panel " + divName, "panel-name", "suite-" + divName); in generateSuitePanel() 40 generateClassPanel(c, byClass.getResults(c), xsb, statuses[i], suite); in generateSuitePanel() 43 xsb.pop(D); in generateSuitePanel() 46 private void generateClassPanel(Class c, List<ITestResult> results, XMLStringBuffer xsb, in generateClassPanel() argument 48 xsb.push(D, C, "suite-" + suiteToTag(suite) + "-class-" + status); in generateClassPanel() 49 xsb.push(D, C, "main-panel-header rounded-window-top"); in generateClassPanel() 52 xsb.addEmptyElement("img", "src", Model.getImage(status)); in generateClassPanel() [all …]
|
D | BaseMultiSuitePanel.java | 9 abstract String getContent(ISuite suite, XMLStringBuffer xsb); in getContent() argument 16 public void generate(XMLStringBuffer xsb) { in generate() argument 18 xsb.push(D, C, "panel", "panel-name", getPanelName(s)); in generate() 19 xsb.push(D, C, "main-panel-header rounded-window-top"); in generate() 20 xsb.addOptional(S, getHeader(s), C, "header-content"); in generate() 21 xsb.pop(D); in generate() 23 xsb.push(D, C, "main-panel-content rounded-window-bottom"); in generate() 24 xsb.addString(getContent(s, xsb)); in generate() 25 xsb.pop(D); in generate() 27 xsb.pop(D); in generate()
|
D | Main.java | 35 XMLStringBuffer xsb = new XMLStringBuffer(" "); in generateReport() local 38 new BannerPanel(m_model).generate(xsb); in generateReport() 51 new NavigatorPanel(m_model, panels).generate(xsb); in generateReport() 53 xsb.push(D, C, "wrapper"); in generateReport() 54 xsb.push(D, "class", "main-panel-root"); in generateReport() 59 new SuitePanel(m_model).generate(xsb); in generateReport() 63 panel.generate(xsb); in generateReport() 66 xsb.pop(D); // main-panel-root in generateReport() 67 xsb.pop(D); // wrapper in generateReport() 69 xsb.addString(" </body>\n"); in generateReport() [all …]
|
D | GroupPanel.java | 26 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 30 xsb.push(D, C, "test-group"); in getContent() 31 xsb.addRequired(S, group, C, "test-group-name"); in getContent() 32 xsb.addEmptyElement("br"); in getContent() 35 xsb.push(D, C, "method-in-group"); in getContent() 36 xsb.addRequired(S, method, C, "method-in-group-name"); in getContent() 37 xsb.addEmptyElement("br"); in getContent() 38 xsb.pop(D); in getContent() 40 xsb.pop(D); in getContent() 42 return xsb.toXML(); in getContent()
|
D | ChronologicalPanel.java | 31 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 71 xsb.pop(D); in getContent() 73 xsb.push(D, C, "chronological-class"); in getContent() 74 xsb.addRequired(D, m.getTestClass().getName(), C, "chronological-class-name"); in getContent() 77 xsb.push(D, C, cls); in getContent() 79 xsb.push("img", "src", Model.getImage("failed")); in getContent() 80 xsb.pop("img"); in getContent() 86 xsb.addRequired(S, methodName, C, "method-name"); in getContent() 90 xsb.addRequired(S, Long.toString(tr.getStartMillis() - start) + " ms", C, "method-start"); in getContent() 91 xsb.pop(D); in getContent() [all …]
|
D | IgnoredMethodsPanel.java | 28 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 36 xsb.push(D, C, "ignored-class-div"); in getContent() 37 xsb.addRequired(S, c.getName(), C, "ignored-class-name"); in getContent() 38 xsb.push(D, C, "ignored-methods-div"); in getContent() 40 xsb.addRequired(S, m.getMethodName(), C, "ignored-method-name"); in getContent() 41 xsb.addEmptyElement("br"); in getContent() 43 xsb.pop(D); in getContent() 44 xsb.pop(D); in getContent() 46 return xsb.toXML(); in getContent()
|
D | ReporterPanel.java | 32 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 36 xsb.push(D, C, "reporter-method-div"); in getContent() 37 xsb.addRequired(S, Model.getTestResultName(tr), C, "reporter-method-name"); in getContent() 38 xsb.push(D, C, "reporter-method-output-div"); in getContent() 40 xsb.addRequired(S, output, C, "reporter-method-output"); in getContent() 42 xsb.pop(D); in getContent() 43 xsb.pop(D); in getContent() 46 return xsb.toXML(); in getContent()
|
D | TimesPanel.java | 88 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 89 xsb.push(D, C, "times-div"); in getContent() 90 xsb.push("script", "type", "text/javascript"); in getContent() 91 xsb.addString(js(suite)); in getContent() 92 xsb.pop("script"); in getContent() 95 xsb.addRequired(S, String.format("Total running time: %s", prettyDuration(time)), in getContent() 98 xsb.push(D, "id", "times-div-" + suiteToTag(suite)); in getContent() 99 xsb.pop(D); in getContent() 100 xsb.pop(D); in getContent() 101 return xsb.toXML(); in getContent()
|
D | TestPanel.java | 29 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 31 xsb.push("ul"); in getContent() 33 xsb.push("li"); in getContent() 36 xsb.addRequired(S, name, C, "test-name"); in getContent() 37 xsb.pop("li"); in getContent() 39 xsb.pop("ul"); in getContent() 41 return xsb.toXML(); in getContent()
|
D | NavigatorPanel.java | 208 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in generateMethodList() local 212 xsb.push("li"); in generateMethodList() 215 xsb.addRequired(S, name, C, "method-list-title " + type); in generateMethodList() 218 xsb.push(S, C, "show-or-hide-methods " + type); in generateMethodList() 219 xsb.addRequired("a", " (hide)", "href", "#", C, "hide-methods " + type + " " + suiteName, in generateMethodList() 221 xsb.addRequired("a", " (show)", "href", "#",C, "show-methods " + type + " " + suiteName, in generateMethodList() 223 xsb.pop(S); in generateMethodList() 226 xsb.push(D, C, "method-list-content " + type + " " + suiteName); in generateMethodList() 233 xsb.push(S); in generateMethodList() 234 xsb.addEmptyElement("img", "src", image, "width", "3%"); in generateMethodList() [all …]
|
D | BannerPanel.java | 12 public void generate(XMLStringBuffer xsb) { in generate() argument 13 xsb.push(D, C, "top-banner-root"); in generate() 14 xsb.addRequired(S, "Test results", C, "top-banner-title-font"); in generate() 15 xsb.addEmptyElement("br"); in generate() 20 xsb.addRequired(S, subTitle, C, "top-banner-font-1"); in generate() 21 xsb.pop(D); in generate()
|
D | TestNgXmlPanel.java | 26 XMLStringBuffer xsb = new XMLStringBuffer(main.getCurrentIndent()); in getContent() local 27 xsb.push("pre"); in getContent() 28 xsb.addString(Utils.escapeHtml(suite.getXmlSuite().toXml())); in getContent() 29 xsb.pop("pre"); in getContent() 30 return xsb.toXML(); in getContent()
|
/external/fdlibm/ |
D | e_exp.c | 109 int k,xsb; local 113 xsb = (hx>>31)&1; /* sign bit of x */ 121 else return (xsb==0)? x:0.0; /* ieee_exp(+-inf)={inf,0} */ 130 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; 132 k = (int)(invln2*x+halF[xsb]);
|
D | s_expm1.c | 137 int k,xsb; local 141 xsb = hx&0x80000000; /* sign bit of x */ 142 if(xsb==0) y=x; else y= -x; /* y = |x| */ 151 else return (xsb==0)? x:-1.0;/* ieee_exp(+-inf)={inf,-1} */ 155 if(xsb!=0) { /* x < -56*ln2, return -1.0 with inexact */ 164 if(xsb==0) 169 k = invln2*x+((xsb==0)?0.5:-0.5);
|
/external/testng/src/main/java/org/testng/xml/ |
D | XmlGroups.java | 52 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 59 xsb.push("groups"); in toXml() 63 xsb.getStringBuffer().append(d.toXml(indent2)); in toXml() 66 xsb.getStringBuffer().append(m_run.toXml(indent2)); in toXml() 69 xsb.getStringBuffer().append(d.toXml(indent2)); in toXml() 73 xsb.pop("groups"); in toXml() 76 return xsb.toXML(); in toXml()
|
D | XmlRun.java | 14 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 17 xsb.push("run"); in toXml() 20 xsb.addEmptyElement("include", "name", s); in toXml() 23 xsb.addEmptyElement("exclude", "name", s); in toXml() 26 xsb.pop("run"); in toXml() 29 return xsb.toXML(); in toXml()
|
D | XmlMethodSelector.java | 91 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 93 xsb.push("method-selector"); in toXml() 101 xsb.addEmptyElement("selector-class", clsProp); in toXml() 106 xsb.push("script", scriptProp); in toXml() 107 xsb.addCDATA(getExpression()); in toXml() 108 xsb.pop("script"); in toXml() 114 xsb.pop("method-selector"); in toXml() 116 return xsb.toXML(); in toXml()
|
D | XmlSuite.java | 461 XMLStringBuffer xsb = new XMLStringBuffer(); in toXml() local 462 xsb.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + '\"'); in toXml() 496 xsb.push("suite", p); in toXml() 498 XmlUtils.dumpParameters(xsb, m_parameters); in toXml() 501 xsb.push("listeners"); in toXml() 505 xsb.addEmptyElement("listener", listenerProps); in toXml() 507 xsb.pop("listeners"); in toXml() 511 xsb.push("packages"); in toXml() 514 xsb.getStringBuffer().append(pack.toXml(" ")); in toXml() 517 xsb.pop("packages"); in toXml() [all …]
|
D | XmlMethodSelectors.java | 26 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 28 xsb.push("method-selectors"); in toXml() 30 xsb.getStringBuffer().append(selector.toXml(indent + " ")); in toXml() 33 xsb.pop("method-selectors"); in toXml() 35 return xsb.toXML(); in toXml()
|
D | XmlTest.java | 458 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 484 xsb.push("test", p); in toXml() 488 xsb.push("method-selectors"); in toXml() 490 xsb.getStringBuffer().append(selector.toXml(indent + " ")); in toXml() 493 xsb.pop("method-selectors"); in toXml() 496 XmlUtils.dumpParameters(xsb, m_parameters); in toXml() 501 xsb.push("groups"); in toXml() 511 xsb.push("define", metaGroupProp); in toXml() 517 xsb.addEmptyElement("include", includeProps); in toXml() 520 xsb.pop("define"); in toXml() [all …]
|
D | XmlDefine.java | 24 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 27 xsb.push("define", "name", m_name); in toXml() 30 xsb.addEmptyElement("include", "name", s); in toXml() 33 xsb.pop("define"); in toXml() 36 return xsb.toXML(); in toXml()
|
D | XmlDependencies.java | 25 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 28 xsb.push("dependencies"); in toXml() 31 xsb.addEmptyElement("include", "name", entry.getKey(), "depends-on", entry.getValue()); in toXml() 34 xsb.pop("dependencies"); in toXml() 37 return xsb.toXML(); in toXml()
|
D | XmlClass.java | 157 XMLStringBuffer xsb = new XMLStringBuffer(indent); in toXml() local 164 xsb.push("class", prop); in toXml() 165 XmlUtils.dumpParameters(xsb, m_parameters); in toXml() 168 xsb.push("methods"); in toXml() 171 xsb.getStringBuffer().append(m.toXml(indent + " ")); in toXml() 177 xsb.addEmptyElement("exclude", p); in toXml() 180 xsb.pop("methods"); in toXml() 183 xsb.pop("class"); in toXml() 186 xsb.addEmptyElement("class", prop); in toXml() 189 return xsb.toXML(); in toXml()
|