]> source.dussan.org Git - aspectj.git/commitdiff
wip ajdt marker issues with declare warning and itds on interfaces
authorAndy Clement <aclement@gopivotal.com>
Thu, 24 Oct 2013 16:20:31 +0000 (09:20 -0700)
committerAndy Clement <aclement@gopivotal.com>
Thu, 24 Oct 2013 16:20:31 +0000 (09:20 -0700)
tests/bugs174/ajdt_markers/Code.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java
tests/src/org/aspectj/systemtest/ajc174/ajc174.xml

diff --git a/tests/bugs174/ajdt_markers/Code.java b/tests/bugs174/ajdt_markers/Code.java
new file mode 100644 (file)
index 0000000..b5b52c1
--- /dev/null
@@ -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(..)) {}
+}
index e492c5646c7e283acbfbd91529f604060097f7e1..e647532fd4769c3e347ac0f294d59e4ce2c56596 100644 (file)
@@ -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");
        }
index 5440b4bad2ce40ed28607a7ad724ff260036c737..2ee09c45699497801494bbff66e75ab8c9b1582b 100644 (file)
@@ -2,6 +2,12 @@
 
 <suite>
 
+       <ajc-test dir="bugs174/ajdt_markers" title="ajdt markers">
+               <compile files="Code.java" options="-1.5 -showWeaveInfo">
+               </compile>
+       </ajc-test>
+
+
        <ajc-test dir="bugs174/extra_inserts" title="extra inserts">
                <compile files="Code.java" options="-1.5">
                        <message kind="warning" line="8"  text="Call to foo made inside class Bar"/>