jmock - Test Java code using mock objects

Property Value
Distribution RPM Universal
Repository JPackage 6.0 all
Package name jmock
Package version 1.2.0
Package release 3.jpp6
Package architecture noarch
Package type rpm
Installed size 312.68 KB
Download size 277.12 KB
Official Mirror
jMock is a library for testing Java code using mock objects.
Mock objects help you design and test the interactions between the
objects in your programs.
The jMock package:
* makes it quick and easy to define mock objects, so you don't break
the rhythm of programming.
* lets you define flexible constraints over object interactions,
reducing the brittleness of your tests.
* is easy to extend.


Package Version Architecture Repository
jmock-1.2.0-2.jpp5.noarch.rpm 1.2.0 noarch JPackage 5.0
jmock - - -


Name Value
asm >= 1.5.3
cglib21 >= 2.1.3
java-devel >= 1.6.0


Name Value
jmock = 1.2.0-3.jpp6


Type URL
Binary Package jmock-1.2.0-3.jpp6.noarch.rpm
Source Package jmock-1.2.0-3.jpp6.src.rpm

Install Howto

Fedora, CentOS, RHEL:
  1. Download latest jpackage-release rpm from
  2. Install jpackage-release rpm:
    # rpm -Uvh jpackage-release*rpm
  3. Install jmock rpm package:
    # yum install jmock
  1. Add the JPackage 6.0 repository:
    # zypper addrepo jpackage-6.0
  2. Install jmock rpm package:
    # zypper install jmock
Mandriva, Mageia:
  1. Add the JPackage 6.0 repository:
    # urpmi.addmedia jpackage-6.0 with
  2. Update packages list:
    # urpmi.update -a
  3. Install jmock rpm package:
    # urpmi jmock




2010-12-05 - Ralph Apel <> 0:1.2.0-3
- Adapt to JPP6
- Fix naming of poms
2008-07-29 - David Walluck <> 0:1.2.0-2
- remove javadoc scriptlets
- GCJ fixes
- fix BuildRoot
- fix permissions
- fix maven directory ownership
2007-07-17 - Ralph Apel <r.apel at> - 0:1.2.0-1jpp
- Upgrade to 1.2.0
- Add poms and depmap frags
- Make Vendor, Distribution based on macro
2007-02-23 - Ralph Apel <r.apel at> - 0:1.0.1-4jpp
- Patch to current junit
- Add gcj_support option
2006-02-17 - Ralph Apel <r.apel at> - 0:1.0.1-3jpp
- Require cglib-nohook instead of cglib to break circular dependency
2006-01-04 - Fernando Nasser <> - 0:1.0.1-2jpp
- First JPP 1.7 build
2005-03-16 - Ralph Apel <r.apel at> - 0:1.0.1-1jpp
- Upgrade to 1.0.1
- Patch to adapt to asm-1.5.3
- Built with asm-1.5.3 and cglib-2.1.0
2004-08-23 - Randy Watler <rwatler at> - 0:1.0.0-3jpp
- Rebuild with ant-1.6.2
- Upgrade to Ant 1.6.X
2004-06-04 - Ralph Apel <r.apel at> - 0:1.0.0-2jpp
- Graduate to free section for use with qdox-1.4
2004-06-01 - Ralph Apel <r.apel at> - 0:1.0.0-1jpp
- First JPackage release

See Also

Package Description
jmock-demo-1.2.0-3.jpp6.noarch.rpm Examples for jmock
jmock-javadoc-1.2.0-3.jpp6.noarch.rpm Javadoc for jmock
jmock2-2.5.1-2.jpp6.noarch.rpm Test Java code using mock objects
jmock2-javadoc-2.5.1-2.jpp6.noarch.rpm Javadoc for jmock2
jms-integration-tests-1.0.1-2.jpp6.noarch.rpm JMS Integration Tests
jms-integration-tests-repolib-1.0.1-2.jpp6.noarch.rpm Artifacts to be uploaded to a repository library
jna-3.2.7-14.jpp6.x86_64.rpm Java Native Access
jna-javadoc-3.2.7-14.jpp6.x86_64.rpm Javadoc for jna
jna-posix-1.0.1-2.jpp6.noarch.rpm Java POSIX emulation layer
jna-posix-javadoc-1.0.1-2.jpp6.noarch.rpm Javadoc for jna-posix
jna-repolib-3.2.7-14.jpp6.x86_64.rpm Artifacts to be uploaded to a repository library
joda-time-1.6.2-3.jpp6.noarch.rpm Date and time library to replace JDK date handling
joda-time-javadoc-1.6.2-3.jpp6.noarch.rpm Javadoc for joda-time
joda-time-manual-1.6.2-1.jpp6.noarch.rpm Docs for joda-time
joesnmp-0.3.4-4.jpp6.noarch.rpm Java SNMP class library