debian/0000755000000000000000000000000012236634446007200 5ustar debian/libmockobjects-java-doc.doc-base0000644000000000000000000000047412236626036015254 0ustar Document: mockobjects Title: Mockobjects Author: The authors of mockobjects Abstract: This document describes how to use the Java Mockobjects library Section: Programming/Java Format: HTML Index: /usr/share/doc/libmockobjects-java-doc/javadoc/index.html Files: /usr/share/doc/libmockobjects-java-doc/javadoc/*.html debian/watch0000644000000000000000000000010612236626036010222 0ustar version=3 http://sf.net/mockobjects/mockobjects-src-([\d.]+)\.tar\.gz debian/rules0000755000000000000000000000107712236626036010261 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILD_TARGET := jar-core javadoc DEB_JARS := junit install/libmockobjects-java:: install -m644 -D out/mockobjects-core-*.jar debian/libmockobjects-java/usr/share/java/mockobjects-core-$(DEB_UPSTREAM_VERSION).jar dh_link -p libmockobjects-java /usr/share/java/mockobjects-core-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/mockobjects-core.jar get-orig-source: -uscan --upstream-version 0 --rename debian/changelog0000644000000000000000000000437112236626036011053 0ustar mockobjects (0.09-5) unstable; urgency=low * Team upload. * Use compat level 9 and require debhelper >= 9. * Run wrap-and-sort -sa. * Update Standards-Version to 3.9.5, no changes. * Use canonical VCS-URI. * Update debian/copyright to copyright format 1.0 * libmockobjects-java: Remove dependency on default-jre-headless | java2-runtime-headless. This is no longer required by the Java policy. * Register documentation with doc-base. * Add DEP-3 header to AssertMo.diff. * Use a slightly different short description for libmockobjects-java-doc. -- Markus Koschany Wed, 06 Nov 2013 21:08:27 +0100 mockobjects (0.09-4) unstable; urgency=low [ Thierry Carrez ] * debian/control, debian/rules: Build-depend on default-jdk * debian/control: Set libmockobjects-java runtime dependency on "default-jre-headless | java2-runtime-headless" * Added debian/ant.properties to build java2-compatible code [ Torsten Werner ] * Switch to source format 3.0. * Remove ssh from protocol part of Vcs-Svn header. * Update Standards-Version: 3.8.4. * Change Section: java. -- Torsten Werner Sat, 08 May 2010 11:42:30 +0200 mockobjects (0.09-3) unstable; urgency=low * Add patches/AssertMo.diff to fix FTBFS (Closes: #458696) * Add myself to Uploaders * Bump up Standards-Version to 3.7.3 -- Varun Hiremath Sun, 13 Jan 2008 00:24:42 +0530 mockobjects (0.09-2) unstable; urgency=low * Take over the package. (Closes: #270531, #453021) * Switch to java-gcj-compat-dev and move package to main. * Clean up whole build process and build mockobjects-core only. * Add Homepage and Vcs headers to debian/control. -- Torsten Werner Thu, 13 Dec 2007 22:20:03 +0100 mockobjects (0.09-1.1) unstable; urgency=high * Non-maintainer upload. * Add missing build dependency on ant-optional (Closes: #391190). * Move debhelper and ant to build-depends, since these are used on clean. * Fix spelling of ${misc:Depends} variable. -- Thijs Kinkhorst Thu, 12 Oct 2006 14:57:33 +0200 mockobjects (0.09-1) unstable; urgency=low * Initial Release. (closes: #270531) -- Marcus Crafter Tue, 7 Sep 2004 12:43:20 +0200 debian/libmockobjects-java-doc.docs0000644000000000000000000000002012236626036014512 0ustar doc/* out/doc/* debian/patches/0000755000000000000000000000000012236634446010627 5ustar debian/patches/series0000644000000000000000000000001612236626036012035 0ustar AssertMo.diff debian/patches/AssertMo.diff0000644000000000000000000000147312236626036013217 0ustar From: Debian Java Maintainers Date: Wed, 6 Nov 2013 21:03:18 +0100 Subject: AssertMo =================================================================== --- src/core/com/mockobjects/util/AssertMo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/com/mockobjects/util/AssertMo.java b/src/core/com/mockobjects/util/AssertMo.java index 11846d5..ebd7923 100644 --- a/src/core/com/mockobjects/util/AssertMo.java +++ b/src/core/com/mockobjects/util/AssertMo.java @@ -77,7 +77,7 @@ public class AssertMo extends Assert { assertTrue("Should not have verified", threwException); } - static protected void failNotEquals( + public static void failNotEquals( String message, Object expected, Object actual) { debian/ant.properties0000644000000000000000000000006612236626036012076 0ustar ant.build.javac.target=1.4 ant.build.javac.source=1.4 debian/source/0000755000000000000000000000000012236634446010500 5ustar debian/source/format0000644000000000000000000000001412236626036011702 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212236626036010372 0ustar 9 debian/copyright0000644000000000000000000000637012236626036011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Mockobjects Source: http://sourceforge.net/cvs/?group_id=18189 Files: * Copyright: 2000-2003, The Mockobjects developers License: Apache-1.1 Comment: See also https://sourceforge.net/mailarchive/forum.php?forum_id=971 for a list of contributors for Mockobjects. Files: debian/* Copyright: 2004, Marcus Crafter 2006, Thijs Kinkhorst 2007, 2010, Torsten Werner 2008, Varun Hiremath 2013, Markus Koschany License: Apache-1.1 License: Apache-1.1 /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. 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. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The name "MockObjects" must not be * used to endorse or promote products derived from this software * without prior written permission. For written permission, please * contact apache@apache.org. * * 5. Products derived from this software may not be called * "MockObjects", nor may "MockObjects" appear in their name, * without prior written permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR * ITS 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. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * . */ debian/control0000644000000000000000000000405512236626036010603 0ustar Source: mockobjects Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Torsten Werner , Varun Hiremath Build-Depends: cdbs, debhelper (>= 9) Build-Depends-Indep: ant, default-jdk, junit Standards-Version: 3.9.5 Homepage: http://www.mockobjects.com Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/mockobjects Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/mockobjects/ Package: libmockobjects-java Architecture: all Depends: ${misc:Depends} Description: Framework for developing and using mock objects Mock Objects is a test-first driven framework for building generic software and/or unit testing frameworks. It supports: * A methodology for developing and using mock objects. * A core mock object framework. This is a library of code that supports the implementation of mock objects, based around a set of expectation classes for values and collections. There are also various other classes to make mock objects easier to write or to use. * A default set of mock implementations for the standard Java platform APIs. We have made a start on packages such as servlets, sql, and io. Package: libmockobjects-java-doc Section: doc Architecture: all Depends: ${misc:Depends} Suggests: libmockobjects-java Description: Framework for developing and using mock objects -- documentation Mock Objects is a test-first driven framework for building generic software and/or unit testing frameworks. It supports: * A methodology for developing and using mock objects. * A core mock object framework. This is a library of code that supports the implementation of mock objects, based around a set of expectation classes for values and collections. There are also various other classes to make mock objects easier to write or to use. * A default set of mock implementations for the standard Java platform APIs. We have made a start on packages such as servlets, sql, and io. . This package includes the mock objects javadocs.