source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 2.7 KB
Line 
1/*
2 * Copyright 2001,2004-2005 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17package org.apache.tools.ant.taskdefs.optional.junit;
18
19/**
20 * <p> Interface groups XML constants.
21 * Interface that groups all constants used throughout the <tt>XML</tt>
22 * documents that are generated by the <tt>XMLJUnitResultFormatter</tt>
23 * As of now the DTD is:
24 * <code><pre>
25 * <----------------- @todo describe DTDs ---------------------->
26 *
27 * </pre></code>
28 * @see XMLJUnitResultFormatter
29 * @see XMLResultAggregator
30 */
31public interface XMLConstants {
32 /** the testsuites element for the aggregate document */
33 String TESTSUITES = "testsuites";
34
35 /** the testsuite element */
36 String TESTSUITE = "testsuite";
37
38 /** the testcase element */
39 String TESTCASE = "testcase";
40
41 /** the error element */
42 String ERROR = "error";
43
44 /** the failure element */
45 String FAILURE = "failure";
46
47 /** the system-err element */
48 String SYSTEM_ERR = "system-err";
49
50 /** the system-out element */
51 String SYSTEM_OUT = "system-out";
52
53 /** package attribute for the aggregate document */
54 String ATTR_PACKAGE = "package";
55
56 /** name attribute for property, testcase and testsuite elements */
57 String ATTR_NAME = "name";
58
59 /** time attribute for testcase and testsuite elements */
60 String ATTR_TIME = "time";
61
62 /** errors attribute for testsuite elements */
63 String ATTR_ERRORS = "errors";
64
65 /** failures attribute for testsuite elements */
66 String ATTR_FAILURES = "failures";
67
68 /** tests attribute for testsuite elements */
69 String ATTR_TESTS = "tests";
70
71 /** type attribute for failure and error elements */
72 String ATTR_TYPE = "type";
73
74 /** message attribute for failure elements */
75 String ATTR_MESSAGE = "message";
76
77 /** the properties element */
78 String PROPERTIES = "properties";
79
80 /** the property element */
81 String PROPERTY = "property";
82
83 /** value attribute for property elements */
84 String ATTR_VALUE = "value";
85
86 /** classname attribute for testcase elements */
87 String ATTR_CLASSNAME = "classname";
88
89 /** id attribute */
90 String ATTR_ID = "id";
91}
Note: See TracBrowser for help on using the repository browser.