summaryrefslogtreecommitdiffstats
path: root/testing/testdata
diff options
context:
space:
mode:
authorwisberg <wisberg>2002-12-16 18:14:27 +0000
committerwisberg <wisberg>2002-12-16 18:14:27 +0000
commit1025cde05abe95be6ca65aab3ba126258efc647f (patch)
tree7d40d6fa06fef869e4d38cbe44ce431011e2eff8 /testing/testdata
parentd842c4f1139629c1f062b74ba818d233b2c31043 (diff)
downloadaspectj-1025cde05abe95be6ca65aab3ba126258efc647f.tar.gz
aspectj-1025cde05abe95be6ca65aab3ba126258efc647f.zip
initial version
Diffstat (limited to 'testing/testdata')
-rw-r--r--testing/testdata/harnessList.txt1
-rw-r--r--testing/testdata/suite.dtd6
-rw-r--r--testing/testdata/suite.xml43
3 files changed, 50 insertions, 0 deletions
diff --git a/testing/testdata/harnessList.txt b/testing/testdata/harnessList.txt
new file mode 100644
index 000000000..2b146c125
--- /dev/null
+++ b/testing/testdata/harnessList.txt
@@ -0,0 +1 @@
+@../../../tests/harnessPasses.txt
diff --git a/testing/testdata/suite.dtd b/testing/testdata/suite.dtd
new file mode 100644
index 000000000..65025672a
--- /dev/null
+++ b/testing/testdata/suite.dtd
@@ -0,0 +1,6 @@
+<!DOCTYPE suite [
+ <!ELEMENT suite (ajc-test+)>
+ <!ELEMENT ajc-test (compile+,run+)>
+ <!ELEMENT compile (#PCDATA)>
+ <!ELEMENT run (#PCDATA)>
+ ]> \ No newline at end of file
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