Browse Source

oops! testcase bug - uncovered by work on 150095

tags/PRE_PIPELINE
aclement 18 years ago
parent
commit
e907c49da0

+ 1
- 1
weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java View File

@@ -23,7 +23,7 @@ public class TestJava5ReflectionBasedReferenceTypeDelegate extends ReflectionBas
ResolvedMember[] methods = world.resolve(collectionType).getDeclaredMethods();
int i = findMethod("toArray", 1, methods);
assertTrue("Couldn't find 'toArray' in the set of methods? "+methods,i != -1);
String expectedSignature = "T[] java.util.Collection.toArray(T[])";
String expectedSignature = "java.lang.Object[] java.util.Collection.toArray(java.lang.Object[])";
assertTrue("Expected signature of '"+expectedSignature+"' but it was '"+methods[i],methods[i].toString().equals(expectedSignature));
}


Loading…
Cancel
Save