From: aclement Date: Wed, 11 Jun 2008 21:43:39 +0000 (+0000) Subject: 234933: test and partial fix, just for adviceDidNotMatch so far. X-Git-Tag: V1_6_1rc1~59 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=704e1ad70b52b1733627a200d7f181eb16023d79;p=aspectj.git 234933: test and partial fix, just for adviceDidNotMatch so far. --- diff --git a/tests/bugs161/pr234933/Foobar.java b/tests/bugs161/pr234933/Foobar.java new file mode 100644 index 000000000..1d3071df6 --- /dev/null +++ b/tests/bugs161/pr234933/Foobar.java @@ -0,0 +1,8 @@ +package p1; + +import org.aspectj.lang.annotation.SuppressAjWarnings; + +@SuppressAjWarnings +public aspect Foobar { + before(): execution(* *(..)) {} +} diff --git a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java index 94c28eaab..c5bbb14df 100644 --- a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java @@ -22,7 +22,8 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase { - // AspectJ1.6.1 + // AspectJ1.6.1 + public void testIgnoringTypeLevelSuppression_pr234933() { runTest("ignoring type level suppress");} public void testDuplicateMethodSignature_pr223226_2() { runTest("duplicate method signature - 2"); } public void testDuplicateMethodSignature_pr223226() { runTest("duplicate method signature"); } public void testProtectedMethodsAroundAdvice_pr197719_2() { runTest("protected methods and around advice - again - 2");} diff --git a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml index 5ecf57370..c34a46444 100644 --- a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml +++ b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml @@ -3,6 +3,10 @@ + + + +