diff options
author | aclement <aclement> | 2008-06-11 21:43:39 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-11 21:43:39 +0000 |
commit | 704e1ad70b52b1733627a200d7f181eb16023d79 (patch) | |
tree | 10837e21b6e1c41555d9db2b23e60d7e60b634d8 /tests | |
parent | 0ed0600a2bb9c08b530120ffbf9b18dad613a108 (diff) | |
download | aspectj-704e1ad70b52b1733627a200d7f181eb16023d79.tar.gz aspectj-704e1ad70b52b1733627a200d7f181eb16023d79.zip |
234933: test and partial fix, just for adviceDidNotMatch so far.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs161/pr234933/Foobar.java | 8 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java | 3 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc161/ajc161.xml | 4 |
3 files changed, 14 insertions, 1 deletions
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 @@ <!-- AspectJ v1.6.1 Tests --> <suite> + <ajc-test dir="bugs161/pr234933" title="ignoring type level suppress"> + <compile files="Foobar.java" options="-1.5 -Xlint:error"/> + </ajc-test> + <ajc-test dir="bugs161/pr223226" title="duplicate method signature - 2"> <compile files="AspectX.java BInterface.java FooInterface.java AspectXMarker.java Foo.java Test.java" options="-1.5"/> <run class="Test"/> |