|
From: Colin S. <col...@ex...> - 2004-05-03 00:22:39
|
I've checked in EasyMock 1.1, including an easymockclassextension.jar, which allows mocking of classes (via cglib), not just interfaces. It's pretty useful in some circumstances. (btw, I have personally been using JMock (http://jmock.codehaus.org) lately, created by some of the original MockObjects people. It seems to have finally stabilized to the point where it's safe to use without worrying about having to make changes later, and I generally prefer it to EasyMock most of the time. Here's the new stuff in EasyMock 1.1: --- EasyMock Version 1.1 (May 3 2004) Changes since 1.0.1b: * A first extension for EasyMock is available. With the help of cglib, it allows generating mock objects for classes. It is available in an own jar file from the EasyMock home page. * ParameterMatcher renamed to ArgumentsMatcher, since it matches arguments, not parameters * parameterMatches() and parameterToString() on AbstractMatcher renamed to argumentMatches() and argumentToString(), since they work on arguments, not parameters * tests extended to gain 100% clover coverage * internal refactorings * |