aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-03 08:46:39 +0000
committeraclement <aclement>2005-10-03 08:46:39 +0000
commite21bf1e36e46dae8c49d9d83bf810747ff56f0a9 (patch)
tree8580cd72e6a97a7d4a8055ab32028c8426b46ba3 /tests/src
parentf74a5c0fc3634f080b6a1714bb4d5b25df2a914b (diff)
downloadaspectj-e21bf1e36e46dae8c49d9d83bf810747ff56f0a9.tar.gz
aspectj-e21bf1e36e46dae8c49d9d83bf810747ff56f0a9.zip
test for pr84033 promoted from failing suite to real suite.
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java7
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml11
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java
index d4a4f62f2..7294c54cb 100644
--- a/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java
+++ b/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java
@@ -256,5 +256,12 @@ public class IncrementalTests extends org.aspectj.testing.XMLBasedAjcTestCase {
copyFileAndDoIncrementalBuild("changes/X.20.aj","src/X.aj");
}
+ public void testPersistingDeow_pr84033() throws Exception {
+ runTest("incremental declare error persists after fix");
+ copyFileAndDoIncrementalBuild("changes/Aspect.20.java", "src/pack/Aspect.java");
+ nextIncrement(true);
+ RunResult before = run("pack.Main");
+ }
+
}
diff --git a/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml b/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml
index b16dd107e..794a63dd3 100644
--- a/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml
+++ b/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml
@@ -377,4 +377,15 @@
<compile staging="true" options="-incremental,-verbose,-emacssym" sourceroots="src"/>
<!--inc-compile tag="20"/-->
</ajc-test>
+
+ <ajc-test dir="bugs/incremental-declare-error" pr="84033"
+ title="incremental declare error persists after fix">
+ <compile staging="true"
+ options="-incremental,-verbose"
+ sourceroots="src">
+ <message kind="error" line="6" text="main"/>
+ </compile>
+ <!--inc-compile tag="20"/-->
+ <!--run class="pack.Main"/-->
+ </ajc-test>
\ No newline at end of file