Hammock 1.4 (Default branch) |
|
|
Hammock is a mock object framework for J2ME
devices. It is used in conjunction with unit test
frameworks like JMUnit and J2MEUnit. The framework
includes mocks for many of the J2ME UI and I/O
classes as well as a utility, HammockMaker, for
generating mocks of other classes.
License: The Apache License 2.0
Changes:
This release adds an IArgumentMatcher interface that can be associated with an expectation. The argument matcher is used to verify that the expected and actual arguments passed in a mock object's method invocation are correct. The sample applications now include a J2MEUnit example in addition to the JMUnit examples. The HammockMaker example has been improved. The user guide includes a section on Hammock's internals describing the core classes of the framework. Mocks of the JSR211 (CHAPI) interfaces have been added.
|