diff options
author | wisberg <wisberg> | 2003-06-02 05:47:02 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-06-02 05:47:02 +0000 |
commit | e76e67fddf6081780c06faf9b602de5296f82769 (patch) | |
tree | f27c1d21a15988ae2a243e63fae0d2fd46318341 /tests | |
parent | 739f2aa1bbd2b98a21249458929c62fb1b91aa94 (diff) | |
download | aspectj-e76e67fddf6081780c06faf9b602de5296f82769.tar.gz aspectj-e76e67fddf6081780c06faf9b602de5296f82769.zip |
updated for testing 1.1 classes,
(exclusive of changes to
docs/dist/doc/examples/telecom/Call.java)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTestsExamples.xml | 53 |
1 files changed, 41 insertions, 12 deletions
diff --git a/tests/ajcTestsExamples.xml b/tests/ajcTestsExamples.xml index fcff9e746..77f79d55d 100644 --- a/tests/ajcTestsExamples.xml +++ b/tests/ajcTestsExamples.xml @@ -3,18 +3,44 @@ <!-- Test documentation examples. - Results unverified except for compiler messages, runtime exceptions, - and System.exit codes + Results unverified except for compiler messages, + runtime exceptions, System.exit codes, and System.err + messages (the latter not for all tests). + + To run the example classes using a forked 1.1 vm: + + java -Djavarun.fork=true \ + -Djavarun.java.home=d:\\jdk11 \ + -Djavarun.java=d:\\jdk11\\bin\\javaw \ + -Djavarun.bootclasspath=d:\\jdk11\\lib\\classes.zip \ + -jar ../aj-build/jars/testing-drivers-all.jar \ + ajcTestsExamples.xml \ + -ajctestSkipKeywords=knownLimitation-run11 \ + -logFail + + Note that unless two 1.2 API's are removed from + telecom, that will fail when forked, too. + (Vector.[add|remove](..) to [add|remove]Element(..)) + --> <suite> <ajc-test dir="../docs/dist/doc/examples" keywords="doc-examples" + title="bean example"> + <compile argfiles="bean/files.lst"/> + <run class="bean.Demo" + errStreamIsError="false"/> + <!-- ??: error security properties not found. using defaults. --> + </ajc-test> + + <ajc-test dir="../docs/dist/doc/examples" + keywords="doc-examples,knownLimitation-run11" title="introduction"> <compile argfiles="introduction/files.lst"/> - <run class="introduction.Point"/> - <run class="introduction.CloneablePoint"/> - <run class="introduction.ComparablePoint"/> - <run class="introduction.HashablePoint"/> + <run vm="1.2" class="introduction.Point"/> + <run vm="1.2" class="introduction.CloneablePoint"/> + <run vm="1.2" class="introduction.ComparablePoint"/> + <run vm="1.2" class="introduction.HashablePoint"/> </ajc-test> <ajc-test dir="../docs/dist/doc/examples" @@ -48,9 +74,9 @@ <ajc-test dir="../docs/dist/doc/examples" keywords="doc-examples" - title="telecom billing example"> - <compile argfiles="telecom/billing.lst"/> - <run class="telecom.BillingSimulation"/> + title="telecom timing example"> + <compile argfiles="telecom/timing.lst"/> + <run class="telecom.TimingSimulation"/> </ajc-test> <ajc-test dir="../docs/dist/doc/examples" @@ -71,20 +97,23 @@ keywords="doc-examples" title="tracing example - version 1"> <compile argfiles="tracing/tracev1.lst"/> - <run class="tracing.version1.TraceMyClasses"/> + <run class="tracing.version1.TraceMyClasses" + errStreamIsError="false"/> </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"/> + <run class="tracing.version2.TraceMyClasses" + errStreamIsError="false"/> </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"/> + <run class="tracing.version3.TraceMyClasses" + errStreamIsError="false"/> </ajc-test> </suite> |