Interface XMLConstants
- 
- All Known Implementing Classes:
- XMLJUnitResultFormatter,- XMLResultAggregator
 
 public interface XMLConstantsInterface groups XML constants. Interface that groups all constants used throughout the As of now the DTD is:XMLdocuments that are generated by theXMLJUnitResultFormatter.<!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 SummaryFields Modifier and Type Field Description static java.lang.StringATTR_CLASSNAMEclassname attribute for testcase elementsstatic java.lang.StringATTR_ERRORSerrors attribute for testsuite elementsstatic java.lang.StringATTR_FAILURESfailures attribute for testsuite elementsstatic java.lang.StringATTR_IDid attributestatic java.lang.StringATTR_MESSAGEmessage attribute for failure elementsstatic java.lang.StringATTR_NAMEname attribute for property, testcase and testsuite elementsstatic java.lang.StringATTR_PACKAGEpackage attribute for the aggregate documentstatic java.lang.StringATTR_SKIPPEDstatic java.lang.StringATTR_TESTStests attribute for testsuite elementsstatic java.lang.StringATTR_TIMEtime attribute for testcase and testsuite elementsstatic java.lang.StringATTR_TYPEtype attribute for failure and error elementsstatic java.lang.StringATTR_VALUEvalue attribute for property elementsstatic java.lang.StringERRORthe error elementstatic java.lang.StringFAILUREthe failure elementstatic java.lang.StringHOSTNAMEname of host running the testsstatic java.lang.StringPROPERTIESthe properties elementstatic java.lang.StringPROPERTYthe property elementstatic java.lang.StringSYSTEM_ERRthe system-err elementstatic java.lang.StringSYSTEM_OUTthe system-out elementstatic java.lang.StringTESTCASEthe testcase elementstatic java.lang.StringTESTSUITEthe testsuite elementstatic java.lang.StringTESTSUITESthe testsuites element for the aggregate documentstatic java.lang.StringTIMESTAMPtimestamp of test cases
 
- 
- 
- 
Field Detail- 
TESTSUITESstatic final java.lang.String TESTSUITES the testsuites element for the aggregate document- See Also:
- Constant Field Values
 
 - 
TESTSUITEstatic final java.lang.String TESTSUITE the testsuite element- See Also:
- Constant Field Values
 
 - 
TESTCASEstatic final java.lang.String TESTCASE the testcase element- See Also:
- Constant Field Values
 
 - 
ERRORstatic final java.lang.String ERROR the error element- See Also:
- Constant Field Values
 
 - 
FAILUREstatic final java.lang.String FAILURE the failure element- See Also:
- Constant Field Values
 
 - 
SYSTEM_ERRstatic final java.lang.String SYSTEM_ERR the system-err element- See Also:
- Constant Field Values
 
 - 
SYSTEM_OUTstatic final java.lang.String SYSTEM_OUT the system-out element- See Also:
- Constant Field Values
 
 - 
ATTR_PACKAGEstatic final java.lang.String ATTR_PACKAGE package attribute for the aggregate document- See Also:
- Constant Field Values
 
 - 
ATTR_NAMEstatic final java.lang.String ATTR_NAME name attribute for property, testcase and testsuite elements- See Also:
- Constant Field Values
 
 - 
ATTR_TIMEstatic final java.lang.String ATTR_TIME time attribute for testcase and testsuite elements- See Also:
- Constant Field Values
 
 - 
ATTR_ERRORSstatic final java.lang.String ATTR_ERRORS errors attribute for testsuite elements- See Also:
- Constant Field Values
 
 - 
ATTR_FAILURESstatic final java.lang.String ATTR_FAILURES failures attribute for testsuite elements- See Also:
- Constant Field Values
 
 - 
ATTR_TESTSstatic final java.lang.String ATTR_TESTS tests attribute for testsuite elements- See Also:
- Constant Field Values
 
 - 
ATTR_SKIPPEDstatic final java.lang.String ATTR_SKIPPED - See Also:
- Constant Field Values
 
 - 
ATTR_TYPEstatic final java.lang.String ATTR_TYPE type attribute for failure and error elements- See Also:
- Constant Field Values
 
 - 
ATTR_MESSAGEstatic final java.lang.String ATTR_MESSAGE message attribute for failure elements- See Also:
- Constant Field Values
 
 - 
PROPERTIESstatic final java.lang.String PROPERTIES the properties element- See Also:
- Constant Field Values
 
 - 
PROPERTYstatic final java.lang.String PROPERTY the property element- See Also:
- Constant Field Values
 
 - 
ATTR_VALUEstatic final java.lang.String ATTR_VALUE value attribute for property elements- See Also:
- Constant Field Values
 
 - 
ATTR_CLASSNAMEstatic final java.lang.String ATTR_CLASSNAME classname attribute for testcase elements- See Also:
- Constant Field Values
 
 - 
ATTR_IDstatic final java.lang.String ATTR_ID id attribute- See Also:
- Constant Field Values
 
 - 
TIMESTAMPstatic final java.lang.String TIMESTAMP timestamp of test cases- See Also:
- Constant Field Values
 
 - 
HOSTNAMEstatic final java.lang.String HOSTNAME name of host running the tests- See Also:
- Constant Field Values
 
 
- 
 
-