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)>
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ATTR_CLASSNAME
classname attribute for testcase elements |
| public static final String | ATTR_ERRORS
errors attribute for testsuite elements |
| public static final String | ATTR_FAILURES
failures attribute for testsuite elements |
| public static final String | ATTR_ID
id attribute |
| public static final String | ATTR_MESSAGE
message attribute for failure elements |
| public static final String | ATTR_NAME
name attribute for property, testcase and testsuite elements |
| public static final String | ATTR_PACKAGE
package attribute for the aggregate document |
| public static final String | ATTR_TESTS
tests attribute for testsuite elements |
| public static final String | ATTR_TIME
time attribute for testcase and testsuite elements |
| public static final String | ATTR_TYPE
type attribute for failure and error elements |
| public static final String | ATTR_VALUE
value attribute for property elements |
| public static final String | ERROR
the error element |
| public static final String | FAILURE
the failure element |
| public static final String | HOSTNAME
name of host running the tests |
| public static final String | PROPERTIES
the properties element |
| public static final String | PROPERTY
the property element |
| public static final String | SYSTEM_ERR
the system-err element |
| public static final String | SYSTEM_OUT
the system-out element |
| public static final String | TESTCASE
the testcase element |
| public static final String | TESTSUITE
the testsuite element |
| public static final String | TESTSUITES
the testsuites element for the aggregate document |
| public static final String | TIMESTAMP
timestamp of test cases |
| ATTR_CLASSNAME | back to summary |
|---|---|
| public static final String ATTR_CLASSNAME classname attribute for testcase elements | |
| ATTR_ERRORS | back to summary |
|---|---|
| public static final String ATTR_ERRORS errors attribute for testsuite elements | |
| ATTR_FAILURES | back to summary |
|---|---|
| public static final String ATTR_FAILURES failures attribute for testsuite elements | |
| ATTR_ID | back to summary |
|---|---|
| public static final String ATTR_ID id attribute | |
| ATTR_MESSAGE | back to summary |
|---|---|
| public static final String ATTR_MESSAGE message attribute for failure elements | |
| ATTR_NAME | back to summary |
|---|---|
| public static final String ATTR_NAME name attribute for property, testcase and testsuite elements | |
| ATTR_PACKAGE | back to summary |
|---|---|
| public static final String ATTR_PACKAGE package attribute for the aggregate document | |
| ATTR_TESTS | back to summary |
|---|---|
| public static final String ATTR_TESTS tests attribute for testsuite elements | |
| ATTR_TIME | back to summary |
|---|---|
| public static final String ATTR_TIME time attribute for testcase and testsuite elements | |
| ATTR_TYPE | back to summary |
|---|---|
| public static final String ATTR_TYPE type attribute for failure and error elements | |
| ATTR_VALUE | back to summary |
|---|---|
| public static final String ATTR_VALUE value attribute for property elements | |
| ERROR | back to summary |
|---|---|
| public static final String ERROR the error element | |
| FAILURE | back to summary |
|---|---|
| public static final String FAILURE the failure element | |
| HOSTNAME | back to summary |
|---|---|
| public static final String HOSTNAME name of host running the tests | |
| PROPERTIES | back to summary |
|---|---|
| public static final String PROPERTIES the properties element | |
| PROPERTY | back to summary |
|---|---|
| public static final String PROPERTY the property element | |
| SYSTEM_ERR | back to summary |
|---|---|
| public static final String SYSTEM_ERR the system-err element | |
| SYSTEM_OUT | back to summary |
|---|---|
| public static final String SYSTEM_OUT the system-out element | |
| TESTCASE | back to summary |
|---|---|
| public static final String TESTCASE the testcase element | |
| TESTSUITE | back to summary |
|---|---|
| public static final String TESTSUITE the testsuite element | |
| TESTSUITES | back to summary |
|---|---|
| public static final String TESTSUITES the testsuites element for the aggregate document | |
| TIMESTAMP | back to summary |
|---|---|
| public static final String TIMESTAMP timestamp of test cases | |