diff options
Diffstat (limited to 'tests/src/org/aspectj/systemtest')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc153/JDTLikeHandleProviderTests.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc153/JDTLikeHandleProviderTests.java b/tests/src/org/aspectj/systemtest/ajc153/JDTLikeHandleProviderTests.java index ba8c8533f..3395ee125 100644 --- a/tests/src/org/aspectj/systemtest/ajc153/JDTLikeHandleProviderTests.java +++ b/tests/src/org/aspectj/systemtest/ajc153/JDTLikeHandleProviderTests.java @@ -126,28 +126,28 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // AJDT: =AJHandleProject/src<pkg*A.aj}A`declare \@type runTest("declare @type"); compareHandles(IProgramElement.Kind.DECLARE_ANNOTATION_AT_TYPE, "declare @type: pkg.C : @MyAnnotation", - "<pkg*A12.aj}A`declare @type"); + "<pkg*A12.aj}A`declare \\@type"); } public void testDeclareAtField() { // AJDT: =AJHandleProject/src<pkg*A.aj}A`declare \@field runTest("declare @field"); compareHandles(IProgramElement.Kind.DECLARE_ANNOTATION_AT_FIELD, "declare @field: int pkg.C.someField : @MyAnnotation", - "<pkg*A12.aj}A`declare @field!2"); + "<pkg*A12.aj}A`declare \\@field!2"); } public void testDeclareAtMethod() { // AJDT: =AJHandleProject/src<pkg*A.aj}A`declare \@method runTest("declare @method"); compareHandles(IProgramElement.Kind.DECLARE_ANNOTATION_AT_METHOD, - "declare @method: public void pkg.C.method1() : @MyAnnotation", "<pkg*A12.aj}A`declare @method!3"); + "declare @method: public void pkg.C.method1() : @MyAnnotation", "<pkg*A12.aj}A`declare \\@method!3"); } public void testDeclareAtConstructor() { // AJDT: =AJHandleProject/src<pkg*A.aj}A`declare \@constructor runTest("declare @constructor"); compareHandles(IProgramElement.Kind.DECLARE_ANNOTATION_AT_CONSTRUCTOR, "declare @constructor: pkg.C.new() : @MyAnnotation", - "<pkg*A12.aj}A`declare @constructor!4"); + "<pkg*A12.aj}A`declare \\@constructor!4"); } // what about 2 pieces of before advice with the same @@ -499,7 +499,7 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~genericMethod1~QList\<QString;>; runTest("method with generic arg same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod1(java.util.List<java.lang.String>)", - "<pkg{Java5Class.java[Java5Class~genericMethod1~QList\\<QString;>;"); + "<pkg{Java5Class.java[Java5Class~genericMethod1~Qjava.util.List\\<QString;>;"); } public void testMethodWithTwoGenericArgsSameAsJDT() { @@ -507,8 +507,8 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~genericMethod2~QList\<QString;>;~QMyGenericClass\<QInteger;>; runTest("method with two generic args same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod2(java.util.List<java.lang.String>," - + "pkg.MyGenericClass<java.lang.Integer>)", "<pkg{Java5Class.java[Java5Class~genericMethod2~QList" - + "\\<QString;>;~QMyGenericClass\\<QInteger;>;"); + + "pkg.MyGenericClass<java.lang.Integer>)", "<pkg{Java5Class.java[Java5Class~genericMethod2~Qjava.util.List" + + "\\<QString;>;~Qpkg.MyGenericClass\\<QInteger;>;"); } public void testMethodWithTwoTypeParametersSameAsJDT() { @@ -516,7 +516,7 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~QMyGenericClass2\<QString;QInteger;>; runTest("method with two type parameters same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod4(pkg.MyGenericClass2<java.lang.String,java.lang.Integer>)", - "<pkg{Java5Class.java[Java5Class~genericMethod4" + "~QMyGenericClass2\\<QString;QInteger;>;"); + "<pkg{Java5Class.java[Java5Class~genericMethod4" + "~Qpkg.MyGenericClass2\\<QString;QInteger;>;"); } public void testMethodWithTwoArgsSameAsJDT_2() { @@ -524,7 +524,7 @@ public class JDTLikeHandleProviderTests extends XMLBasedAjcTestCase { // ~genericMethod3~I~QList\<QString;>; runTest("method with two args one of which is generic same as jdt"); compareHandles(IProgramElement.Kind.METHOD, "genericMethod3(int,java.util.List<java.lang.String>)", - "<pkg{Java5Class.java[Java5Class~genericMethod3~I~QList\\<QString;>;"); + "<pkg{Java5Class.java[Java5Class~genericMethod3~I~Qjava.util.List\\<QString;>;"); } /* |