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).
- Home
- Java
- Sony Ericsson K550i
- Hammock
Search by Device
![Sony Ericsson K550i](https://static.java-ware.net/data/devices/images/se_k550i.jpg)
Sony Ericsson K550i
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
SPB Mobile TV 12 Feb 11
MOBILedit! Forensic 23 Sep 14
WhatsApp - Nokia 200 26 Dec 12
Angry Birds Green Day 7 Oct 12
Cricket Companion for Java 20 Sep 13
Caribbean Foods 10 Dec 10
ZXReader 2 Feb 17
Hammock
Similar Apps
TaylorBench
29 Jun 11
RGBTester
29 Jun 11
JBenchmark ACE (ARM CPU Estimator)
29 Jun 11
J2MEUnit
21 Apr 11
Comments to Hammock
Search by Device
![Sony Ericsson K550i](https://static.java-ware.net/data/devices/images/se_k550i.jpg)
Sony Ericsson K550i
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
Mobile Chess 3 Feb 17
Jimm MIDP2 26 Dec 10
Jimm MIDP1 26 Dec 10
UC Browser (Java) 10 Jan 17
Facebook Chat 22 Mar 11
Spider-Man: Toxic City HD 31 Dec 10
Clash of Clans Review 5 Feb 17
Comments not found