]> source.dussan.org Git - aspectj.git/commitdiff
per clause tests for stack map generation
authoraclement <aclement>
Fri, 16 Dec 2011 00:02:55 +0000 (00:02 +0000)
committeraclement <aclement>
Fri, 16 Dec 2011 00:02:55 +0000 (00:02 +0000)
tests/bugs170/language/PerCflow.java [new file with mode: 0644]
tests/bugs170/language/PerTarget.java [new file with mode: 0644]
tests/bugs170/language/PerThis.java [new file with mode: 0644]
tests/bugs170/language/PerTypeWithin.java [new file with mode: 0644]

diff --git a/tests/bugs170/language/PerCflow.java b/tests/bugs170/language/PerCflow.java
new file mode 100644 (file)
index 0000000..223b487
--- /dev/null
@@ -0,0 +1,10 @@
+aspect PerCflow percflow(execution(* Bar.*(..))) {
+}
+
+class Bar {
+  void m() { 
+    n();
+  }
+  void n() { 
+  }
+}
diff --git a/tests/bugs170/language/PerTarget.java b/tests/bugs170/language/PerTarget.java
new file mode 100644 (file)
index 0000000..be94588
--- /dev/null
@@ -0,0 +1 @@
+aspect PerTarget pertarget(this(PerTarget)) { }
diff --git a/tests/bugs170/language/PerThis.java b/tests/bugs170/language/PerThis.java
new file mode 100644 (file)
index 0000000..5027a6f
--- /dev/null
@@ -0,0 +1 @@
+aspect PerThis perthis(this(PerThis)) { }
diff --git a/tests/bugs170/language/PerTypeWithin.java b/tests/bugs170/language/PerTypeWithin.java
new file mode 100644 (file)
index 0000000..ae5b169
--- /dev/null
@@ -0,0 +1 @@
+aspect PerTypeWithin pertypewithin(PerTypeWithin) { }