debian/0000755000000000000000000000000012144615203007164 5ustar debian/NEWS0000644000000000000000000000062511760473334007700 0ustar junit4 (4.7-2) unstable; urgency=low Revert change done in 4.6-1 : don't install a symlink in ANT_HOME/lib directory - This can cause unexpected behavior for people using both JUnit 3.x and JUnit 4.x - This is not recommended by upstream For usage of JUnit4 with ant, you should have a look at README.Debian. -- Damien Raude-Morvan Mon, 24 Aug 2009 23:31:40 +0200 debian/maven.rules0000644000000000000000000000003511760473334011356 0ustar junit junit jar s/4\..*/4.x/ debian/README.Debian0000644000000000000000000000370611760473334011245 0ustar Using JUnit4 with Ant ===================== One of the common use case for JUnit is using it with Ant build system, as part of the build process of your source code. Explanation ------------ To launch some JUnit4 TestCase from Ant, you need "ant" and "junit4" packages. You also need to add junit4.jar in nested of your targets. There is no need to add it in CLASSPATH or to ANT_HOME/lib [1]. [1] "As of Ant 1.7 no longer requires you to have junit.jar in Ant's start-up classpath" "For example, as of Ant 1.7.0 you can run the task without junit.jar in Ant's own classpath, so long as it is included (along with your program and tests) in the classpath passed when running the task. Where possible, this option is generally to be preferred, as the Ant script itself can determine the best path to load the library from" This strategy also prevent unwanted clash with junit 3.x : you can launch multiple junit target, each with its own classpath. For detailed history, you could see #512530 and #543327 in Debian BTS. Sample ------ Here is a Ant snippet for JUnit4 usage : ---------------------------------------------------------------- ---------------------------------------------------------------- debian/watch0000644000000000000000000000014612131677770010233 0ustar version=3 http://github.com/junit-team/junit/tags/ .*/r(\d[\d\.]+)\.tar\.gz debian debian/orig-tar.sh debian/rules0000755000000000000000000000174512131677770010270 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILD_TARGET := dist DEB_JARS := ant-nodeps hamcrest-core binary-post-install/junit4:: sed "s/@artifactId@/junit/;s/@version@/$(VERSION)/" build/maven/junit-pom-template.xml > debian/pom.xml mh_installpoms -pjunit4 mh_installjar -pjunit4 -njunit4 -l debian/pom.xml junit$(VERSION)/junit-dep-$(VERSION).jar binary-post-install/junit4-doc:: dh_install -pjunit4-doc junit$(VERSION)/javadoc/* /usr/share/doc/junit4/api/ clean:: -rm debian/pom.xml -rm src/main/java/junit/runner/Version.java mh_clean upstream-from-git: git-archive --format=tar --prefix=junit4-$(DEB_UPSTREAM_VERSION)/ \ v$(DEB_UPSTREAM_VERSION) | gzip -9 \ > ../junit4_$(DEB_UPSTREAM_VERSION).orig.tar.gz get-orig-source: -uscan --upstream-version 0 --rename debian/junit4-doc.docs0000644000000000000000000000005211760473334012025 0ustar doc doc/homepage.html *.txt *.css *.html debian/changelog0000644000000000000000000002043412144614452011046 0ustar junit4 (4.11-2) unstable; urgency=low * Team upload. * Upload to unstable. -- tony mancill Tue, 14 May 2013 22:11:21 -0700 junit4 (4.11-1) experimental; urgency=low * Team upload. * New upstream release * Refreshed the patches * Updated the OGSi metadata in the manifest * Improved the integration of the Javadoc * debian/control: Bump Standards-Version to 3.9.4 (no changes) * debian/watch: Changed the URL to point to the new Github project page [ Tony Mancill ] * Update watchfile to fix Github breakage. (Closes: #693524) - Update unused debug line in orig-tar.sh too. - Thank you to Jonathan McCrohan -- Emmanuel Bourg Thu, 11 Apr 2013 16:14:44 +0200 junit4 (4.10-3) unstable; urgency=low * Team upload. * Skip test that relies on execution order that is not guaranteed with Java7. Thanks to James Page for the patch. (Closes: #678171) -- Niels Thykier Tue, 19 Jun 2012 21:08:15 +0200 junit4 (4.10-2) unstable; urgency=low * Remove Bundle-ClassPath attribute from jar manifest. * Add Jakub Adam to Uploaders. -- Jakub Adam Fri, 25 May 2012 22:58:42 +0200 junit4 (4.10-1) unstable; urgency=low * New upstream release (Closes: #650662). * Fix FTBFS with workaround_typing_bug.diff (Closes: #662807). * d/control: Bump to 3.9.3.1 Standards-Version: no changes needed. * d/control: Remove Michael Koch from Uploaders list (Closes: #654042). * d/watch: Get new github tags, thanks to David Paleino (Closes: #653597). * d/control: Wrap-and-sort. * d/control: Don't use maven-ant-helper anymore for build. -- Damien Raude-Morvan Wed, 07 Mar 2012 22:56:14 +0100 junit4 (4.8.2-2) unstable; urgency=low * Team upload. * Add Class-Path: hamcrest-core.jar to MANIFEST. (Closes: #527308, #587135) * Remove debian/libjunit4-java.poms because there is no such package. * Remove get-orig-pom target because upstream provides a pom.xml now. * Set property bin.package to junit4. -- Torsten Werner Fri, 25 Jun 2010 15:35:10 +0200 junit4 (4.8.2-1) unstable; urgency=low [Ludovic Claude] * Add myself to Uploaders * New upstream version * Update debian/watch and get the original tarball from GitHub * Use the tarball that contains the full project files, including pom.xml and documentation * Add Build-Depends-Indep on maven-ant-helper * Changed the build to use maven-ant-helper. Deleted debian/build.xml and reorganized debian/rules, javadoc is now linked to hamcrest docs. * Add Build-Depends-Indep and Depends for the junit4-doc package on libhamcrest-java-doc and default-jdk-doc * Install the site docs in addition to the javadocs. * Run unit tests during the build, add Build-Depends-Indep on junit and ant-optional * Use upstream pom.xml [Varun Hiremath] * Set java source/target in d/ant.properties instead of d/rules -- Ludovic Claude Wed, 26 May 2010 22:10:17 +0200 junit4 (4.8.1-3) unstable; urgency=low * Install Javadoc inside /usr/share/doc/junit4/ instead of /usr/share/java/junit4/. * Register Javadoc with doc-base. -- Damien Raude-Morvan Sat, 13 Mar 2010 22:30:55 +0100 junit4 (4.8.1-2) unstable; urgency=low [ Ludovic Claude ] * Update version number of junit in debian/pom.xml (Closes: #573581) * Added target get-orig-pom to debian/rules. Maintainer should run 'debian/rules get-orig-pom' to update the POM file on a new upstream version, or at least update the version manually in debian/pom.xml [ Varun Hiremath ] * Switch to source format 3.0 * Bump Standards-Version to 3.8.4 -- Varun Hiremath Sat, 13 Mar 2010 01:03:15 -0500 junit4 (4.8.1-1) unstable; urgency=low * New upstream release -- Damien Raude-Morvan Sat, 12 Dec 2009 20:06:05 +0100 junit4 (4.7-3) unstable; urgency=low [ Thierry Carrez ] * Minimal dependency on default-jre-headless | java5-runtime-headless, since java5 code is produced and junit4 doesn't require full JRE. [ Damien Raude-Morvan ] * Update my email address * Bump debhelper version to >= 7 * Add OSGi metadata to junit4.jar (Closes: #558186) -- Damien Raude-Morvan Sun, 29 Nov 2009 01:06:09 +0100 junit4 (4.7-2) unstable; urgency=low * NEWS.Debian and README.Debian: explain usage of JUnit4 with Ant. Thanks for Antti-Juhani Kaijanaho for spotting this (Closes: #543327). -- Damien Raude-Morvan Mon, 24 Aug 2009 23:32:31 +0200 junit4 (4.7-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.8.3: no changes needed * Remove versionned B-D on cdbs: even oldstable has this release * Use default-jdk/jre: - Build-Depends on default-jdk - Use /usr/lib/jvm/default-java as JAVA_HOME * Maven POMs: - Create basic Maven POM in debian/pom.xml - Add a Build-Depends-Indep dependency on maven-repo-helper - Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Move ant and default-jdk to B-D-I (needed for clean target) * Split Javadoc API in a -doc package -- Damien Raude-Morvan Sun, 23 Aug 2009 15:44:11 +0200 junit4 (4.6-2) unstable; urgency=low * debian/build.xml: Add hamcrest-core.jar in Class-Path using junit4.jar Manifest file. Thanks to Florian Weimer. (Closes: #527308) * Remove NEWS.Debian as migration from 4.3 does not require user action. * debian/copyright: include copyright assignment before licence * Bump Standards-Version to 3.8.2: no changes needed -- Damien Raude-Morvan Mon, 22 Jun 2009 22:25:36 +0200 junit4 (4.6-1) unstable; urgency=low [ Damien Raude-Morvan ] * New upstream release - Upload to unstable (Closes: #521111, #526286) - Depends on libhamcrest-java (see NEWS.Debian) * debian/control: - Add myself to Uploaders - Add ${misc:Depends} in Depends of junit4 - Add libhamcrest-java in Depends of junit4 - Updated Standards-Version to 3.8.1 * debian/build.xml: - Move "org" and "junit" packages as subdir of "build-src" to get right package placement for Javadoc generation - Don't include ant.properties (already included by default by CDBS ant-vars.mk) * debian/copyright: - Update upstream source location (come back on SF.net) [ Varun Hiremath ] * Add junit4 link in ant's lib directory (Closes: #512530) -- Varun Hiremath Tue, 05 May 2009 20:37:46 -0400 junit4 (4.5-1) experimental; urgency=low * New upstream release (Closes: #446464) * Switch to openjdk * Remove old patches, no longer used * Rename debian/junit4.install to debian/docs * Add debian/build.xml and debian/ant.properties to build sources * Add orig-tar.sh script to generate source tarball * Clean up debian/rules file and add get-orig-source target * Update watch file -- Varun Hiremath Sat, 06 Dec 2008 18:54:44 -0500 junit4 (4.3.1-4) unstable; urgency=low * Fix junit4.jar symlink (Closes: #470451) * Fixed symlink also fixes FTBFS bugs (Closes: #470353, #470331) * Add patches/source_version.diff to set source version to 1.5 * Add patches/disable_test.diff to disable one failing test * Add myself to Uploaders -- Varun Hiremath Tue, 11 Mar 2008 23:13:44 +0530 junit4 (4.3.1-3) unstable; urgency=low * Added Depends on java-gcj-compat | java1-runtime | java2-runtime to junit4. Closes: #457254. * Made Debian Java Maintainers the Maintainer of this package, moved Florian to Uploaders and added myself too. * Removed "-1" in versioned build-dependency on java-gcj-compat-dev. * Added Homepage, Vcs-Browser and Vcs-Svn fields. * Updated Standards-Version to 3.7.3. * Added watch file. -- Michael Koch Mon, 03 Mar 2008 00:12:54 +0100 junit4 (4.3.1-2) unstable; urgency=low * Change section to main. -- Florian Weimer Mon, 03 Sep 2007 08:14:52 +0200 junit4 (4.3.1-1) unstable; urgency=low * Initial package version. Closes: #420793. * Change test case to accept a class name variant generated by GNU Classpath. -- Florian Weimer Sun, 02 Sep 2007 16:09:59 +0200 debian/patches/0000755000000000000000000000000012144615203010613 5ustar debian/patches/manifest_jar.diff0000644000000000000000000000112012131677770014116 0ustar Description: Update manifest (set in debian/ant.properties) to allow override for OSGI metadata. Author: Damien Raude-Morvan Forwarded: no Last-Update: 2012-03-07 --- a/build.xml +++ b/build.xml @@ -96,11 +96,13 @@ jarfile="${dist}/${binjar}" basedir="${bin}" excludes="${unjarred}, **/*.java, build.xml" + manifest="${manifest}" /> debian/patches/java7-ignore-test.patch0000644000000000000000000000157212131677770015124 0ustar Description: This test case makes assumptions about the order of execution of tests in the Fruit.class test which are not guaranteed under Java 7. . This is being worked on upstream for a future release on JUnit. Author: James Page Forwarded: not-needed --- a/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java +++ b/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java @@ -10,6 +10,7 @@ import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; import org.junit.Test; +import org.junit.Ignore; import org.junit.runner.Description; import org.junit.runner.JUnitCore; import org.junit.runner.Request; @@ -39,6 +40,7 @@ } @Test + @Ignore public void useChildHarvester() throws InitializationError { log = ""; ParentRunner runner = new BlockJUnit4ClassRunner(FruitTest.class); debian/patches/003_javadoc-fix.patch0000644000000000000000000000220612131677770014426 0ustar Description: Links the documentation with the Javadoc installed locally for the JRE and Hamcrest Author: Emmanuel Bourg Forwarded: not-needed --- a/build.xml +++ b/build.xml @@ -140,21 +140,22 @@ - + - - + + + debian/patches/series0000644000000000000000000000010012131677770012034 0ustar manifest_jar.diff java7-ignore-test.patch 003_javadoc-fix.patch debian/MANIFEST.MF0000644000000000000000000001026412131677770010636 0ustar Manifest-Version: 1.0 Class-Path: hamcrest-core.jar Bundle-Vendor: JUnit Bundle-Version: 4.11 Bundle-Name: JUnit Testing Framework Bundle-ManifestVersion: 2 Bundle-SymbolicName: org.junit Export-Package: org.junit.experimental.theories.suppliers;uses:="org.jun it.experimental.theories";version="4.11",org.junit.experimental.theorie s;uses:="org.junit.experimental.theories.internal,org.junit.internal,or g.junit.runners.model,org.junit.runners,org.junit";version="4.11",org.j unit.experimental.theories.internal;uses:="org.junit.experimental.theor ies,org.junit.runners.model";version="4.11",org.junit.internal.runners; uses:="org.junit.runner,org.junit.internal,org.junit.runner.notificatio n,org.junit.runners.model,junit.framework,org.junit.runner.manipulation ,junit.extensions,org.junit";version="4.11",org.junit.internal;uses:="o rg.hamcrest,org.junit,org.junit.runners,org.junit.runner,org.junit.runn er.notification";version="4.11",org.junit.internal.runners.model;uses:= "org.junit.internal,org.junit.runner,org.junit.runners.model,org.junit. runner.notification";version="4.11",org.junit.experimental.categories;u ses:="org.junit.runner.manipulation,org.junit.runner,org.junit.runners, org.junit.runners.model";version="4.11",org.junit.runner.manipulation;u ses:="org.junit.runner";version="4.11",org.junit.rules;uses:="org.hamcr est,org.junit,org.junit.runners.model,org.junit.internal,org.junit.inte rnal.matchers,org.junit.runner,org.junit.matchers,org.junit.internal.ru nners.statements";version="4.11",org.junit.runner;uses:="org.junit.runn ers.model,org.junit.runners,junit.framework,org.junit.internal.runners, org.junit.internal,junit.runner,org.junit.runner.notification,org.junit .runner.manipulation,org.junit.internal.requests,org.junit.internal.bui lders";version="4.11",org.junit.runners;uses:="org.junit.internal.runne rs,org.junit.runners.model,org.junit.internal.runners.model,org.junit.i nternal.runners.rules,org.junit.rules,org.junit.runner,org.junit.runner .notification,org.junit.internal.runners.statements,org.junit,org.junit .internal,org.junit.runner.manipulation,org.junit.internal.builders";ve rsion="4.11",org.junit.matchers;uses:="org.junit.internal.matchers,org. hamcrest.core,org.hamcrest";version="4.11",org.junit.runner.notificatio n;uses:="org.junit.runner";version="4.11",org.junit.experimental.result s;uses:="org.junit.runner,org.junit.runner.notification,org.junit.inter nal,org.hamcrest";version="4.11",org.junit.experimental.max;uses:="org. junit.runner,org.junit.runners,org.junit.internal.runners,org.junit.run ners.model,org.junit.internal.requests,junit.framework,org.junit.runner .notification";version="4.11",org.junit.internal.builders;uses:="org.ju nit.runner,org.junit.runners.model,org.junit,org.junit.runner.notificat ion,junit.framework,org.junit.internal.runners,org.junit.runners";versi on="4.11",org.junit;uses:="org.junit.internal,org.hamcrest,org.junit.ru nners";version="4.11",org.junit.experimental.runners;uses:="org.junit.r unners,org.junit.runners.model";version="4.11",org.junit.internal.runne rs.rules;uses:="org.junit.rules,org.junit.runners.model,org.junit";vers ion="4.11",org.junit.internal.matchers;uses:="org.hamcrest,org.junit.in ternal";version="4.11",org.junit.internal.requests;uses:="org.junit.run ner,org.junit.internal.builders,org.junit.runner.manipulation,org.junit .internal.runners";version="4.11",org.junit.experimental;uses:="org.jun it.runner,org.junit.runners.model,org.junit.runners";version="4.11",org .junit.runners.model;uses:="org.junit.internal.runners.model,org.junit. internal.runners,org.junit.runner,org.junit.internal,org.junit";version ="4.11",org.junit.internal.runners.statements;uses:="org.junit.internal ,org.junit.runners.model";version="4.11",junit.runner;uses:="junit.fram ework";version="4.11",junit.textui;uses:="junit.framework,junit.runner" ;version="4.11",junit.extensions;uses:="junit.framework";version="4.11" ,junit.framework;uses:="org.junit.runner.manipulation,org.junit.runner, org.junit.runner.notification,org.junit,org.junit.internal";version="4. 11" Import-Package: org.hamcrest;version="1.3",org.hamcrest.core;version="1. 3" debian/junit4-doc.doc-base.10000644000000000000000000000040311760473334012711 0ustar Document: junit4-api Title: API Javadoc for JUnit 4.x Author: JUnit developers Abstract: This is the API Javadoc provided by the JUnit library. Section: Programming Format: HTML Index: /usr/share/doc/junit4/api/index.html Files: /usr/share/doc/junit4/api/* debian/orig-tar.sh0000755000000000000000000000113412131677770011263 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' VERSION=$2 DIR=junit4-$VERSION TAR=../junit4_$VERSION.orig.tar.gz ORIG_TAR=$3 #rm -f $3 #wget -O $TAR http://github.com/KentBeck/junit/archive/r$VERSION # clean up the upstream tarball mkdir $DIR tar -x -v -z -f $ORIG_TAR rm $ORIG_TAR find . -maxdepth 2 -wholename "./junit-*/*" -exec mv '{}' $DIR \; GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR junit-* # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/ant.properties0000755000000000000000000000013212131677770012100 0ustar hamcrestlib=/usr/share/java/hamcrest-core.jar manifest=debian/MANIFEST.MF version-status= debian/source/0000755000000000000000000000000012144615203010464 5ustar debian/source/format0000644000000000000000000000001411760473333011703 0ustar 3.0 (quilt) debian/junit4-doc.links0000644000000000000000000000020211760473334012212 0ustar /usr/share/doc/junit4/api /usr/share/doc/junit4-doc/javadoc_40 /usr/share/doc/junit4/api /usr/share/doc/junit4-doc/doc/javadoc_40 debian/orig-tar.exclude0000644000000000000000000000003311760473334012271 0ustar *.jar *.zip apache-maven debian/compat0000644000000000000000000000000211760473334010374 0ustar 7 debian/copyright0000644000000000000000000002771611760473334011146 0ustar This is Debian's junit4 package, initially packaged by Florian Weimer on 2007-04-24. The sources JAR has been downloaded from http://prdownloads.sourceforge.net/junit/ Copyright 2001-2009 Kent Beck Copyright 2000-2009 Erich Gamma Copyright 2006-2009 David Saff JUnit 4 is covered by the IBM Common Public License, as reproduced below. 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. [S::S] [S::S]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. debian/junit4.poms0000644000000000000000000000003311760473334011307 0ustar debian/pom.xml --no-parent debian/control0000644000000000000000000000357612131677770010617 0ustar Source: junit4 Section: java Maintainer: Debian Java Maintainers Uploaders: Florian Weimer , Varun Hiremath , Damien Raude-Morvan , Ludovic Claude , Jakub Adam , Emmanuel Bourg Priority: optional Build-Depends: ant, cdbs, debhelper (>= 7), default-jdk Build-Depends-Indep: default-jdk-doc, libhamcrest-java (>= 1.3), libhamcrest-java-doc, maven-repo-helper Standards-Version: 3.9.4 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/junit4/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/junit4/ Homepage: http://www.junit.org/ Package: junit4 Architecture: all Depends: default-jre-headless | java5-runtime-headless, libhamcrest-java, ${misc:Depends} Description: JUnit regression test framework for Java JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. . JUnit 4 uses Java 5 features such as generics and annotations. If you need compatibility with previous Java versions, you should use the junit package (version 3) instead. Package: junit4-doc Architecture: all Section: doc Depends: ${misc:Depends} Recommends: default-jdk-doc, libhamcrest-java-doc Suggests: junit4 Description: JUnit regression test framework for Java - documentation JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. . JUnit 4 uses Java 5 features such as generics and annotations. If you need compatibility with previous Java versions, you should use the junit package (version 3) instead. . This package contains Javadoc API documentation of JUnit 4. debian/junit4-doc.doc-base.20000644000000000000000000000043511760473334012717 0ustar Document: junit4-doc Title: Manual for JUnit 4.x Author: JUnit developers Abstract: This is the manual of JUnit 4, a framework for unit testing on Java 5 and better. Section: Programming Format: HTML Index: /usr/share/doc/junit4-doc/homepage.html Files: /usr/share/doc/junit4-doc/*