From: aclement Date: Thu, 4 Dec 2008 02:04:34 +0000 (+0000) Subject: 249216: handle changes X-Git-Tag: V1_6_3rc1~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=84078de0516902f72e9331528e791b9954d5cff4;p=aspectj.git 249216: handle changes --- diff --git a/tests/model/expected/pr115607.txt b/tests/model/expected/pr115607.txt index 2765773dd..0f0358528 100644 --- a/tests/model/expected/pr115607.txt +++ b/tests/model/expected/pr115607.txt @@ -9,8 +9,8 @@ declare @type: Simple : @I [declare @type] TEST_SANDBOX\pr115607.java:6: === END OF MODEL REPORT ========= === RELATIONSHIPS REPORT ========= After a batch build -(targets=1) <{pr115607.java}pr115607`declare @type (annotates) <{pr115607.java[Simple -(targets=1) <{pr115607.java[Simple (annotated by) <{pr115607.java}pr115607`declare @type +(targets=1) <{pr115607.java}pr115607`declare \@type (annotates) <{pr115607.java[Simple +(targets=1) <{pr115607.java[Simple (annotated by) <{pr115607.java}pr115607`declare \@type === END OF RELATIONSHIPS REPORT == === Properties of the model and relationships map ===== import reference=1 diff --git a/tests/model/expected/pr120356.txt b/tests/model/expected/pr120356.txt index dec2ad7d4..29f6438c8 100644 --- a/tests/model/expected/pr120356.txt +++ b/tests/model/expected/pr120356.txt @@ -16,9 +16,9 @@ badMethod() [method] TEST_SANDBOX\C.java:8: === END OF MODEL REPORT ========= === RELATIONSHIPS REPORT ========= After a batch build -(targets=1) <{C.java[C~badMethod (matches declare) <{A.java}A^error (targets=1) <{C.java[C~warningMethod (matches declare) <{A.java}A^warning (targets=1) <{A.java}A^warning (matched by) <{C.java[C~warningMethod +(targets=1) <{C.java[C~badMethod (matches declare) <{A.java}A^error (targets=1) <{A.java}A^error (matched by) <{C.java[C~badMethod === END OF RELATIONSHIPS REPORT == === Properties of the model and relationships map ===== diff --git a/tests/model/expected/pr131932.txt b/tests/model/expected/pr131932.txt index 76f776c04..0955fb19e 100644 --- a/tests/model/expected/pr131932.txt +++ b/tests/model/expected/pr131932.txt @@ -15,8 +15,8 @@ === RELATIONSHIPS REPORT ========= After a batch build (targets=1) <*pr131932.aj}Slide74)Bar.children (declared on) <*pr131932.aj}Slide74[Bar (targets=1) <*pr131932.aj}Slide74)Bar.getFirst (declared on) <*pr131932.aj}Slide74[Bar -(targets=1) <*pr131932.aj[Foo (aspect declarations) <*pr131932.aj}Slide74)Foo.Foo_new)QList\; -(targets=1) <*pr131932.aj}Slide74)Foo.Foo_new)QList\; (declared on) <*pr131932.aj[Foo +(targets=1) <*pr131932.aj[Foo (aspect declarations) <*pr131932.aj}Slide74)Foo.Foo_new)Qjava.util.List\; +(targets=1) <*pr131932.aj}Slide74)Foo.Foo_new)Qjava.util.List\; (declared on) <*pr131932.aj[Foo (targets=2) <*pr131932.aj}Slide74[Bar (aspect declarations) <*pr131932.aj}Slide74)Bar.getFirst (targets=2) <*pr131932.aj}Slide74[Bar (aspect declarations) <*pr131932.aj}Slide74)Bar.children === END OF RELATIONSHIPS REPORT == diff --git a/tests/model/expected/pr132130.txt b/tests/model/expected/pr132130.txt index 5aa586111..f64bc7cfd 100644 --- a/tests/model/expected/pr132130.txt +++ b/tests/model/expected/pr132130.txt @@ -12,10 +12,10 @@ Secured [annotation] TEST_SANDBOX\pr132130.aj:15: === END OF MODEL REPORT ========= === RELATIONSHIPS REPORT ========= After a batch build -(targets=1) <*pr132130.aj[BankAccount~BankAccount~QString;~I (annotated by) <*pr132130.aj}basic`declare @constructor!2 -(targets=1) <*pr132130.aj}basic`declare @method (annotates) <*pr132130.aj[BankAccount~debit~J~J -(targets=1) <*pr132130.aj}basic`declare @constructor!2 (annotates) <*pr132130.aj[BankAccount~BankAccount~QString;~I -(targets=1) <*pr132130.aj[BankAccount~debit~J~J (annotated by) <*pr132130.aj}basic`declare @method +(targets=1) <*pr132130.aj[BankAccount~BankAccount~QString;~I (annotated by) <*pr132130.aj}basic`declare \@constructor!2 +(targets=1) <*pr132130.aj}basic`declare \@method (annotates) <*pr132130.aj[BankAccount~debit~J~J +(targets=1) <*pr132130.aj}basic`declare \@constructor!2 (annotates) <*pr132130.aj[BankAccount~BankAccount~QString;~I +(targets=1) <*pr132130.aj[BankAccount~debit~J~J (annotated by) <*pr132130.aj}basic`declare \@method === END OF RELATIONSHIPS REPORT == === Properties of the model and relationships map ===== method=1 diff --git a/tests/model/expected/pr141730_1.txt b/tests/model/expected/pr141730_1.txt index 248713e7e..479b2a5f0 100644 --- a/tests/model/expected/pr141730_1.txt +++ b/tests/model/expected/pr141730_1.txt @@ -33,14 +33,14 @@ (targets=11) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~myClassMethod~LMyClass; (targets=11) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~twoArgsMethod~I~QString; (targets=11) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~main~\[QString; -(targets=11) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~multiMethod~\[[String; +(targets=11) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~multiMethod~\[\[QString; (targets=11) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~intArray~\[I (targets=1) <*pr141730.aj[C~stringMethod~QString; (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj[C~intArray~\[I (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj[C~myClassMethod~LMyClass; (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj[C~C (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj}A (advised by) <*pr141730.aj}A&before -(targets=1) <*pr141730.aj[C~multiMethod~\[[String; (advised by) <*pr141730.aj}A&before +(targets=1) <*pr141730.aj[C~multiMethod~\[\[QString; (advised by) <*pr141730.aj}A&before === END OF RELATIONSHIPS REPORT == === Properties of the model and relationships map ===== method=8 diff --git a/tests/model/expected/pr141730_2.txt b/tests/model/expected/pr141730_2.txt index 246fd26a6..565f2471d 100644 --- a/tests/model/expected/pr141730_2.txt +++ b/tests/model/expected/pr141730_2.txt @@ -16,14 +16,14 @@ === RELATIONSHIPS REPORT ========= After a batch build (targets=1) <*pr141730.aj[MyClass (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj[MyGenericClass (advised by) <*pr141730.aj}A&before -(targets=1) <*pr141730.aj[C~genericMethod2~PMyGenericClass\; (advised by) <*pr141730.aj}A&before +(targets=1) <*pr141730.aj[C~genericMethod2~QMyGenericClass\; (advised by) <*pr141730.aj}A&before (targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj}A (targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[C -(targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~genericMethod~QList\; -(targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~genericMethod2~PMyGenericClass\; +(targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~genericMethod~Qjava.util.List\; +(targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[C~genericMethod2~QMyGenericClass\; (targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[MyGenericClass (targets=6) <*pr141730.aj}A&before (advises) <*pr141730.aj[MyClass -(targets=1) <*pr141730.aj[C~genericMethod~QList\; (advised by) <*pr141730.aj}A&before +(targets=1) <*pr141730.aj[C~genericMethod~Qjava.util.List\; (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj[C (advised by) <*pr141730.aj}A&before (targets=1) <*pr141730.aj}A (advised by) <*pr141730.aj}A&before === END OF RELATIONSHIPS REPORT == diff --git a/tests/model/expected/pr141730_4.txt b/tests/model/expected/pr141730_4.txt index 231bcb903..9eb235a1e 100644 --- a/tests/model/expected/pr141730_4.txt +++ b/tests/model/expected/pr141730_4.txt @@ -21,9 +21,9 @@ === END OF MODEL REPORT ========= === RELATIONSHIPS REPORT ========= After a batch build (targets=1) ; runTest("method with generic arg same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod1(java.util.List)", - ";"); + ";"); } public void testMethodWithTwoGenericArgsSameAsJDT() { @@ -507,8 +507,8 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~genericMethod2~QList\;~QMyGenericClass\; runTest("method with two generic args same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod2(java.util.List," - + "pkg.MyGenericClass)", ";~QMyGenericClass\\;"); + + "pkg.MyGenericClass)", ";~Qpkg.MyGenericClass\\;"); } public void testMethodWithTwoTypeParametersSameAsJDT() { @@ -516,7 +516,7 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~QMyGenericClass2\; runTest("method with two type parameters same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod4(pkg.MyGenericClass2)", - ";"); + ";"); } public void testMethodWithTwoArgsSameAsJDT_2() { @@ -524,7 +524,7 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~genericMethod3~I~QList\; runTest("method with two args one of which is generic same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod3(int,java.util.List)", - ";"); + ";"); } /*