1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.woopi.ant.taskdefs.junit;
18 /***
19 * <p> Interface groups XML constants.
20 * Interface that groups all constants used throughout the <tt>XML</tt>
21 * documents that are generated by the <tt>XMLJUnitResultFormatter</tt>
22 * As of now the DTD is:
23 * <code><pre>
24 * <----------------- @todo describe DTDs ---------------------->
25 *
26 * </pre></code>
27 * @see XMLJUnitResultFormatter
28 * @see XMLResultAggregator
29 */
30 public interface XMLConstants {
31 /*** the testsuites element for the aggregate document */
32 String JAVADOC = "javadoc";
33
34 /*** the testsuites element for the aggregate document */
35 String TESTSUITES = "testsuites";
36
37 /*** the testsuite element */
38 String TESTSUITE = "testsuite";
39
40 /*** the testcase element */
41 String TESTCASE = "testcase";
42
43 /*** the error element */
44 String ERROR = "error";
45
46 /*** the failure element */
47 String FAILURE = "failure";
48
49 /*** the system-err element */
50 String SYSTEM_ERR = "system-err";
51
52 /*** the system-out element */
53 String SYSTEM_OUT = "system-out";
54
55 /*** package attribute for the aggregate document */
56 String ATTR_PACKAGE = "package";
57
58 /*** name attribute for property, testcase and testsuite elements */
59 String ATTR_NAME = "name";
60
61 /*** time attribute for testcase and testsuite elements */
62 String ATTR_TIME = "time";
63
64 /*** errors attribute for testsuite elements */
65 String ATTR_ERRORS = "errors";
66
67 /*** failures attribute for testsuite elements */
68 String ATTR_FAILURES = "failures";
69
70 /*** tests attribute for testsuite elements */
71 String ATTR_TESTS = "tests";
72
73 /*** type attribute for failure and error elements */
74 String ATTR_TYPE = "type";
75
76 /*** message attribute for failure elements */
77 String ATTR_MESSAGE = "message";
78
79 /*** the properties element */
80 String PROPERTIES = "properties";
81
82 /*** the property element */
83 String PROPERTY = "property";
84
85 /*** value attribute for property elements */
86 String ATTR_VALUE = "value";
87
88 /*** classname attribute for testcase elements */
89 String ATTR_CLASSNAME = "classname";
90
91 }