Home
last modified time | relevance | path

Searched refs:XmlReportConstants (Results 1 – 3 of 3) sorted by relevance

/external/vogar/src/vogar/
DXmlReportPrinter.java65 SimpleDateFormat dateFormat = new SimpleDateFormat(XmlReportConstants.DATEFORMAT); in getGMTTimestamp()
127 serializer.startTag(ns, XmlReportConstants.TESTSUITE); in print()
128 serializer.attribute(ns, XmlReportConstants.ATTR_NAME, name); in print()
129 … serializer.attribute(ns, XmlReportConstants.ATTR_TESTS, Integer.toString(outcomes.size())); in print()
130 … serializer.attribute(ns, XmlReportConstants.ATTR_FAILURES, Integer.toString(failuresCount)); in print()
131 serializer.attribute(ns, XmlReportConstants.ATTR_ERRORS, Integer.toString(errorsCount)); in print()
132 serializer.attribute(ns, XmlReportConstants.ATTR_TIME, "0"); in print()
133 serializer.attribute(ns, XmlReportConstants.TIMESTAMP, timestamp); in print()
134 serializer.attribute(ns, XmlReportConstants.HOSTNAME, "localhost"); in print()
135 serializer.startTag(ns, XmlReportConstants.PROPERTIES); in print()
[all …]
DXmlReportReader.java40 XmlReportConstants.FAILURE,
41 XmlReportConstants.ERROR,
42 XmlReportConstants.SUCCESS);
74 parser.require(XmlPullParser.START_TAG, null, XmlReportConstants.TESTSUITE); in readTestSuite()
76 String timestamp = testSuiteAttributes.get(XmlReportConstants.TIMESTAMP); in readTestSuite()
79 parser.require(XmlPullParser.START_TAG, null, XmlReportConstants.PROPERTIES); in readTestSuite()
81 parser.require(XmlPullParser.END_TAG, null, XmlReportConstants.PROPERTIES); in readTestSuite()
83 parser.require(XmlPullParser.START_TAG, null, XmlReportConstants.TESTCASE); in readTestSuite()
86 String name = testCaseAttributes.get(XmlReportConstants.ATTR_NAME); in readTestSuite()
87 String classname = testCaseAttributes.get(XmlReportConstants.ATTR_CLASSNAME); in readTestSuite()
[all …]
DXmlReportConstants.java19 public final class XmlReportConstants { class