aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2005-01-31 13:23:05 +0000
committeraclement <aclement>2005-01-31 13:23:05 +0000
commit64929ae0889e25e22bb0a96fb211d6f0f0fb4c46 (patch)
treed86fe62aab780162456704a67a0ceb610377c67f /weaver/testsrc
parentacaa6123b95d96221799cd1422c7dcc1e9cef584 (diff)
downloadaspectj-64929ae0889e25e22bb0a96fb211d6f0f0fb4c46.tar.gz
aspectj-64929ae0889e25e22bb0a96fb211d6f0f0fb4c46.zip
No longer a restriction
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternMatchingTestCase.java8
1 files 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() {