FileDocCategorySizeDatePackage
XMLConstants.javaAPI DocApache Ant 1.704378Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.taskdefs.optional.junit

XMLConstants

public interface XMLConstants

Interface groups XML constants. Interface that groups all constants used throughout the XML documents that are generated by the XMLJUnitResultFormatter.

As of now the DTD is:

<!ELEMENT testsuites (testsuite*)>

<!ELEMENT testsuite (properties, testcase*,
failure?, error?,
system-out?, system-err?)>
<!ATTLIST testsuite name CDATA #REQUIRED>
<!ATTLIST testsuite tests CDATA #REQUIRED>
<!ATTLIST testsuite failures CDATA #REQUIRED>
<!ATTLIST testsuite errors CDATA #REQUIRED>
<!ATTLIST testsuite time CDATA #REQUIRED>
<!ATTLIST testsuite package CDATA #IMPLIED>
<!ATTLIST testsuite id CDATA #IMPLIED>


<!ELEMENT properties (property*)>

<!ELEMENT property EMPTY>
<!ATTLIST property name CDATA #REQUIRED>
<!ATTLIST property value CDATA #REQUIRED>

<!ELEMENT testcase (failure?, error?)>
<!ATTLIST testcase name CDATA #REQUIRED>
<!ATTLIST testcase classname CDATA #IMPLIED>
<!ATTLIST testcase time CDATA #REQUIRED>

<!ELEMENT failure (#PCDATA)>
<!ATTLIST failure message CDATA #IMPLIED>
<!ATTLIST failure type CDATA #REQUIRED>

<!ELEMENT error (#PCDATA)>
<!ATTLIST error message CDATA #IMPLIED>
<!ATTLIST error type CDATA #REQUIRED>

<!ELEMENT system-err (#PCDATA)>

<!ELEMENT system-out (#PCDATA)>

see
XMLJUnitResultFormatter
see
XMLResultAggregator

Fields Summary
String
TESTSUITES
the testsuites element for the aggregate document
String
TESTSUITE
the testsuite element
String
TESTCASE
the testcase element
String
ERROR
the error element
String
FAILURE
the failure element
String
SYSTEM_ERR
the system-err element
String
SYSTEM_OUT
the system-out element
String
ATTR_PACKAGE
package attribute for the aggregate document
String
ATTR_NAME
name attribute for property, testcase and testsuite elements
String
ATTR_TIME
time attribute for testcase and testsuite elements
String
ATTR_ERRORS
errors attribute for testsuite elements
String
ATTR_FAILURES
failures attribute for testsuite elements
String
ATTR_TESTS
tests attribute for testsuite elements
String
ATTR_TYPE
type attribute for failure and error elements
String
ATTR_MESSAGE
message attribute for failure elements
String
PROPERTIES
the properties element
String
PROPERTY
the property element
String
ATTR_VALUE
value attribute for property elements
String
ATTR_CLASSNAME
classname attribute for testcase elements
String
ATTR_ID
id attribute
String
TIMESTAMP
timestamp of test cases
String
HOSTNAME
name of host running the tests
Constructors Summary
Methods Summary