CUnit-List.dtd 1.68 KB
Newer Older
1 2 3
<!ELEMENT CUNIT_TEST_LIST_REPORT
  (CUNIT_HEADER, CUNIT_LIST_TOTAL_SUMMARY, CUNIT_ALL_TEST_LISTING*, CUNIT_FOOTER)>

4 5 6
<!ELEMENT CUNIT_HEADER EMPTY>

<!ELEMENT CUNIT_LIST_TOTAL_SUMMARY (CUNIT_LIST_TOTAL_SUMMARY_RECORD*)>
7 8 9 10 11 12 13
  <!ELEMENT CUNIT_LIST_TOTAL_SUMMARY_RECORD 
    (CUNIT_LIST_TOTAL_SUMMARY_RECORD_TEXT, CUNIT_LIST_TOTAL_SUMMARY_RECORD_VALUE)>
    <!ELEMENT CUNIT_LIST_TOTAL_SUMMARY_RECORD_TEXT (#PCDATA)>
    <!ELEMENT CUNIT_LIST_TOTAL_SUMMARY_RECORD_VALUE (#PCDATA)>

<!ELEMENT CUNIT_ALL_TEST_LISTING (CUNIT_ALL_TEST_LISTING_SUITE*|CUNIT_ALL_TEST_LISTING_GROUP*)>
  <!ELEMENT CUNIT_ALL_TEST_LISTING_SUITE (CUNIT_ALL_TEST_LISTING_SUITE_DEFINITION, CUNIT_ALL_TEST_LISTING_SUITE_TESTS*)>
14
    <!ELEMENT CUNIT_ALL_TEST_LISTING_SUITE_DEFINITION (SUITE_NAME?, INITIALIZE_VALUE?, CLEANUP_VALUE?, ACTIVE_VALUE?, TEST_COUNT_VALUE?)>
15 16 17 18
      <!ELEMENT SUITE_NAME (#PCDATA)>
      <!ELEMENT INITIALIZE_VALUE (#PCDATA)>
      <!ELEMENT CLEANUP_VALUE (#PCDATA)>
      <!ELEMENT TEST_COUNT_VALUE (#PCDATA)>
19 20 21 22 23
      <!ELEMENT ACTIVE_VALUE (#PCDATA)>
    <!ELEMENT CUNIT_ALL_TEST_LISTING_SUITE_TESTS (TEST_CASE_DEFINITION* | TEST_CASE_NAME*)>  <!-- support v2.1 structure for now -->
      <!ELEMENT TEST_CASE_DEFINITION (TEST_CASE_NAME?, TEST_ACTIVE_VALUE?)>
        <!ELEMENT TEST_CASE_NAME (#PCDATA)>
        <!ELEMENT TEST_ACTIVE_VALUE (#PCDATA)>
24 25 26 27 28 29
  <!ELEMENT CUNIT_ALL_TEST_LISTING_GROUP (CUNIT_ALL_TEST_LISTING_GROUP_DEFINITION, CUNIT_ALL_TEST_LISTING_GROUP_TESTS*)>
    <!ELEMENT CUNIT_ALL_TEST_LISTING_GROUP_DEFINITION (GROUP_NAME, INITIALIZE_VALUE, CLEANUP_VALUE, TEST_COUNT_VALUE)>
      <!ELEMENT GROUP_NAME (#PCDATA)>
    <!ELEMENT CUNIT_ALL_TEST_LISTING_GROUP_TESTS (TEST_CASE_NAME*)>

<!ELEMENT CUNIT_FOOTER (#PCDATA)>