Hammock is a J2ME test double framework; in particular it supports mock object test doubles.
· Can be used with any Java ME Unit Test framework like JMUnit, J2MEUnit and MoMEUnit. JMUnit is recommended though because both JMUnit and Hammock can be integrated into an Ant build.
· Has mock objects for many of the MIDP and CLDC classes and interfaces.
· Test doubles for classes from the optional PDA, MMAPI, WMA and the popular kSOAP2 library are included.
· Allows expectations to be set that a method will be invoked on a mock object and to specify the response behaviour.
· Includes a utility HammockMaker for mocking your own classes and interfaces. The utility can be run from the command line, as an Ant task in a continuous build or as an Eclipse plug-in.
· Supports spy object test doubles which can be useful for, in particular, looking at interactions between a class under test and LCDUI (GUI) collaborators.
What's New in This Release:
· Added a plug-in for Eclipse.
· Fixed a bug (static inner classes can now be mocked).
Search by Device
![My Device](https://www.java-ware.net/data/images/undefined_device.png)
Search by Category
- Business & Profession
- Databases
- Dictionary & Translator
- Entertainment
- Finance
- Games
- Healthcare & Medicine
- Internet & Communications
- Multimedia & Graphics
- Organisation & Productivity
- Programming & Development
- Reading
- Science & Education
- System Utilities
- Themes & Wallpapers & Skins
- Travel & Navigation
Popular Apps
Need for Speed Undercover 23 Mar 10
UC Browser Russian 1 Jul 12
FunSMS 19 Dec 12
Photoshop - Free 8 Feb 17
TrekBuddy 23 Sep 14
BarcodeReader 20 Apr 11
Fandango Movies 18 Aug 14
Hammock
Similar Apps
NTL Benchmark
23 May 11
Serial Port Tester
29 Jun 11
JBenchmark 3D
29 Jun 11
Fpc bench 3.1
17 Jan 13
Comments to Hammock
Search by Device
![My Device](https://www.java-ware.net/data/images/undefined_device.png)
Search by Category
- Business & Profession
- Databases
- Dictionary & Translator
- Entertainment
- Finance
- Games
- Healthcare & Medicine
- Internet & Communications
- Multimedia & Graphics
- Organisation & Productivity
- Programming & Development
- Reading
- Science & Education
- System Utilities
- Themes & Wallpapers & Skins
- Travel & Navigation
Popular Apps
UC Browser Official Vietnamese 15 Dec 10
Windows 8 8 Apr 13
Jimm Motorola 26 Dec 10
Miami Nights 2: The City is Yours 10 Feb 17
NavFunPro 21 Apr 12
google chrome os jar 16 Jun 17
ZXReader 2 Feb 17
Comments not found