Skip to content

Commit 8676e14

Browse files
committed
Copy some code from internal platform code
1 parent 8e7e21a commit 8676e14

2 files changed

Lines changed: 477 additions & 0 deletions

File tree

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2007, 2017 IBM Corporation and others.
3+
*
4+
* This program and the accompanying materials
5+
* are made available under the terms of the Eclipse Public License 2.0
6+
* which accompanies this distribution, and is available at
7+
* https://www.eclipse.org/legal/epl-2.0/
8+
*
9+
* SPDX-License-Identifier: EPL-2.0
10+
*
11+
* Contributors:
12+
* IBM Corporation - initial API and implementation
13+
*******************************************************************************/
14+
15+
package org.eclipse.unittest.internal.junitXmlReport;
16+
17+
interface IXMLTags {
18+
19+
String NODE_TESTRUN = "testrun"; //$NON-NLS-1$
20+
String NODE_TESTSUITES = "testsuites"; //$NON-NLS-1$
21+
String NODE_TESTSUITE = "testsuite"; //$NON-NLS-1$
22+
String NODE_PROPERTIES = "properties"; //$NON-NLS-1$
23+
String NODE_PROPERTY = "property"; //$NON-NLS-1$
24+
String NODE_TESTCASE = "testcase"; //$NON-NLS-1$
25+
String NODE_ERROR = "error"; //$NON-NLS-1$
26+
String NODE_FAILURE = "failure"; //$NON-NLS-1$
27+
String NODE_EXPECTED = "expected"; //$NON-NLS-1$
28+
String NODE_ACTUAL = "actual"; //$NON-NLS-1$
29+
String NODE_SYSTEM_OUT = "system-out"; //$NON-NLS-1$
30+
String NODE_SYSTEM_ERR = "system-err"; //$NON-NLS-1$
31+
String NODE_SKIPPED = "skipped"; //$NON-NLS-1$
32+
33+
/**
34+
* value: String
35+
*/
36+
String ATTR_NAME = "name"; //$NON-NLS-1$
37+
/**
38+
* value: String
39+
*/
40+
String ATTR_LAUNCH_CONFIG_NAME = "launch_config_name"; //$NON-NLS-1$
41+
/**
42+
* value: Integer
43+
*/
44+
String ATTR_TESTS = "tests"; //$NON-NLS-1$
45+
/**
46+
* value: Integer
47+
*/
48+
String ATTR_STARTED = "started"; //$NON-NLS-1$
49+
/**
50+
* value: Integer
51+
*/
52+
String ATTR_FAILURES = "failures"; //$NON-NLS-1$
53+
/**
54+
* value: Integer
55+
*/
56+
String ATTR_ERRORS = "errors"; //$NON-NLS-1$
57+
/**
58+
* value: Boolean
59+
*/
60+
String ATTR_IGNORED = "ignored"; //$NON-NLS-1$
61+
/**
62+
* value: String
63+
*/
64+
String ATTR_PACKAGE = "package"; //$NON-NLS-1$
65+
/**
66+
* value: String
67+
*/
68+
String ATTR_ID = "id"; //$NON-NLS-1$
69+
/**
70+
* value: String
71+
*/
72+
String ATTR_CLASSNAME = "classname"; //$NON-NLS-1$
73+
/**
74+
* value: Boolean
75+
*/
76+
String ATTR_INCOMPLETE = "incomplete"; //$NON-NLS-1$
77+
/**
78+
* value: Duration.toString()
79+
*/
80+
String ATTR_START_TIME = "startTime"; //$NON-NLS-1$
81+
/**
82+
* value: Double (duration in seconds)
83+
*/
84+
String ATTR_DURATION = "time"; //$NON-NLS-1$
85+
/**
86+
* value: String
87+
*/
88+
String ATTR_MESSAGE = "message"; //$NON-NLS-1$
89+
/**
90+
* value: String
91+
*/
92+
String ATTR_DISPLAY_NAME = "displayname"; //$NON-NLS-1$
93+
/**
94+
* value: Boolean
95+
*/
96+
String ATTR_DYNAMIC_TEST = "dynamicTest"; //$NON-NLS-1$
97+
/**
98+
* value: String
99+
*/
100+
String ATTR_DATA = "data"; //$NON-NLS-1$
101+
102+
/**
103+
* value: String
104+
*/
105+
String ATTR_INCLUDE_TAGS = "include_tags"; //$NON-NLS-1$
106+
/**
107+
* value: String
108+
*/
109+
String ATTR_EXCLUDE_TAGS = "exclude_tags"; //$NON-NLS-1$
110+
111+
// public static final String ATTR_TYPE= "type"; //$NON-NLS-1$
112+
}

0 commit comments

Comments
 (0)