Home | History | Annotate | Download | only in reporters

Lines Matching refs:testTag

91       List<TestTag> testCases = Lists.newArrayList();
98 TestTag testTag = new TestTag();
123 testTag.message = t.getMessage();
124 testTag.type = t.getClass().getName();
125 testTag.stackTrace = sw.toString();
126 testTag.errorTag = tr.getThrowable() instanceof AssertionError ? "failure" : "error";
130 testTag.properties = p2;
131 testCases.add(testTag);
152 for (TestTag testTag : testCases) {
153 if (testTag.stackTrace == null) {
154 xsb.addEmptyElement("testcase", testTag.properties);
157 xsb.push("testcase", testTag.properties);
160 if (testTag.message != null) {
161 p.setProperty("message", testTag.message);
163 p.setProperty("type", testTag.type);
164 xsb.push(testTag.errorTag, p);
165 xsb.addCDATA(testTag.stackTrace);
166 xsb.pop(testTag.errorTag);
247 static class TestTag {