From 06f4b223d5a278ff956ee22c86849eca8b85c070 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Thu, 24 Oct 2013 09:20:31 -0700 Subject: [PATCH] wip ajdt marker issues with declare warning and itds on interfaces --- tests/bugs174/ajdt_markers/Code.java | 20 +++++++++++++++++++ .../systemtest/ajc174/Ajc174Tests.java | 6 ++++++ .../org/aspectj/systemtest/ajc174/ajc174.xml | 6 ++++++ 3 files changed, 32 insertions(+) create mode 100644 tests/bugs174/ajdt_markers/Code.java diff --git a/tests/bugs174/ajdt_markers/Code.java b/tests/bugs174/ajdt_markers/Code.java new file mode 100644 index 000000000..b5b52c1e9 --- /dev/null +++ b/tests/bugs174/ajdt_markers/Code.java @@ -0,0 +1,20 @@ +public class Code extends A implements I { + + public static void main(String[] argv) { + Code code = new Code(); + code.am(); + code.im(); + } +} + +class A { + public void am() {} +} + +interface I { +} + +aspect X { + public void I.im() {} + before(): call(* A+.*m(..)) {} +} diff --git a/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java b/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java index e492c5646..e647532fd 100644 --- a/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java @@ -21,6 +21,12 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc174Tests extends org.aspectj.testing.XMLBasedAjcTestCase { +/* wip + public void testAjdtMarkers() throws Exception { + runTest("ajdt markers"); + } +*/ + public void testExtraInserts() throws Exception { runTest("extra inserts"); } diff --git a/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml b/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml index 5440b4bad..2ee09c456 100644 --- a/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml +++ b/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml @@ -2,6 +2,12 @@ + + + + + + -- 2.39.5