debian/0000775000000000000000000000000011755423512007175 5ustar debian/rules0000775000000000000000000000316211476723626010270 0ustar #!/usr/bin/make -f # # build file for junit uses dh 7 JAVA_HOME := /usr/lib/jvm/default-java JAVAC = $(JAVA_HOME)/bin/javac JAR = $(JAVA_HOME)/bin/jar CLASSPATH = . JAVADOC = $(JAVA_HOME)/bin/javadoc JARNAME = junit.jar DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d- -f1) UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d- -f1 | cut -d~ -f2) %: dh $@ --with maven_repo_helper override_dh_auto_configure: (mkdir src; cd src; ${JAR} xvf ../src.jar) override_dh_auto_build: mkdir -p classes (cd src;${JAVAC} -source 1.4 -target 1.4 -classpath ${CLASSPATH} -d ../classes junit/*/*.java) cp -r src/junit/swingui/icons classes/junit/swingui cp src/junit/runner/*.gif classes/junit/runner cp src/junit/runner/excluded.properties classes/junit/runner (${JAR} cvmf debian/MANIFEST.MF ${JARNAME} -C classes junit) mkdir -p doc/api .mh (cd src;${JAVADOC} -d ../doc/api junit.framework junit.awtui junit.swingui junit.runner junit.textui junit.extensions) cp debian/pom.xml .mh/junit.javadoc.pom jar cvf .mh/junit.javadoc.jar -C doc/api/ . override_dh_install: -rm -f javadoc/package-list install -m 755 debian/junit.sh debian/junit/usr/bin/junit override_dh_clean: dh_clean -rm -rf classes doc ${JARNAME} -rm -f `find . -name "*~"` -rm -rf src -rm -rf debian/tmp get-orig-pom: wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/junit/junit/${UPSTREAM_VERSION}/junit-${UPSTREAM_VERSION}.pom get-orig-source: -uscan --download-version ${DEB_UPSTREAM_VERSION} --force-download --rename debian/pom.xml0000664000000000000000000000135311223104536010504 0ustar 4.0.0 junit junit 3.8.2 JUnit http://junit.org JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. JUnit http://www.junit.org Common Public License Version 1.0 http://www.opensource.org/licenses/cpl1.0.txt http://junit.cvs.sourceforge.net/junit/ debian/dirs0000664000000000000000000000005110317556212010052 0ustar usr/bin usr/share/java usr/share/ant/lib debian/README.source0000664000000000000000000000056311304340105011342 0ustar JUnit for Debian ---------------- The upstream supplied tar.gz package contains prebuild libraries. So, the orig-tar.sh script is used to automate rebuilding the tarball. For step-by-step information on how the orig.tar.sh is obtained, please look at the orig-tar.sh present in this directory. -- Kumar Appaiah , Fri, 30 Nov 2007 12:50:43 +0530 debian/maven.rules0000664000000000000000000000003511223104536011345 0ustar junit junit jar s/3\..*/3.x/ debian/control0000664000000000000000000000225511617536513010607 0ustar Source: junit Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Michael Koch , Wolfgang Baer , Damien Raude-Morvan Build-Depends: debhelper (>= 7.0.50~), default-jdk Build-Depends-Indep: maven-repo-helper (>= 1.5) Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/junit/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/junit/ Homepage: http://www.junit.org Package: junit Architecture: all Depends: ${misc:Depends} Recommends: default-jre (>= 1.4) | default-jre-headless (>= 1.4) | java2-runtime | java2-runtime-headless Suggests: junit-doc Enhances: ant-optional Description: Automated testing framework for Java JUnit is a simple framework for writing and running automated tests. As a political gesture, it celebrates programmers testing their own software. Package: junit-doc Section: doc Architecture: all Depends: ${misc:Depends} Suggests: junit Description: Document for JUnit This package provide documents and examples for JUnit which is a simple framework for writing and running automated tests. debian/copyright0000664000000000000000000003056511617536513011144 0ustar Format-Specification: http://dep.debian.net/deps/dep5/ Name: JUnit Testing Framework Maintainer: http://www.junit.org/ Source: http://sourceforge.net/projects/junit/files/junit/ Files: * Copyright: Copyright 2000-2006 Kent Beck, Erich Gamma and Mike Clark License: CPL Common Public License - v 1.0 . THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. . 1. DEFINITIONS . "Contribution" means: . a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor: . i) changes to the Program, and . ii) additions to the Program; . where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. . "Contributor" means any person or entity that distributes the Program. . "Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. . "Program" means the Contributions distributed in accordance with this Agreement. . "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. . 2. GRANT OF RIGHTS . a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. . b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. . c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. . d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. . 3. REQUIREMENTS . A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: . a) it complies with the terms and conditions of this Agreement; and . b) its license agreement: . i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; . ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; . iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and . iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. . When the Program is made available in source code form: . a) it must be made available under this Agreement; and . b) a copy of this Agreement must be included with each copy of the Program. . Contributors may not remove or alter any copyright notices contained within the Program. . Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. . 4. COMMERCIAL DISTRIBUTION . Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. . For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. . 5. NO WARRANTY . EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. . 6. DISCLAIMER OF LIABILITY . EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. . If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. . All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. . Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. . This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. Files: debian/* Copyright: Copyright 2001-2007 Takashi Okamoto Copyright: Copyright 2009 Damien Raude-Morvan License: GPL-2+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/junit.poms0000664000000000000000000000034511476723626011241 0ustar debian/pom.xml --no-parent --has-package-version --java-lib --artifact=junit.jar .mh/junit.javadoc.pom --no-parent --has-package-version --artifact=.mh/junit.javadoc.jar --classifier=javadoc --ignore-pom --package=junit-java-doc debian/README.Debian0000664000000000000000000000043611304340105011223 0ustar JUnit for Debian ---------------------- * /usr/bin/junit script provides the following options: -text run junit.textui.TestRunner -swing run junit.swingui.TestRunner -awt run junit.awtui.TestRunner Takashi Okamoto , Thu, 28 Jun 2001 18:47:32 +0900 debian/junit-doc.links0000664000000000000000000000010010317556212012117 0ustar usr/share/doc/junit-doc/doc/api usr/share/doc/junit-doc/javadoc debian/orig-tar.sh0000775000000000000000000000044711223105242011250 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' DIR=junit-$2.orig TAR=../junit_$2.orig.tar.gz # clean up the upstream tarball unzip $3 rm -f $3 mv junit$2 $DIR GZIP=--best tar czf $TAR --exclude docs/api --exclude junit.jar --exclude *.class $DIR rm -rf $DIR exit 0 debian/watch0000664000000000000000000000012010723734615010222 0ustar version=3 http://sf.net/junit/junit(3\.[\d\.]*)\.zip debian debian/orig-tar.sh debian/MANIFEST.MF0000664000000000000000000000153211517401302010615 0ustar Manifest-Version: 1.0 Export-Package: junit.awtui;version="3.8.2";uses:="junit.framework",ju nit.extensions;version="3.8.2";uses:="junit.framework",junit.framewor k;version="3.8.2",junit.runner;version="3.8.2";uses:="junit.framework ",junit.swingui;version="3.8.2";uses:="javax.swing,javax.swing.event, javax.swing.tree,junit.framework,junit.runner",junit.swingui.icons;ve rsion="3.8.2",junit.textui;version="3.8.2";uses:="junit.framework,jun it.runner" Bundle-Version: 3.8.2 Tool: Bnd-0.0.401 Bundle-Name: JUnit Testing Framework Bundle-Vendor: JUnit Bundle-ManifestVersion: 2 Created-By: 1.6.0_15 (Apple Inc.) Import-Package: javax.swing;resolution:=optional,javax.swing.border;re solution:=optional,javax.swing.event;resolution:=optional,javax.swing .tree;resolution:=optional,com.ibm.uvm.tools;resolution:=optional Bundle-SymbolicName: org.junit debian/changelog0000664000000000000000000002045211755423512011052 0ustar junit (3.8.2-8build1) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page Fri, 18 May 2012 11:41:14 +0100 junit (3.8.2-8) unstable; urgency=low * Really upload to unstable. -- Damien Raude-Morvan Sun, 07 Aug 2011 18:49:22 +0200 junit (3.8.2-7) experimental; urgency=low * Upload to unstable. * Bump Standards-Version to 3.9.2 (no changes needed). * d/control: Only Recommends java runtimes * Switch to 3.0 (quilt) format. -- Damien Raude-Morvan Sun, 07 Aug 2011 18:19:01 +0200 junit (3.8.2-6) experimental; urgency=low * Update OSGi metadata: - merge with metadata found in the BND project for junit, - remove Bundle-Classpath: junit.jar as we don't create a wrapper jar containing junit.jar as in the Eclipse project. -- Ludovic Claude Sun, 12 Dec 2010 21:34:03 +0100 junit (3.8.2-5) experimental; urgency=low * d/control: - Bump up Standards-Version to 3.9.1 - no changes - remove Build-Depends on cdbs - add version constraint on maven-repo-helper * d/rules: - calculate DEB_UPSTREAM_VERSION and UPSTREAM_VERSION, remove cdbs import - use dh --with maven_repo_helper * junit.poms: add --has-package-version option * Deploy javadoc jar into the Maven repository -- Ludovic Claude Sat, 09 Oct 2010 21:38:25 +0200 junit (3.8.2-4) unstable; urgency=low * Add myself to Uploaders * Bump debhelper version to >= 7 - Rework debian/rules to use dh * Bump Standards-Version to 3.8.3: - Rename debian/README.Debian-source to debian/README.source * Build-Depends on default-jdk instead of default-jdk-builddep because we don't build a native GCJ package. * Add Depends: ${misc:Depends} * Restore SwingUI UI: - Don't remplace swingui TestRunner by an awtui TestRunner as, now, free java runtime fully support Swing - Remove unneeded debian/TestRunner.java file * Add OSGi metadata to junit.jar (Closes: #558177) * Rewrite debian/copyright with DEP5-format -- Damien Raude-Morvan Sun, 29 Nov 2009 01:03:35 +0100 junit (3.8.2-3) unstable; urgency=low * Upload to unstable. -- Torsten Werner Sun, 09 Aug 2009 11:52:56 +0200 junit (3.8.2-2) experimental; urgency=low * Add Maven POM descriptor * Add a Build-Depends-Indep dependency on maven-repo-helper * debian/rules: added get-orig-pom target to run manually to download the latest Maven POM and add it to the debian directory. * Fix some Lintian warnings: bump Standards-Version to 3.8.1, cannot fix Copyright warning as no information was found in the source code or the web site about the copyright owners, and adding ${misc:Depends} causes FTBSF. * Change section to java * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository -- Ludovic Claude Mon, 16 Mar 2009 00:33:07 +0000 junit (3.8.2-1ubuntu2) intrepid; urgency=low * Compile java files with -target 1.4. LP: #264808. -- Matthias Klose Mon, 20 Oct 2008 14:25:15 +0200 junit (3.8.2-1ubuntu1) intrepid; urgency=low * (Build-)depend on default-jre/-jdk. * Don't build with -target 1.3. -- Matthias Klose Wed, 30 Jul 2008 15:32:08 +0000 junit (3.8.2-1) unstable; urgency=low [ Kumar Appaiah ] * Update the watch file. (Closes: #449640) * debian/control: + Add Homepage field. + Add Vcs-Svn and Vcs-Browser. * debian/orig-tar.sh + Ease repackaging the junit zip by automatically, removing class and jar files. * Explain repackaging. [ Michael Koch ] * New upstream release. * Put junit-doc into doc section. * Updated Standards-Version to 3.7.3. -- Michael Koch Thu, 27 Dec 2007 22:57:50 +0100 junit (3.8.1.1-7) unstable; urgency=low * Build-Depends-Indep on java-gcj-compat-dev instead of kaffe. * Moved cdbs and debhelper to Build-Depends. * Updated Standards-Version to 3.7.2. -- Michael Koch Sat, 1 Jul 2006 15:01:02 +0000 junit (3.8.1.1-6) unstable; urgency=low * Removed explicit usage of jikes build compiler property for kaffe jikes -> ecj transition * Use kaffe's jar instead of fastjar - remove fastjar from build-deps -- Wolfgang Baer Fri, 6 Jan 2006 19:38:06 +0100 junit (3.8.1.1-5) unstable; urgency=low * Converted to cdbs (closes: #311045) * Standards-Version 3.6.2 - removed /usr/doc link creation in postinst * Removed duplicated build dependencies which are implicit by kaffe * Removed postinst's which link to /usr/doc * Removed link into /usr/share/ant1.6/lib due to ant transition * Added Enhances: ant-optional * Added myself to uploaders -- Wolfgang Baer Mon, 26 Sep 2005 20:33:40 +0200 junit (3.8.1.1-4) unstable; urgency=low * Build with -target 1.3 (Closes: #270662) * Added symlinks for junit.jar from $ANT_HOME/lib directories (Closes: #292271) * debian/junit-doc.docs: Added 'doc' directory and 'cpl-v10.html' (Closes: #267995) * Introduced debian/compat with compat level 4 * Cleaned up debian/rules * Added debian/watch -- Michael Koch Wed, 13 Apr 2005 21:05:02 +0000 junit (3.8.1.1-3) unstable; urgency=low * Build-Depend on gjdoc >= 0.7.2-2 (Closes: #297664) * Fixed junit manpage * Updated Standards-Version to 3.6.1 (no changes needed) * Added myself to Uploaders -- Michael Koch Mon, 14 Mar 2005 16:14:33 +0000 junit (3.8.1.1-2) unstable; urgency=low * add java api document.(closes: #216706) * fixed links in README.html (closes: #188959) -- Takashi Okamoto Sun, 25 Jul 2004 14:12:39 +0900 junit (3.8.1.1-1) unstable; urgency=low * same as 3.8.1-5. This release just fix junit_3.8.1.orig.tar.gz is in contrib. (closes: #250731) -- Takashi Okamoto Sun, 27 Jun 2004 23:35:56 +0900 junit (3.8.1-5) unstable; urgency=low * add fastjar for build-depend. (closes: #213757) -- Takashi Okamoto Fri, 3 Oct 2003 01:08:59 +0900 junit (3.8.1-4) unstable; urgency=low * remove swing dependency and in main now (closes: #135276). * fixed type (cloese: #188959). This bug was closed since 3.8.1. * javadoc is removed because gjdoc didn't work for me. I'll fix it later. -- Takashi Okamoto Sat, 13 Sep 2003 09:08:32 +0900 junit (3.8.1-3) unstable; urgency=low * add java-virtual-machine for depend. (closes: #187031) -- Takashi Okamoto Wed, 2 Apr 2003 08:07:15 +0900 junit (3.8.1-2) unstable; urgency=low * remove TestCase option with -swing and -awt (closes: #139180) -- Takashi Okamoto Sun, 29 Dec 2002 10:11:23 +0900 junit (3.8.1-1) unstable; urgency=low * New upstream release -- Takashi Okamoto Sun, 15 Sep 2002 20:25:28 +0900 junit (3.8-1) unstable; urgency=low * New upstream release * license change IBM Public License into Common Public License. -- Takashi Okamoto Sun, 1 Sep 2002 20:01:38 +0900 junit (3.7-6) unstable; urgency=low * add j2sdk1.3, java-virtual-machine-dummy, java-virtual-machine at depends field. -- Takashi Okamoto Thu, 8 Aug 2002 08:06:18 +0900 junit (3.7-5) unstable; urgency=low * swing and awt test runnter work without arguments.(Closes #139180) * change denpend java-vertual-machine to java2-runtime and j2re1.3. -- Takashi Okamoto Thu, 21 Mar 2002 02:12:25 +0900 junit (3.7-4) unstable; urgency=low * move README.html to junit-doc package. (Closes: #119180) -- Takashi Okamoto Mon, 12 Nov 2001 20:50:57 +0900 junit (3.7-3) unstable; urgency=low * divide into junit and junit-doc because documentation is too big. * move to new Java policy.(add change version to jar and make symlink) -- Takashi Okamoto Thu, 4 Oct 2001 22:42:02 +0900 junit (3.7-2) unstable; urgency=low * junit script can't work correctly.(Closes: #106984) -- Takashi Okamoto Mon, 30 Jul 2001 10:31:27 +0900 junit (3.7-1) unstable; urgency=low * Initial release. -- Takashi Okamoto Thu, 28 Jun 2001 18:47:32 +0900 Local variables: mode: debian-changelog End: debian/manpages0000664000000000000000000000002010317556212010700 0ustar debian/junit.1 debian/junit.sh0000664000000000000000000000255410227315125010661 0ustar #!/bin/sh # # junit command line program for Debian # author: Takashi Okamoto # usage: # junit [-text] output result with text. # This mode is default. # junit -awt output result with awt ui. # junit -swing output result with swing ui. TESTRUNNER=junit.textui.TestRunner CLASSPATH=${CLASSPATH}:/usr/share/java/junit.jar:. if [ "$#" = "0" ]; then TESTRUNNER=junit.awtui.TestRunner fi if [ "$1" = "-text" ] ; then shift; if [ "$#" = "0" ] ; then FLAG=false fi elif [ "$1" = "-swing" ] ; then shift; TESTRUNNER=junit.swingui.TestRunner if [ "$#" != "0" ]; then echo "-swing option should not have other arguments" exit; fi elif [ "$1" = "-awt" ] ; then shift TESTRUNNER=junit.awtui.TestRunner if [ "$#" != "0" ]; then echo "-awt option should not have other arguments" exit; fi fi if [ "$1" = "-help" ] || [ "$FLAG" = "false" ] ; then echo "junit 3.8.1 -- this version is modified by Takashi Okamoto for Debian." echo "Usage: junit " echo " -text - using text user interface." echo " -awt - using awt user interface." echo " -swing - using swing user interface." echo "TestCaseName is the name of the TestCase class" exit fi exec java -classpath ${CLASSPATH} ${TESTRUNNER} ${1+"$@"} debian/junit-doc.docs0000664000000000000000000000002010317556212011730 0ustar doc README.html debian/compat0000664000000000000000000000000211304340105010355 0ustar 7 debian/junit.10000664000000000000000000000147010227315125010403 0ustar .TH junit 1 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME junit \- automated testing framework for Java .SH SYNOPSIS .B junit .I "[option] TestCaseName ..." .SH "DESCRIPTION" .B junit is a simple framework for writing and running automated tests. As a political gesture, it celebrates programmers testing their own software. .SH OPTIONS A summary of options are included below. .TP .B \TestCaseName TestCaseName is name of TestCase class. .TP .B \-help Show summary of options. .TP .B \-text using text user interface. .TP .B \-awt using awt user interface. .TP .B \-swing using swing user interface. .SH AUTHOR This manual page was written by Takashi Okamoto , for the Debian GNU/Linux system (but may be used by others). debian/source/0000775000000000000000000000000011617541051010471 5ustar debian/source/format0000664000000000000000000000001411617536513011706 0ustar 3.0 (quilt) debian/junit.links0000664000000000000000000000015510735020062011357 0ustar usr/share/java/junit-3.8.2.jar usr/share/java/junit.jar usr/share/java/junit.jar usr/share/ant/lib/junit.jar