aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcTestsExamples.xml
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-31 22:07:59 +0000
committerwisberg <wisberg>2003-05-31 22:07:59 +0000
commitfc011ca05ef63f2c7a42d64d738936977380ea28 (patch)
treea251eab158f684c92162c095216bbf2b810a5da3 /tests/ajcTestsExamples.xml
parent2e7f94f0280edf0ebad6ba9b6d0a1f3ee5e1a90b (diff)
downloadaspectj-fc011ca05ef63f2c7a42d64d738936977380ea28.tar.gz
aspectj-fc011ca05ef63f2c7a42d64d738936977380ea28.zip
test suite for example code in ../docs/dist/doc/examples
Diffstat (limited to 'tests/ajcTestsExamples.xml')
-rw-r--r--tests/ajcTestsExamples.xml90
1 files changed, 90 insertions, 0 deletions
diff --git a/tests/ajcTestsExamples.xml b/tests/ajcTestsExamples.xml
new file mode 100644
index 000000000..fcff9e746
--- /dev/null
+++ b/tests/ajcTestsExamples.xml
@@ -0,0 +1,90 @@
+
+<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">
+
+<!--
+ Test documentation examples.
+ Results unverified except for compiler messages, runtime exceptions,
+ and System.exit codes
+-->
+<suite>
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="introduction">
+ <compile argfiles="introduction/files.lst"/>
+ <run class="introduction.Point"/>
+ <run class="introduction.CloneablePoint"/>
+ <run class="introduction.ComparablePoint"/>
+ <run class="introduction.HashablePoint"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="observer example">
+ <compile argfiles="observer/files.lst"/>
+ <!-- GUI run class="observer.Demo"/ -->
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="spacewar example">
+ <compile argfiles="spacewar/debug.lst"/>
+ <compile argfiles="spacewar/demo.lst"/>
+ <!-- GUI run class="spacewar.Game"/ -->
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="telecom basic example">
+ <compile argfiles="telecom/basic.lst"/>
+ <run class="telecom.BasicSimulation"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="telecom billing example">
+ <compile argfiles="telecom/billing.lst"/>
+ <run class="telecom.BillingSimulation"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="telecom billing example">
+ <compile argfiles="telecom/billing.lst"/>
+ <run class="telecom.BillingSimulation"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="thisJoinPoint example">
+ <compile argfiles="tjp/files.lst"/>
+ <run class="tjp.Demo"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="tracing example - none">
+ <compile argfiles="tracing/notrace.lst"/>
+ <run class="tracing.ExampleMain"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="tracing example - version 1">
+ <compile argfiles="tracing/tracev1.lst"/>
+ <run class="tracing.version1.TraceMyClasses"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="tracing example - version 2">
+ <compile argfiles="tracing/tracev2.lst"/>
+ <run class="tracing.version2.TraceMyClasses"/>
+ </ajc-test>
+
+ <ajc-test dir="../docs/dist/doc/examples"
+ keywords="doc-examples"
+ title="tracing example - version 3">
+ <compile argfiles="tracing/tracev3.lst"/>
+ <run class="tracing.version3.TraceMyClasses"/>
+ </ajc-test>
+</suite>