Interface XMLConstants
- All Known Implementing Classes:
XMLJUnitResultFormatter,XMLResultAggregator
public interface XMLConstants
Interface groups XML constants.
Interface that groups all constants used throughout the XML
documents that are generated by the XMLJUnitResultFormatter.
<!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 Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringclassname attribute for testcase elementsstatic final Stringerrors attribute for testsuite elementsstatic final Stringfailures attribute for testsuite elementsstatic final Stringid attributestatic final Stringmessage attribute for failure elementsstatic final Stringname attribute for property, testcase and testsuite elementsstatic final Stringpackage attribute for the aggregate documentstatic final Stringstatic final Stringtests attribute for testsuite elementsstatic final Stringtime attribute for testcase and testsuite elementsstatic final Stringtype attribute for failure and error elementsstatic final Stringvalue attribute for property elementsstatic final Stringthe error elementstatic final Stringthe failure elementstatic final Stringname of host running the testsstatic final Stringthe properties elementstatic final Stringthe property elementstatic final Stringthe system-err elementstatic final Stringthe system-out elementstatic final Stringthe testcase elementstatic final Stringthe testsuite elementstatic final Stringthe testsuites element for the aggregate documentstatic final Stringtimestamp of test cases
-
Field Details
-
TESTSUITES
-
TESTSUITE
-
TESTCASE
-
ERROR
-
FAILURE
-
SYSTEM_ERR
-
SYSTEM_OUT
-
ATTR_PACKAGE
-
ATTR_NAME
name attribute for property, testcase and testsuite elements- See Also:
-
ATTR_TIME
-
ATTR_ERRORS
-
ATTR_FAILURES
-
ATTR_TESTS
-
ATTR_SKIPPED
- See Also:
-
ATTR_TYPE
-
ATTR_MESSAGE
-
PROPERTIES
-
PROPERTY
-
ATTR_VALUE
-
ATTR_CLASSNAME
-
ATTR_ID
-
TIMESTAMP
-
HOSTNAME
-