diff options
Diffstat (limited to 'testing/testdata/suite.xml')
-rw-r--r-- | testing/testdata/suite.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/testdata/suite.xml b/testing/testdata/suite.xml new file mode 100644 index 000000000..660af524f --- /dev/null +++ b/testing/testdata/suite.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> + +<!DOCTYPE suite [ + <!ELEMENT suite (ajc-test+)> + <!ELEMENT ajc-test (compile*,run*)> + <!ATTLIST ajc-test title CDATA #REQUIRED > + <!ATTLIST ajc-test dir CDATA #REQUIRED > + <!ATTLIST ajc-test pr CDATA #IMPLIED > + + <!ELEMENT compile (file*,message*)> + + <!ELEMENT run (#PCDATA)> + <!ATTLIST run class CDATA #REQUIRED > + <!ATTLIST run args CDATA "" > + + <!ELEMENT file (#PCDATA)> + <!ELEMENT message (#PCDATA)> + <!ATTLIST message kind (error | warning | Xlint) #REQUIRED > + <!ATTLIST message line CDATA #REQUIRED > + <!ATTLIST message file CDATA #IMPLIED > + ]> + + + +<suite> +<!--correct behavior for 1.0 is good error message, see real test in knownbugs--> +<ajc-test title="harness error test" + dir="harness" pr="9998"> +<compile file="ErrorTest.java"> +<message kind="error" line="5"/> +<message kind="error" line="6"/> +</compile> +</ajc-test> + + +<ajc-test title="harness test with run" + dir="harness" pr="101"> +<compile file="TestNoTester.java"/> +<run class="TestNoTester"/> +</ajc-test> + + +</suite>
\ No newline at end of file |