aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-27 22:02:43 +0000
committeraclement <aclement>2008-06-27 22:02:43 +0000
commit993e4b43af4a342f8060042000a67f0388f0d3fa (patch)
tree92fbae426a01eb82fbbbe0beb4ceeba5b1b988ec /tests/model
parent7985fc2ec41a77516dedc13958761a5cbcd25a00 (diff)
downloadaspectj-993e4b43af4a342f8060042000a67f0388f0d3fa.tar.gz
aspectj-993e4b43af4a342f8060042000a67f0388f0d3fa.zip
238054: testcase, commented out
Diffstat (limited to 'tests/model')
-rw-r--r--tests/model/expected/pr238054.txt28
-rw-r--r--tests/model/pr238054/pr238054.aj8
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/model/expected/pr238054.txt b/tests/model/expected/pr238054.txt
new file mode 100644
index 000000000..e69c6ed55
--- /dev/null
+++ b/tests/model/expected/pr238054.txt
@@ -0,0 +1,28 @@
+=== MODEL STATUS REPORT ========= After a batch build
+<root> [java source file]
+ pr238054.aj [java source file] TEST_SANDBOX\pr238054.aj:1:
+ import declarations [import reference]
+ A [class] TEST_SANDBOX\pr238054.aj:1:
+ x() [method] TEST_SANDBOX\pr238054.aj:2:
+ y() [method] TEST_SANDBOX\pr238054.aj:3:
+ method-call(void A.x()) [code] TEST_SANDBOX\pr238054.aj:3:
+ method-call(void A.x()) [code] TEST_SANDBOX\pr238054.aj:3:
+ B [aspect] TEST_SANDBOX\pr238054.aj:6:
+ before(): <anonymous pointcut> [advice] TEST_SANDBOX\pr238054.aj:7:
+=== END OF MODEL REPORT =========
+=== RELATIONSHIPS REPORT ========= After a batch build
+(targets=2) *pr238054.aj}B&before (advises) *pr238054.aj[A~y?method-call(void A.x())
+(targets=2) *pr238054.aj}B&before (advises) *pr238054.aj[A~y?method-call(void A.x())!2
+(targets=1) *pr238054.aj[A~y?method-call(void A.x())!2 (advised by) *pr238054.aj}B&before
+(targets=1) *pr238054.aj[A~y?method-call(void A.x()) (advised by) *pr238054.aj}B&before
+=== END OF RELATIONSHIPS REPORT ==
+=== Properties of the model and relationships map =====
+method=2
+import reference=1
+aspect=1
+code=2
+class=1
+advice=1
+RelationshipMapSize=3
+FileMapSize=1
+java source file=2
diff --git a/tests/model/pr238054/pr238054.aj b/tests/model/pr238054/pr238054.aj
new file mode 100644
index 000000000..f1021b334
--- /dev/null
+++ b/tests/model/pr238054/pr238054.aj
@@ -0,0 +1,8 @@
+class A {
+ void x() {}
+ void y() { x();x();}
+}
+
+aspect B {
+ before() : call(* A.x()) {}
+}