diff options
author | wisberg <wisberg> | 2003-05-07 04:05:53 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-05-07 04:05:53 +0000 |
commit | d5ff44e9844b43087d6dbb0a5b5a0fb82f2f6403 (patch) | |
tree | 6326fb4962659c6b0e8ae188a89537c7d553cedc /tests/ajcHarnessTests.xml | |
parent | eb770d8b1cc2f8a3c2ac3447f79971e0b84bca60 (diff) | |
download | aspectj-d5ff44e9844b43087d6dbb0a5b5a0fb82f2f6403.tar.gz aspectj-d5ff44e9844b43087d6dbb0a5b5a0fb82f2f6403.zip |
new harness tests
- inc-compile "fresh" attribute and "same" tag
- compile "reuseCompiler" attribute
Diffstat (limited to 'tests/ajcHarnessTests.xml')
-rw-r--r-- | tests/ajcHarnessTests.xml | 53 |
1 files changed, 50 insertions, 3 deletions
diff --git a/tests/ajcHarnessTests.xml b/tests/ajcHarnessTests.xml index 6705233e7..d4b370080 100644 --- a/tests/ajcHarnessTests.xml +++ b/tests/ajcHarnessTests.xml @@ -9,6 +9,7 @@ Also pick out "incremental" keyword for incremental tests. --> <suite> + <ajc-test dir="noSuchDir" title="no such directory - report as error (AjcTest specification)" keywords="expect-fail"> @@ -133,7 +134,6 @@ <run class="AspectMain"/> </ajc-test> - <!-- testing incremental support --> <ajc-test dir="harness" keywords="incremental" title="minimal purejava sourceroots test"> <compile sourceroots="sourceroot"/> @@ -147,14 +147,61 @@ </ajc-test> <ajc-test dir="harness" keywords="incremental" - title="minimal incremental purejava sourceroots test"> + title="minimal incremental purejava sourceroots test" + comment="inc-22 generates new event, expected after"> + <compile options="-incremental" + sourceroots="sourceroot-inc"/> + <run class="packageOne.Main"/> + <inc-compile tag="22"/> + <run class="packageOne.Main" + options="new-event"/> + </ajc-test> + + <ajc-test dir="harness" keywords="incremental" + title="rebuild minimal incremental purejava sourceroots test" + comment="inc-22 generates new event, expected after"> + <compile options="-incremental" + sourceroots="sourceroot-inc"/> + <run class="packageOne.Main"/> + <inc-compile tag="22"/> + <run class="packageOne.Main" + options="new-event"/> + + <compile options="-incremental" + reuseCompiler="true" + sourceroots="sourceroot-inc"/> + <run class="packageOne.Main"/> + <inc-compile tag="22"/> + <run class="packageOne.Main" + options="new-event"/> + </ajc-test> + + <ajc-test dir="harness" keywords="incremental" + title="rebuild fresh-same minimal incremental purejava sourceroots test" + comment="inc-22 generates new event, expected after"> <compile options="-incremental" sourceroots="sourceroot-inc"/> <run class="packageOne.Main"/> - <inc-compile tag="22"/> <!-- generates new-event --> + <inc-compile tag="22"/> + <run class="packageOne.Main" + options="new-event"/> + + <inc-compile tag="same" fresh="true" /> <run class="packageOne.Main" options="new-event"/> <!-- now expect new-event --> </ajc-test> + + <ajc-test dir="harness" keywords="incremental" + title="rebuild fresh-updated minimal incremental purejava sourceroots test" + comment="inc-22 generates new event, expected after"> + <compile options="-incremental" + sourceroots="sourceroot-inc"/> + <run class="packageOne.Main"/> + + <inc-compile tag="22" fresh="true" /> + <run class="packageOne.Main" + options="new-event"/> + </ajc-test> <ajc-test dir="incremental/stringliteral" title="incrementally change only string literal size"> |