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:
XMLJUnitResultFormatter
,XMLResultAggregator
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_CLASSNAME
classname attribute for testcase elementsstatic java.lang.String
ATTR_ERRORS
errors attribute for testsuite elementsstatic java.lang.String
ATTR_FAILURES
failures attribute for testsuite elementsstatic java.lang.String
ATTR_ID
id attributestatic java.lang.String
ATTR_MESSAGE
message attribute for failure elementsstatic java.lang.String
ATTR_NAME
name attribute for property, testcase and testsuite elementsstatic java.lang.String
ATTR_PACKAGE
package attribute for the aggregate documentstatic java.lang.String
ATTR_SKIPPED
static java.lang.String
ATTR_TESTS
tests attribute for testsuite elementsstatic java.lang.String
ATTR_TIME
time attribute for testcase and testsuite elementsstatic java.lang.String
ATTR_TYPE
type attribute for failure and error elementsstatic java.lang.String
ATTR_VALUE
value attribute for property elementsstatic java.lang.String
ERROR
the error elementstatic java.lang.String
FAILURE
the failure elementstatic java.lang.String
HOSTNAME
name of host running the testsstatic java.lang.String
PROPERTIES
the properties elementstatic java.lang.String
PROPERTY
the property elementstatic java.lang.String
SYSTEM_ERR
the system-err elementstatic java.lang.String
SYSTEM_OUT
the system-out elementstatic java.lang.String
TESTCASE
the testcase elementstatic java.lang.String
TESTSUITE
the testsuite elementstatic java.lang.String
TESTSUITES
the testsuites element for the aggregate documentstatic java.lang.String
TIMESTAMP
timestamp of test cases
-
Field Details
-
TESTSUITES
static final java.lang.String TESTSUITESthe testsuites element for the aggregate document- See Also:
- Constant Field Values
-
TESTSUITE
static final java.lang.String TESTSUITEthe testsuite element- See Also:
- Constant Field Values
-
TESTCASE
static final java.lang.String TESTCASEthe testcase element- See Also:
- Constant Field Values
-
ERROR
static final java.lang.String ERRORthe error element- See Also:
- Constant Field Values
-
FAILURE
static final java.lang.String FAILUREthe failure element- See Also:
- Constant Field Values
-
SYSTEM_ERR
static final java.lang.String SYSTEM_ERRthe system-err element- See Also:
- Constant Field Values
-
SYSTEM_OUT
static final java.lang.String SYSTEM_OUTthe system-out element- See Also:
- Constant Field Values
-
ATTR_PACKAGE
static final java.lang.String ATTR_PACKAGEpackage attribute for the aggregate document- See Also:
- Constant Field Values
-
ATTR_NAME
static final java.lang.String ATTR_NAMEname attribute for property, testcase and testsuite elements- See Also:
- Constant Field Values
-
ATTR_TIME
static final java.lang.String ATTR_TIMEtime attribute for testcase and testsuite elements- See Also:
- Constant Field Values
-
ATTR_ERRORS
static final java.lang.String ATTR_ERRORSerrors attribute for testsuite elements- See Also:
- Constant Field Values
-
ATTR_FAILURES
static final java.lang.String ATTR_FAILURESfailures attribute for testsuite elements- See Also:
- Constant Field Values
-
ATTR_TESTS
static final java.lang.String ATTR_TESTStests attribute for testsuite elements- See Also:
- Constant Field Values
-
ATTR_SKIPPED
static final java.lang.String ATTR_SKIPPED- See Also:
- Constant Field Values
-
ATTR_TYPE
static final java.lang.String ATTR_TYPEtype attribute for failure and error elements- See Also:
- Constant Field Values
-
ATTR_MESSAGE
static final java.lang.String ATTR_MESSAGEmessage attribute for failure elements- See Also:
- Constant Field Values
-
PROPERTIES
static final java.lang.String PROPERTIESthe properties element- See Also:
- Constant Field Values
-
PROPERTY
static final java.lang.String PROPERTYthe property element- See Also:
- Constant Field Values
-
ATTR_VALUE
static final java.lang.String ATTR_VALUEvalue attribute for property elements- See Also:
- Constant Field Values
-
ATTR_CLASSNAME
static final java.lang.String ATTR_CLASSNAMEclassname attribute for testcase elements- See Also:
- Constant Field Values
-
ATTR_ID
static final java.lang.String ATTR_IDid attribute- See Also:
- Constant Field Values
-
TIMESTAMP
static final java.lang.String TIMESTAMPtimestamp of test cases- See Also:
- Constant Field Values
-
HOSTNAME
static final java.lang.String HOSTNAMEname of host running the tests- See Also:
- Constant Field Values
-