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).
Like it? Share with your friends!
Supported operating systems:
Java ME, Java Nokia 240x320, Java SE 240x320
Similar Software:
FPC_Bench_3D The application has rich functionality and can perform the following tasks: retrieve detailed information about the "hardware" device under test, including data on the amount of available memory, software interfaces, and display characteristics of graphical 3D-engine (if present)
J2MEUnit J2MEUnit is a Java 2 Micro Edition (J2ME) library containing a unit testing framework for J2ME applications. It is based on the source code of the original JUnit, the successful unit testing framework for the standard (desktop) edition of Java, J2SE.
What's New in This Release:
· Fixed a NullPointerException in midletui
FPC Bench Mobile Challenge FPC Bench Mobile Challenge - Enter the challenge with FPC Bench and discover the power of your phone
TaylorBench TaylorBench - A very simple benchmark, that, that tests the low-level performance of a MIDP-compliant device.
The source is open, without any copyright, so you're free to do what you like with it, as long as you acknowledge me in the 'About' Alert
Spruce Tester Spruce Tester is a valuable development tool for comprehensive testing of the hardware features of a Java enabled handset
NTL Benchmark NTL Benchmark - NTL benchmark allows you to measure the performance and capabilities of your mobile phone for running games and Java applications. See how your phone looks in comparison to other devices. The program performs more than 100 different types of tests, reflecting the behavior of real applications
CPU Speed Test To test CPU program. With CPU Speed Professional assistance you will be able to carry out the so-called Benchmark tests, measuring how quickly can work your central processor under maximum load
JBenchmark ACE (ARM CPU Estimator) JBenchmark ACE (ARM CPU Estimator) - JBenchmark ARM CPU Estimator gauges the generation of processor and clock frequency of mobile phones with unique Java-based software.
JBenchmark ACE software is free to download and once started, reveals the type of processor, clock speed and profiles the Java Virtual Machine (VM) used in that mobile device
Serial Port Tester Serial Port Tester is a utility to test the serial interface of a Wireless Java device