1
|
|
/* Generated by AspectJ version 1.0.5 */
|
2
|
|
package org.apache.cactus.server.runner;
|
3
|
|
/**
|
4
|
|
* XML constants for outputting the JUnit test results in XML.
|
5
|
|
*
|
6
|
|
* Note: This class was copied from the Jakarta Ant project and heavily
|
7
|
|
* adapted for Cactus.
|
8
|
|
*
|
9
|
|
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
|
10
|
|
*
|
11
|
|
* @version $Id: XMLConstants.html,v 1.1 2003/04/14 12:27:33 sinisa Exp $
|
12
|
|
*
|
13
|
|
* @see XMLFormatter
|
14
|
|
*/
|
15
|
|
public interface XMLConstants {
|
16
|
|
/**
|
17
|
|
* Root element for all test suites.
|
18
|
|
*/
|
19
|
|
public static final String TESTSUITES = "testsuites";
|
20
|
|
/**
|
21
|
|
* A single test suite results.
|
22
|
|
*/
|
23
|
|
public static final String TESTSUITE = "testsuite";
|
24
|
|
/**
|
25
|
|
* A single testcase element
|
26
|
|
*/
|
27
|
|
public static final String TESTCASE = "testcase";
|
28
|
|
/**
|
29
|
|
* The error element (for a test case)
|
30
|
|
*/
|
31
|
|
public static final String ERROR = "error";
|
32
|
|
/**
|
33
|
|
* The failure element (for a test case)
|
34
|
|
*/
|
35
|
|
public static final String FAILURE = "failure";
|
36
|
|
/**
|
37
|
|
* Name attribute for property, testcase and testsuite elements
|
38
|
|
*/
|
39
|
|
public static final String ATTR_NAME = "name";
|
40
|
|
/**
|
41
|
|
* Time attribute for testcase and testsuite elements
|
42
|
|
*/
|
43
|
|
public static final String ATTR_TIME = "time";
|
44
|
|
/**
|
45
|
|
* Errors attribute for testsuite elements
|
46
|
|
*/
|
47
|
|
public static final String ATTR_ERRORS = "errors";
|
48
|
|
/**
|
49
|
|
* Failures attribute for testsuite elements
|
50
|
|
*/
|
51
|
|
public static final String ATTR_FAILURES = "failures";
|
52
|
|
/**
|
53
|
|
* Tests attribute for testsuite elements (number of tests executed)
|
54
|
|
*/
|
55
|
|
public static final String ATTR_TESTS = "tests";
|
56
|
|
/**
|
57
|
|
* Type attribute for failure and error elements
|
58
|
|
*/
|
59
|
|
public static final String ATTR_TYPE = "type";
|
60
|
|
/**
|
61
|
|
* Message attribute for failure elements (message of the exception)
|
62
|
|
*/
|
63
|
|
public static final String ATTR_MESSAGE = "message";}
|