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
Modifier and TypeFieldDescriptionstatic final String
classname attribute for testcase elementsstatic final String
errors attribute for testsuite elementsstatic final String
failures attribute for testsuite elementsstatic final String
id attributestatic final String
message attribute for failure elementsstatic final String
name attribute for property, testcase and testsuite elementsstatic final String
package attribute for the aggregate documentstatic final String
static final String
tests attribute for testsuite elementsstatic final String
time attribute for testcase and testsuite elementsstatic final String
type attribute for failure and error elementsstatic final String
value attribute for property elementsstatic final String
the error elementstatic final String
the failure elementstatic final String
name of host running the testsstatic final String
the properties elementstatic final String
the property elementstatic final String
the system-err elementstatic final String
the system-out elementstatic final String
the testcase elementstatic final String
the testsuite elementstatic final String
the testsuites element for the aggregate documentstatic final String
timestamp of test cases
-
Field Details
-
TESTSUITES
the testsuites element for the aggregate document- See Also:
-
TESTSUITE
the testsuite element- See Also:
-
TESTCASE
the testcase element- See Also:
-
ERROR
the error element- See Also:
-
FAILURE
the failure element- See Also:
-
SYSTEM_ERR
the system-err element- See Also:
-
SYSTEM_OUT
the system-out element- See Also:
-
ATTR_PACKAGE
package attribute for the aggregate document- See Also:
-
ATTR_NAME
name attribute for property, testcase and testsuite elements- See Also:
-
ATTR_TIME
time attribute for testcase and testsuite elements- See Also:
-
ATTR_ERRORS
errors attribute for testsuite elements- See Also:
-
ATTR_FAILURES
failures attribute for testsuite elements- See Also:
-
ATTR_TESTS
tests attribute for testsuite elements- See Also:
-
ATTR_SKIPPED
- See Also:
-
ATTR_TYPE
type attribute for failure and error elements- See Also:
-
ATTR_MESSAGE
message attribute for failure elements- See Also:
-
PROPERTIES
the properties element- See Also:
-
PROPERTY
the property element- See Also:
-
ATTR_VALUE
value attribute for property elements- See Also:
-
ATTR_CLASSNAME
classname attribute for testcase elements- See Also:
-
ATTR_ID
id attribute- See Also:
-
TIMESTAMP
timestamp of test cases- See Also:
-
HOSTNAME
name of host running the tests- See Also:
-