debian/0000775000000000000000000000000012164644706007202 5ustar debian/patches/0000775000000000000000000000000012164641715010626 5ustar debian/patches/01_junit3_api.diff0000664000000000000000000000120512164641715014023 0ustar Description: Compatibility with Junit3 Author: Miguel Landaeta Forwarded: no Last-Update: 2011-09-12 --- jmock-1.2.0.orig/jmock-core/org/jmock/expectation/AssertMo.java +++ jmock-1.2.0/jmock-core/org/jmock/expectation/AssertMo.java @@ -73,7 +73,7 @@ public class AssertMo extends Assert assertTrue("Should not have verified", threwException); } - static protected void failNotEquals( String message, + static public void failNotEquals( String message, Object expected, Object actual ) { String formatted = ""; debian/patches/series0000664000000000000000000000002312164641715012036 0ustar 01_junit3_api.diff debian/rules0000775000000000000000000000116412164641715010261 0ustar #!/usr/bin/make -f JAVA_HOME := /usr/lib/jvm/default-java %: dh $@ --with javahelper override_dh_auto_build: dh_auto_build CLASSPATH=/usr/share/java/junit.jar jh_build -J jmock.jar jmock-core CLASSPATH=jmock.jar:/usr/share/java/cglib.jar \ jh_build -J jmock-cglib.jar jmock-cglib override_dh_auto_install: dh_auto_install mh_installpoms -plibjmock-java mh_installjar -plibjmock-java -l debian/jmock.pom jmock.jar mh_installjar -plibjmock-java -l debian/jmock-cglib.pom jmock-cglib.jar override_dh_auto_clean: dh_auto_clean mh_clean get-orig-source: -uscan --download-current-version --force-download --rename debian/watch0000664000000000000000000000014012164641715010223 0ustar version=3 http://jmock.org/download.html .*/jmock-(1[\d.]+)-jars\.zip debian debian/orig-tar.sh debian/jmock-cglib.pom0000664000000000000000000000213112164641715012072 0ustar 4.0.0 jmock jmock-cglib 1.2.0 jar jMock CGLIB extension http://www.jmock.org/ jMock is a library for testing Java code using mock objects. The CGLIB extension allows creating of mock objects for classes. BSD http://www.jmock.org/license.html repo http://cvs.jmock.codehaus.org/browse/jmock/jmock jMock.org http://www.jmock.org/ jmock jmock 1.2.0 cglib cglib-nodep 2.1_3 debian/libjmock-java.poms0000664000000000000000000000005012164641715012603 0ustar debian/jmock.pom debian/jmock-cglib.pom debian/libjmock-java-doc.javadoc0000664000000000000000000000005112164641715014000 0ustar internal /usr/share/doc/libmock-java/api debian/orig-tar.sh0000775000000000000000000000101312164641715011255 0ustar #!/bin/sh -e # $2 = version VERSION=$2 ZIP=$3 TAR=../jmock_$VERSION.orig.tar.gz DIR=jmock-$VERSION.orig # clean up the upstream tarball unzip $ZIP -d tmp > /dev/null cd tmp && \ for j in *.jar; do unzip $j -d $(echo $j | sed -r 's/^(jmock-.*)-.*$/\1/') done && \ cd $OLDPWD mv tmp $DIR GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR rm -rf $DIR rm $ZIP # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/changelog0000664000000000000000000000623612164642156011060 0ustar jmock (1.2.0-2) unstable; urgency=low * Fixed the watch file * Updated Standards-Version to 3.9.4 (no changes) * Removed Michael Koch from the Uploaders list (Closes: #654037) * debian/copyright: Updated the Format URI * Use canonical URLs for the Vcs-* fields -- Emmanuel Bourg Tue, 02 Jul 2013 23:20:58 +0200 jmock (1.2.0-1) unstable; urgency=low * Team upload. * New upstream release. * Migrate to dh7 + javahelper packaging style. * Bump Standards-Version to 3.9.2. No changes were required. * Add Homepage and Vcs-* fields. * Add dependencies on libcglib-java and provide jmock-cglib jar. * Drop unneeded Build-Depends on ant and ant-optional. * Provide better package descriptions. * Update watch file. * Update maven metadata. * Drop unneeded dirs, README.Debian and ant.properties files. * Drop unneeded patches. * Make copyright file DEP5 compliant. -- Miguel Landaeta Mon, 12 Sep 2011 22:45:55 -0430 jmock (1.0.1-6) unstable; urgency=low * Team upload * Add a Maven publish rule to better support mh_make. -- Torsten Werner Sun, 21 Aug 2011 20:31:11 +0200 jmock (1.0.1-5) unstable; urgency=low * Team upload [ Michael Koch ] * Removed Trygve from Uploaders (Closes: #514075). * Removed Wolfgang and added myself to Uploaders. * Build-Depends on debhelper >= 7. * Updated to Standards-Version to 3.8.3. [ Miguel Landaeta ] * Include javadoc files in libjmock-java-doc. (Closes: #601213). * Add call to mh_clean in clean target. [ Torsten Werner ] * Switch to source format 3.0. * Remove Java runtime Depends. * Some lintian fixes in debian/rules. * Add missing file debian/libjmock-java.poms. -- Torsten Werner Sun, 07 Aug 2011 00:37:54 +0200 jmock (1.0.1-4) unstable; urgency=low * Upload to unstable. -- Torsten Werner Sun, 09 Aug 2009 11:40:12 +0200 jmock (1.0.1-3) experimental; urgency=low * Change section to java, bump up Standards-Version to 3.8.1 * Bump up debhelper to 6 * Add the Maven POM to the package * Add a Build-Depends-Indep dependency on maven-repo-helper * Move debhelper, quilt, default-jdk dependencies to Build-Depends * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Use default-java for the build * Add ${misc:Depends} to Depends to clear Lintian warnings * Use quilt instead of dpatch and update the patches (I have trouble with dpatch) * Update debian/watch and add debian/orig-tar.sh to download a source tarball without any pre-compiled jars. * Add libasm-java to Build-Depends and Suggest. -- Ludovic Claude Wed, 27 May 2009 20:11:43 +0100 jmock (1.0.1-2) unstable; urgency=low * Added ant-optional as required by ant reorganization to fix FTBS (closes: #334629) * Removed unneeded build-deps on classpath, libgcj6 * Added myself to uploaders -- Wolfgang Baer Wed, 19 Oct 2005 13:10:43 +0000 jmock (1.0.1-1) unstable; urgency=low * Initial Release (closes: #323048). -- Trygve Laugstøl Mon, 8 Aug 2005 03:29:13 +0200 debian/maven.publishedRules0000664000000000000000000000167712164641715013234 0ustar # Maven published rules - additional rules to publish, to help # the packaging work of Debian maintainers using mh_make # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ jmock jmock jar s/1\..*/1.x/ debian/clean0000664000000000000000000000003212164641715010177 0ustar jmock.jar jmock-cglib.jar debian/source/0000775000000000000000000000000012164641715010477 5ustar debian/source/format0000664000000000000000000000001412164641715011705 0ustar 3.0 (quilt) debian/jmock.pom0000664000000000000000000000157712164641715011031 0ustar 4.0.0 jmock jmock 1.2.0 jar jMock http://www.jmock.org/ jMock is a library for testing Java code using mock objects BSD http://www.jmock.org/license.html repo http://cvs.jmock.codehaus.org/browse/jmock/jmock jMock.org http://www.jmock.org/ junit junit 3.8.1 debian/compat0000664000000000000000000000000212164641715010375 0ustar 7 debian/maven.rules0000664000000000000000000000007212164641715011360 0ustar junit junit jar s/3\..*/3.x/ jmock jmock jar s/1\..*/1.x/ debian/copyright0000664000000000000000000000731312164641715011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jMock Upstream-Contact: jMock.org Source: http://www.jmock.org Comment: Upstream authors are: Steve Freeman , Tim Mackinnon , Nat Pryce , Joe Walnes . Contributors: Chris Cottee, Aslak Hellesoy, Martin Kersten, Jeff Martin, Vincent Massol, Dan North, Geoff Urbach, Andrew Gray, Anton Tagunov Files: * Copyright: 2000-2007, jMock.org License: other Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of jMock nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2005, Trygve Laugstøl , 2005, Wolfgang Baer , 2009, Ludovic Claude , 2010, Michael Koch , 2009, 2011, Torsten Werner , 2011, Miguel Landaeta License: other Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of jMock nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000664000000000000000000000251312164642066010603 0ustar Source: jmock Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Michael Koch , Emmanuel Bourg Build-Depends: debhelper (>= 7.0.50~), default-jdk, javahelper Build-Depends-Indep: junit (>= 3.8.2), libcglib-java, maven-repo-helper Standards-Version: 3.9.4 Homepage: http://www.jmock.org Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/jmock Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/jmock/ Package: libjmock-java Architecture: all Depends: ${misc:Depends} Recommends: junit (>= 3.8.2) Suggests: libjmock-java-doc, libasm-java, libcglib-java Description: Java library for testing code with mock objects JMock is a library that supports test-driven development of Java code with mock objects. . Mock objects help you design and test the interactions between the objects in your programs. Package: libjmock-java-doc Section: doc Architecture: all Depends: ${misc:Depends} Suggests: default-jdk-doc Description: Java library for testing code with mock objects - documentation JMock is a library that supports test-driven development of Java code with mock objects. . Mock objects help you design and test the interactions between the objects in your programs. . This package provides javadocs for JMock library.