]> source.dussan.org Git - aspectj.git/commitdiff
348979: testcode: typemap and aspectpath
authoraclement <aclement>
Fri, 10 Jun 2011 20:36:55 +0000 (20:36 +0000)
committeraclement <aclement>
Fri, 10 Jun 2011 20:36:55 +0000 (20:36 +0000)
tests/multiIncremental/PR278496_10/base/com/Asp.java [new file with mode: 0644]
tests/multiIncremental/PR278496_10/base/com/Foo.java [new file with mode: 0644]
tests/multiIncremental/PR278496_11/base/com/Foo.java [new file with mode: 0644]
tests/multiIncremental/PR278496_11_a/base/com/Asp.java [new file with mode: 0644]
tests/multiIncremental/PR278496_11_a/base/com/Dibble.java [new file with mode: 0644]

diff --git a/tests/multiIncremental/PR278496_10/base/com/Asp.java b/tests/multiIncremental/PR278496_10/base/com/Asp.java
new file mode 100644 (file)
index 0000000..66926ad
--- /dev/null
@@ -0,0 +1,10 @@
+package com;
+
+aspect Asp {
+  before(String[] ss): execution(* *(..)) && args(ss) {
+  }
+  before(int[] ss): execution(* *(..)) && args(ss) {
+  }
+  before(float[][] ss): execution(* *(..)) && args(ss) {
+  }
+}
diff --git a/tests/multiIncremental/PR278496_10/base/com/Foo.java b/tests/multiIncremental/PR278496_10/base/com/Foo.java
new file mode 100644 (file)
index 0000000..3b6c264
--- /dev/null
@@ -0,0 +1,7 @@
+package com;
+
+public class Foo {
+  String[] stringArray = new String[1];
+  int[] ints = new int[3];
+  float[][] floats = new float[1][2];
+}
diff --git a/tests/multiIncremental/PR278496_11/base/com/Foo.java b/tests/multiIncremental/PR278496_11/base/com/Foo.java
new file mode 100644 (file)
index 0000000..fb8a15e
--- /dev/null
@@ -0,0 +1,5 @@
+package com;
+
+public class Foo {
+  String[] stringArray = new String[1];
+}
diff --git a/tests/multiIncremental/PR278496_11_a/base/com/Asp.java b/tests/multiIncremental/PR278496_11_a/base/com/Asp.java
new file mode 100644 (file)
index 0000000..a633c1f
--- /dev/null
@@ -0,0 +1,8 @@
+package com;
+
+aspect Asp {
+
+  before(Dibble d): execution(* *(..)) && args(d) {
+  }
+
+}
diff --git a/tests/multiIncremental/PR278496_11_a/base/com/Dibble.java b/tests/multiIncremental/PR278496_11_a/base/com/Dibble.java
new file mode 100644 (file)
index 0000000..001be0c
--- /dev/null
@@ -0,0 +1,2 @@
+package com;
+class Dibble {}