Skip to content

Commit

Permalink
Copy some code from internal platform code
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Feb 27, 2024
1 parent 8e7e21a commit 8676e14
Show file tree
Hide file tree
Showing 2 changed files with 477 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/*******************************************************************************
* Copyright (c) 2007, 2017 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/

package org.eclipse.unittest.internal.junitXmlReport;

interface IXMLTags {

String NODE_TESTRUN = "testrun"; //$NON-NLS-1$
String NODE_TESTSUITES = "testsuites"; //$NON-NLS-1$
String NODE_TESTSUITE = "testsuite"; //$NON-NLS-1$
String NODE_PROPERTIES = "properties"; //$NON-NLS-1$
String NODE_PROPERTY = "property"; //$NON-NLS-1$
String NODE_TESTCASE = "testcase"; //$NON-NLS-1$
String NODE_ERROR = "error"; //$NON-NLS-1$
String NODE_FAILURE = "failure"; //$NON-NLS-1$
String NODE_EXPECTED = "expected"; //$NON-NLS-1$
String NODE_ACTUAL = "actual"; //$NON-NLS-1$
String NODE_SYSTEM_OUT = "system-out"; //$NON-NLS-1$
String NODE_SYSTEM_ERR = "system-err"; //$NON-NLS-1$
String NODE_SKIPPED = "skipped"; //$NON-NLS-1$

/**
* value: String
*/
String ATTR_NAME = "name"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_LAUNCH_CONFIG_NAME = "launch_config_name"; //$NON-NLS-1$
/**
* value: Integer
*/
String ATTR_TESTS = "tests"; //$NON-NLS-1$
/**
* value: Integer
*/
String ATTR_STARTED = "started"; //$NON-NLS-1$
/**
* value: Integer
*/
String ATTR_FAILURES = "failures"; //$NON-NLS-1$
/**
* value: Integer
*/
String ATTR_ERRORS = "errors"; //$NON-NLS-1$
/**
* value: Boolean
*/
String ATTR_IGNORED = "ignored"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_PACKAGE = "package"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_ID = "id"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_CLASSNAME = "classname"; //$NON-NLS-1$
/**
* value: Boolean
*/
String ATTR_INCOMPLETE = "incomplete"; //$NON-NLS-1$
/**
* value: Duration.toString()
*/
String ATTR_START_TIME = "startTime"; //$NON-NLS-1$
/**
* value: Double (duration in seconds)
*/
String ATTR_DURATION = "time"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_MESSAGE = "message"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_DISPLAY_NAME = "displayname"; //$NON-NLS-1$
/**
* value: Boolean
*/
String ATTR_DYNAMIC_TEST = "dynamicTest"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_DATA = "data"; //$NON-NLS-1$

/**
* value: String
*/
String ATTR_INCLUDE_TAGS = "include_tags"; //$NON-NLS-1$
/**
* value: String
*/
String ATTR_EXCLUDE_TAGS = "exclude_tags"; //$NON-NLS-1$

// public static final String ATTR_TYPE= "type"; //$NON-NLS-1$
}
Loading

0 comments on commit 8676e14

Please sign in to comment.