The test fails because the function java.util.Date.toString() takes the
locale into account (time zone and language).
The following modified test works for me:
protected void verifyTestComplexHashCode(MethodInvocation invocation,
String key) {
Assert.assertEquals("[class
com.googlecode.ehcache.annotations.key.MethodInvocationHelper, testMethod2,
class java.lang.Object, [[1, 2, 3, 4], foo, [false, true], [null, "+new
Date(0)+"]]]", key);
}
Original issue reported on code.google.com by tom.quel...@gmail.com on 9 May 2010 at 1:07
Original issue reported on code.google.com by
tom.quel...@gmail.com
on 9 May 2010 at 1:07