1 package org.testng.reporters;
2 
3 /**
4  * interface groups the XML constants
5  * tries to emulate what's in org.apache.tools.ant.taskdefs.optional.junit.XMLConstants
6  * to be compatible with junitreport
7  */
8 public interface XMLConstants {
9   /** the testsuites element for the aggregate document */
10   String TESTSUITES = "testsuites";
11 
12   /** the testsuite element */
13   String TESTSUITE = "testsuite";
14 
15   /** the testcase element */
16   String TESTCASE = "testcase";
17 
18   /** the error element */
19   String ERROR = "error";
20 
21   /** the failure element */
22   String FAILURE = "failure";
23 
24   /** the system-err element */
25   String SYSTEM_ERR = "system-err";
26 
27   /** the system-out element */
28   String SYSTEM_OUT = "system-out";
29 
30   /** package attribute for the aggregate document */
31   String ATTR_PACKAGE = "package";
32 
33   /** name attribute for property, testcase and testsuite elements */
34   String ATTR_NAME = "name";
35 
36   /** time attribute for testcase and testsuite elements */
37   String ATTR_TIME = "time";
38 
39   /** errors attribute for testsuite elements */
40   String ATTR_ERRORS = "errors";
41 
42   /** failures attribute for testsuite elements */
43   String ATTR_FAILURES = "failures";
44 
45   /** tests attribute for testsuite elements */
46   String ATTR_TESTS = "tests";
47 
48   /** type attribute for failure and error elements */
49   String ATTR_TYPE = "type";
50 
51   /** message attribute for failure elements */
52   String ATTR_MESSAGE = "message";
53 
54   /** the properties element */
55   String PROPERTIES = "properties";
56 
57   /** the property element */
58   String PROPERTY = "property";
59 
60   /** value attribute for property elements */
61   String ATTR_VALUE = "value";
62 
63   /** classname attribute for testcase elements */
64   String ATTR_CLASSNAME = "classname";
65 
66   String ATTR_HOSTNAME = "hostname";
67 
68   String ATTR_TIMESTAMP = "timestamp";
69 }