blob: 660af524fe0c31f608530020400892f8d1497595 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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>
|