diff options
author | aclement <aclement> | 2010-10-31 04:34:19 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-10-31 04:34:19 +0000 |
commit | 267155239fe000c6069bbc937bb2023296bf2aca (patch) | |
tree | efba1094a0e556ccc85935b07aadc1dd0892a502 /tests | |
parent | 118f91d2a1db46cf94024a76dc16ebd7a480df26 (diff) | |
download | aspectj-267155239fe000c6069bbc937bb2023296bf2aca.tar.gz aspectj-267155239fe000c6069bbc937bb2023296bf2aca.zip |
329111
Diffstat (limited to 'tests')
-rw-r--r-- | tests/model/expected/pr141730_4.txt | 4 | ||||
-rw-r--r-- | tests/multiIncremental/pr329111/base/src/AJ3.java | 18 |
2 files changed, 20 insertions, 2 deletions
diff --git a/tests/model/expected/pr141730_4.txt b/tests/model/expected/pr141730_4.txt index 983d7a5ed..cad32e4a6 100644 --- a/tests/model/expected/pr141730_4.txt +++ b/tests/model/expected/pr141730_4.txt @@ -23,10 +23,10 @@ NewClass [class] TEST_SANDBOX\NewClass.java:3: === END OF MODEL REPORT ========= === RELATIONSHIPS REPORT ========= After a batch build +(targets=1) <bar*MyBar.aj'MyBar`declare parents (declared on) /,<foo(MyFoo.class[MyFoo (targets=1) <bar*MyBar.aj'MyBar`declare \@type (annotates) {MyFoo.java -(targets=1) <bar*MyBar.aj'MyBar`declare parents!2 (declared on) /,<foo(MyFoo.class[MyFoo (targets=1) {MyFoo.java (annotated by) <bar*MyBar.aj'MyBar`declare \@type -(targets=1) /,<foo(MyFoo.class[MyFoo (aspect declarations) <bar*MyBar.aj'MyBar`declare parents!2 +(targets=1) /,<foo(MyFoo.class[MyFoo (aspect declarations) <bar*MyBar.aj'MyBar`declare parents === END OF RELATIONSHIPS REPORT == === Properties of the model and relationships map ===== import reference=4 diff --git a/tests/multiIncremental/pr329111/base/src/AJ3.java b/tests/multiIncremental/pr329111/base/src/AJ3.java new file mode 100644 index 000000000..0dadde000 --- /dev/null +++ b/tests/multiIncremental/pr329111/base/src/AJ3.java @@ -0,0 +1,18 @@ +public aspect AJ3 { + + class X{} + interface Y {} + interface Z {} + + declare parents : X implements Y; + declare warning: execution(* x(..)): ""; + declare error: execution(* x(..)): ""; + declare soft : Exception : execution(void x()); + declare parents : X implements Z; + declare warning: execution(* x(..)): ""; + declare error: execution(* x(..)): ""; + + void x() { + throw new Exception(); + } +} |