aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model/pr77269_1/pack/pr77269.aj
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-22 08:20:36 +0000
committeraclement <aclement>2006-08-22 08:20:36 +0000
commit50f8ecc4339442c7abaf4d3a9995c1434b768ef2 (patch)
tree75ca9caf60a4a9bd592b162dbc79146188fe1fc6 /tests/model/pr77269_1/pack/pr77269.aj
parent8b393cc90d5d63171154713e5a73044a1a2fddaf (diff)
downloadaspectj-50f8ecc4339442c7abaf4d3a9995c1434b768ef2.tar.gz
aspectj-50f8ecc4339442c7abaf4d3a9995c1434b768ef2.zip
refactored tests for 154552 - use new model testing structure
Diffstat (limited to 'tests/model/pr77269_1/pack/pr77269.aj')
-rw-r--r--tests/model/pr77269_1/pack/pr77269.aj24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/model/pr77269_1/pack/pr77269.aj b/tests/model/pr77269_1/pack/pr77269.aj
new file mode 100644
index 000000000..014c1bed8
--- /dev/null
+++ b/tests/model/pr77269_1/pack/pr77269.aj
@@ -0,0 +1,24 @@
+package pack;
+class Test {
+
+ public void testMethod() {
+ new Runnable() {
+ public void run() {
+ }
+ };
+ class C {
+ public void m(){
+ }
+ }
+ }
+
+}
+
+aspect A {
+
+ pointcut p() : execution(* run(..));
+
+ before() : p() {
+ }
+
+}