jmock - Test Java code using mock objects

Property Value
Distribution RPM Universal
Repository JPackage 5.0 all
Package name jmock
Package version 1.2.0
Package release 2.jpp5
Package architecture noarch
Package type rpm
Installed size 312.68 KB
Download size 279.67 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-3.jpp6.noarch.rpm 1.2.0 noarch JPackage 6.0
jmock - - -


Name Value
asm >= 1.5.3
cglib >= 2.1.3


Name Value
jmock = 1.2.0-2.jpp5


Type URL
Binary Package jmock-1.2.0-2.jpp5.noarch.rpm
Source Package jmock-1.2.0-2.jpp5.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 5.0 repository:
    # zypper addrepo jpackage-5.0
  2. Install jmock rpm package:
    # zypper install jmock
Mandriva, Mageia:
  1. Add the JPackage 5.0 repository:
    # urpmi.addmedia jpackage-5.0 with
  2. Update packages list:
    # urpmi.update -a
  3. Install jmock rpm package:
    # urpmi jmock




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-2.jpp5.noarch.rpm Examples for jmock
jmock-javadoc-1.2.0-2.jpp5.noarch.rpm Javadoc for jmock
jmock2-2.4.0-1.jpp5.noarch.rpm Test Java code using mock objects
jmock2-javadoc-2.4.0-1.jpp5.noarch.rpm Javadoc for jmock2
jna-3.0.3-4.jpp5.noarch.rpm Java Native Access
jna-javadoc-3.0.3-4.jpp5.noarch.rpm Javadoc for jna
jna-posix-0.6-2.jpp5.noarch.rpm Java POSIX emulation layer
jna-posix-javadoc-0.6-2.jpp5.noarch.rpm Javadoc for jna-posix
joda-time-1.5.2-1jpp.noarch.rpm Java date and time API
joda-time-javadoc-1.5.2-1jpp.noarch.rpm Javadoc for joda-time
joda-time-manual-1.5.2-1jpp.noarch.rpm Docs for joda-time
joesnmp-0.3.4-2.jpp5.noarch.rpm Java SNMP class library
joesnmp-javadoc-0.3.4-2.jpp5.noarch.rpm Javadoc for joesnmp
joesnmp-repolib-0.3.4-2.jpp5.noarch.rpm Artifacts to be uploaded to a repository library
jonathan-core-4.1-3.jpp5.noarch.rpm Distributed Object Platform (DOP) written entirely in Java