j.u.Objects follow-up: deepEquals(Object, Object)?
Ulf.Zibis at gmx.de
Fri Oct 9 09:33:37 UTC 2009
Am 09.10.2009 11:30, Eamonn McManus schrieb:
> Joseph D. Darcy wrote:
> > What are scenarios where this method would be used?
> I use a similar method fairly often in unit tests. JUnit's
> assertEquals doesn't
> do the right thing if its arguments happen to be arrays, so I use the
> simple if inefficient implementation:
Don't you know about assertArrayEquals() in JUnit ? It's in version 4.5.
More information about the core-libs-dev