From 64929ae0889e25e22bb0a96fb211d6f0f0fb4c46 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 31 Jan 2005 13:23:05 +0000 Subject: [PATCH] No longer a restriction --- .../patterns/AnnotationPatternMatchingTestCase.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternMatchingTestCase.java b/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternMatchingTestCase.java index ba404c0cd..e7fdbdca9 100644 --- a/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternMatchingTestCase.java +++ b/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternMatchingTestCase.java @@ -126,15 +126,15 @@ public class AnnotationPatternMatchingTestCase extends TestCase { AnnotationTypePattern atp = p.parseAnnotationNameOrVarTypePattern(); atp = atp.resolveBindings(makeSimpleScope(),new Bindings(3),true); - assertTrue("Expected 2 error messages but got "+mh.messages.size(),mh.messages.size()==2); + assertTrue("Expected 2 error messages but got "+mh.messages.size(),mh.messages.size()==1); String expected = "Type referred to is not an annotation type"; String msg = ((IMessage)mh.messages.get(0)).toString(); assertTrue("Expected: "+expected+" but got "+msg,msg.indexOf(expected)!=-1); - expected = "Binding not supported in @pcds (1.5.0 M1 limitation): null"; - msg = ((IMessage)mh.messages.get(1)).toString(); - assertTrue("Expected: "+expected+" but got "+msg,msg.indexOf(expected)!=-1); +// expected = "Binding not supported in @pcds (1.5.0 M1 limitation): null"; +// msg = ((IMessage)mh.messages.get(1)).toString(); +// assertTrue("Expected: "+expected+" but got "+msg,msg.indexOf(expected)!=-1); } public TestScope makeSimpleScope() { -- 2.39.5