diff options
author | aclement <aclement> | 2010-04-29 19:49:27 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-04-29 19:49:27 +0000 |
commit | 66625fd29e1c4e075415dde4740adeb44b811c40 (patch) | |
tree | 5e88279507111387afbf2ad88288d8f124815108 /tests/src | |
parent | 616df116630470ff93b2a6c5cfdae7cc6386f38a (diff) | |
download | aspectj-66625fd29e1c4e075415dde4740adeb44b811c40.tar.gz aspectj-66625fd29e1c4e075415dde4740adeb44b811c40.zip |
307009: test and fix: declare soft and call joinpoint (matching on annotations)
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java | 8 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc169/ajc169.xml | 13 |
2 files changed, 20 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java index e381e1b1d..040496b6c 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java @@ -18,6 +18,14 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testDeclareSoftCall_307009_1() { + runTest("declare soft and call - 1"); + } + + public void testDeclareSoftCall_307009_2() { + runTest("declare soft and call - 2"); + } + public void testAmbiguousMethod_298665() { runTest("ambiguous method"); } diff --git a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml index 06daa16cd..db502f80d 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml +++ b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml @@ -2,9 +2,20 @@ <suite> + <ajc-test dir="bugs169/pr307009" title="declare soft and call - 1"> + <compile files="Test.java Test2.java Ann.java Bug.aj" options="-1.5 -showWeaveInfo"> + <message kind="weave" text="Softening exceptions in type 'Test' (Test.java:4) as defined by aspect 'Bug' (Bug.aj:3)"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs169/pr307009" title="declare soft and call - 2"> + <compile files="Test2.java Test.java Ann.java Bug.aj" options="-1.5 -showWeaveInfo"> + <message kind="weave" text="Softening exceptions in type 'Test' (Test.java:4) as defined by aspect 'Bug' (Bug.aj:3)"/> + </compile> + </ajc-test> + <ajc-test dir="bugs169/pr310043" title="rogue error"> <compile files="B.java" classpath="code.jar" aspectpath="code.jar"/> - </ajc-test> <ajc-test dir="bugs169/pr309743" title="itd marker annotations - 1"> |