]> source.dussan.org Git - aspectj.git/commitdiff
testcode for new handle provider (pr141730)
authoraclement <aclement>
Mon, 3 Jul 2006 14:15:35 +0000 (14:15 +0000)
committeraclement <aclement>
Mon, 3 Jul 2006 14:15:35 +0000 (14:15 +0000)
tests/multiIncremental/JDTLikeHandleProvider/base/pkg/A.aj [new file with mode: 0644]
tests/multiIncremental/JDTLikeHandleProvider/inc1/pkg/A.aj [new file with mode: 0644]
tests/multiIncremental/JDTLikeHandleProvider/inc2/pkg/A.aj [new file with mode: 0644]

diff --git a/tests/multiIncremental/JDTLikeHandleProvider/base/pkg/A.aj b/tests/multiIncremental/JDTLikeHandleProvider/base/pkg/A.aj
new file mode 100644 (file)
index 0000000..4e2e07d
--- /dev/null
@@ -0,0 +1,23 @@
+package pkg;
+
+aspect A {
+       
+       before() : execution(* *.*(..)) {
+       }
+       
+       after() : callPCD(){
+       }
+       after() : execPCD(){
+       }
+       pointcut callPCD(): call(* *.*(..));
+       pointcut execPCD(): execution(* *.*(..));
+}
+
+class C {
+       
+       public void m() {
+       }
+       
+    static {   
+    }
+}
diff --git a/tests/multiIncremental/JDTLikeHandleProvider/inc1/pkg/A.aj b/tests/multiIncremental/JDTLikeHandleProvider/inc1/pkg/A.aj
new file mode 100644 (file)
index 0000000..5f5e306
--- /dev/null
@@ -0,0 +1,23 @@
+package pkg;
+
+aspect A {
+       
+       
+       before() : execution(* *.*(..)) {
+       }
+       after() : callPCD(){
+       }
+       after() : execPCD(){
+       }
+       pointcut callPCD(): call(* *.*(..));
+       pointcut execPCD(): execution(* *.*(..));
+}
+
+class C {
+       
+       public void m() {
+       }
+       
+    static {   
+    }
+}
diff --git a/tests/multiIncremental/JDTLikeHandleProvider/inc2/pkg/A.aj b/tests/multiIncremental/JDTLikeHandleProvider/inc2/pkg/A.aj
new file mode 100644 (file)
index 0000000..50486f6
--- /dev/null
@@ -0,0 +1,23 @@
+package pkg;
+
+aspect A {
+       
+       before() : execution(* *.*(..)) {
+       }
+       
+       after() : execPCD(){
+       }
+       after() : callPCD(){
+       }
+       pointcut callPCD(): call(* *.*(..));
+       pointcut execPCD(): execution(* *.*(..));
+}
+
+class C {
+       
+       public void m() {
+       }
+       
+    static {   
+    }  
+}