summaryrefslogtreecommitdiff
path: root/java/junit
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-11-03 17:49:59 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-11-03 17:49:59 +0000
commit48fceb85cf32a2521dedc0c7634a5f86c593515a (patch)
tree5af0b7d80d4c1e0a2f995c375fd6ac28b03c4bd0 /java/junit
parentUpdate to 3.1. (diff)
Add JUnit, a regression testing utility for use with the Java(TM)
Language. PR: ports/22578 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
Notes
Notes: svn path=/head/; revision=34771
Diffstat (limited to 'java/junit')
-rw-r--r--java/junit/Makefile50
-rw-r--r--java/junit/distinfo1
-rw-r--r--java/junit/pkg-comment1
-rw-r--r--java/junit/pkg-descr6
-rw-r--r--java/junit/pkg-message39
-rw-r--r--java/junit/pkg-plist185
6 files changed, 282 insertions, 0 deletions
diff --git a/java/junit/Makefile b/java/junit/Makefile
new file mode 100644
index 000000000000..643d51b95685
--- /dev/null
+++ b/java/junit/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: JUnit
+# Date created: Jun 15 1999
+# Whom: OKAZAKI Tetsurou
+#
+# $FreeBSD$
+#
+
+PORTNAME= junit
+PORTVERSION= 3.2
+CATEGORIES= java devel
+MASTER_SITES= http://www.xprogramming.com/ftp/TestingFramework/JUnit/
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
+
+MAINTAINER= okazaki@be.to
+
+RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
+
+JDK_VERSION?= 1.1.8
+
+.if ${JDK_VERSION} == "1.1.8"
+RUN_DEPENDS+= ${LOCALBASE}/share/java/classes/jfc-1.1.1/swing.jar:${PORTSDIR}/java/jfc
+.endif
+
+FIND?= /usr/bin/find
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
+JUNIT_SUBDIR= ${PORTNAME}-${PORTVERSION}
+JUNIT_DESTDIR= ${PREFIX}/share/java/${JUNIT_SUBDIR}
+
+PLIST_SUB= JUNIT_SUBDIR=${JUNIT_SUBDIR}
+DATADIRS= doc javadoc junit vaj
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/java/classes ${JUNIT_DESTDIR}
+ cd ${INSTALL_WRKSRC}; \
+ ${INSTALL_DATA} junit.jar ${PREFIX}/share/java/classes; \
+ ${INSTALL_DATA} README.html ${JUNIT_DESTDIR}; \
+ ${INSTALL_DATA} src.zip ${JUNIT_DESTDIR}
+.if defined(DATADIRS)
+.for DIR in ${DATADIRS}
+ cd ${INSTALL_WRKSRC}; \
+ ${FIND} ${DIR} -type d -exec ${MKDIR} ${JUNIT_DESTDIR}/\{} \; ;\
+ ${FIND} ${DIR} -type f -exec ${INSTALL_DATA} \{} ${JUNIT_DESTDIR}/\{} \;
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/java/junit/distinfo b/java/junit/distinfo
new file mode 100644
index 000000000000..490af5326862
--- /dev/null
+++ b/java/junit/distinfo
@@ -0,0 +1 @@
+MD5 (junit32.zip) = b067780134954c5b15ffcc1b3c10327f
diff --git a/java/junit/pkg-comment b/java/junit/pkg-comment
new file mode 100644
index 000000000000..c2f0dfd83473
--- /dev/null
+++ b/java/junit/pkg-comment
@@ -0,0 +1 @@
+A regression testing utility for use with the Java(TM) Language
diff --git a/java/junit/pkg-descr b/java/junit/pkg-descr
new file mode 100644
index 000000000000..116c1f3ba68a
--- /dev/null
+++ b/java/junit/pkg-descr
@@ -0,0 +1,6 @@
+This is a port of JUnit, a simple testing framework for Java developed
+by Erich Gamma and Kent Beck. Using JUnit you can build a test suite
+that will help you measure your progress, spot unintended side
+effects, and focus your development efforts.
+
+WWW: http://www.junit.org/
diff --git a/java/junit/pkg-message b/java/junit/pkg-message
new file mode 100644
index 000000000000..f09d446f8acb
--- /dev/null
+++ b/java/junit/pkg-message
@@ -0,0 +1,39 @@
+License Agreement
+
+Permission to reproduce and create derivative works from
+the Software ("Software Derivative Works") is hereby granted to you under
+the copyrights of&nbsp; Kent Beck and Erich Gamma.&nbsp; Kent Beck and
+Erich Gamma also grants you the right to distribute the Software and Software
+Derivative Works.
+
+Kent Beck and Erich Gamma licenses the Software to you on an "AS IS"
+basis, without warranty of any kind.&nbsp; Kent Beck and Erich Gamma HEREBY
+EXPRESSLY DISCLAIMS ALL WARRANTIES OR CONDITIONS, EITHER EXPRESS OR IMPLIED,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
+MERCHANTABILITY, NON INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
+You are solely responsible for determining the appropriateness of using
+the Software and assume all risks associated with the use and distribution
+of this Software, including but not limited to the risks of program errors,
+damage to or loss of data, programs or equipment, and unavailability or
+interruption of operations.&nbsp; KENT BECK AND ERICH GAMMA WILL NOT BE
+LIABLE FOR ANY DIRECT DAMAGES OR FOR ANY SPECIAL, INCIDENTAL, OR INDIRECT
+DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS
+OR SAVINGS), EVEN IF KENT BECK AND ERICH GAMMA HAD BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE. Kent Beck and Erich Gamma will not be
+liable for the loss of, or damage to, your records or data, or any damages
+claimed by you based on a third party claim.
+
+You agree to distribute the Software and any Software Derivatives under
+a license agreement that: 1) is sufficient to notify all licensees of the
+Software and Software Derivatives that Kent Beck and Erich Gamma assumes
+no liability for any claim that may arise regarding the Software or Software
+Derivatives, and 2) that disclaims all warranties, both express and implied,
+from Kent Beck and Erich Gamma regarding the Software and Software Derivatives.
+(If you include this Agreement with any distribution of the Software and
+Software Derivatives you will have meet this requirement). You agree
+that you will not delete any copyright notices in the Software.
+
+This Agreement is the exclusive statement of your rights in the Software
+as provided by Kent Beck and Erich Gamma. Except for the licenses
+granted to you in the second paragraph above, no other licenses are granted
+hereunder, by estoppel, implication or otherwise.
diff --git a/java/junit/pkg-plist b/java/junit/pkg-plist
new file mode 100644
index 000000000000..591a7e20010b
--- /dev/null
+++ b/java/junit/pkg-plist
@@ -0,0 +1,185 @@
+share/java/classes/junit.jar
+share/java/%%JUNIT_SUBDIR%%/README.html
+share/java/%%JUNIT_SUBDIR%%/doc/changes21.html
+share/java/%%JUNIT_SUBDIR%%/doc/cookbook/IMG00001.GIF
+share/java/%%JUNIT_SUBDIR%%/doc/cookbook/IMG00002.GIF
+share/java/%%JUNIT_SUBDIR%%/doc/cookbook/cookbook.htm
+share/java/%%JUNIT_SUBDIR%%/doc/cookbook/logo.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image1.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image2.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image3.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image4.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image5.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image6.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/Image7.gif
+share/java/%%JUNIT_SUBDIR%%/doc/cookstour/cookstour.htm
+share/java/%%JUNIT_SUBDIR%%/doc/faq/faq.htm
+share/java/%%JUNIT_SUBDIR%%/doc/license.htm
+share/java/%%JUNIT_SUBDIR%%/doc/testinfected/IMG00001.GIF
+share/java/%%JUNIT_SUBDIR%%/doc/testinfected/IMG00002.GIF
+share/java/%%JUNIT_SUBDIR%%/doc/testinfected/IMG00003.GIF
+share/java/%%JUNIT_SUBDIR%%/doc/testinfected/logo.gif
+share/java/%%JUNIT_SUBDIR%%/doc/testinfected/testing.htm
+share/java/%%JUNIT_SUBDIR%%/doc/vaj/vaj.htm
+share/java/%%JUNIT_SUBDIR%%/javadoc/allclasses-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/deprecated-list.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/help-doc.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/index-all.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/index.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/ActiveTest.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/ExceptionTestCase.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/RepeatedTest.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/TestDecorator.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/TestSetup.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/package-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/package-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions/package-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/Assert.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/AssertionFailedError.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/Protectable.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/Test.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/TestCase.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/TestFailure.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/TestListener.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/TestResult.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/TestSuite.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/package-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/package-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework/package-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/swingui/LoadingTestRunner.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/swingui/TestRunner.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/swingui/package-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/swingui/package-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/swingui/package-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/textui/TestRunner.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/textui/package-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/textui/package-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/textui/package-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/ui/LoadingTestRunner.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/ui/TestRunner.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/ui/package-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/ui/package-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/ui/package-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/ReloadingTestSuiteLoader.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/StandardTestSuiteLoader.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/StringUtil.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/TestCaseClassLoader.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/TestSuiteLoader.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/Version.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/package-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/package-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util/package-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/overview-frame.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/overview-summary.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/overview-tree.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/package-list
+share/java/%%JUNIT_SUBDIR%%/javadoc/packages.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/serialized-form.html
+share/java/%%JUNIT_SUBDIR%%/javadoc/stylesheet.css
+share/java/%%JUNIT_SUBDIR%%/junit/samples/AllTests.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/AllTests.java
+share/java/%%JUNIT_SUBDIR%%/junit/samples/SimpleTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/SimpleTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/samples/VectorTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/VectorTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/IMoney.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/IMoney.java
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/Money.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/Money.java
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/MoneyBag.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/MoneyBag.java
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/MoneyTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/samples/money/MoneyTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/AllTests.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/AllTests.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ClassLoaderTestCase.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ClassLoaderTestCase.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest$1.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest$2.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest$3.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest$4.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest$5.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExceptionTestCaseTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest$1.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest$2.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest$3.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest$4.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest$5.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest$TornDown.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ExtensionTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/InheritedTestCase.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/InheritedTestCase.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NoTestCaseClass.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NoTestCaseClass.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NoTestCases.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NoTestCases.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NotPublicTestCase.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NotPublicTestCase.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NotVoidTestCase.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/NotVoidTestCase.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/OneTestCase.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/OneTestCase.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/OverrideTestCase.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/OverrideTestCase.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/SuiteTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/SuiteTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestListenerTest$1.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestListenerTest$2.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestListenerTest$3.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestListenerTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestListenerTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$1.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$10.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$11.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$12.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$13.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$14.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$2.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$3.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$4.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$5.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$6.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$7.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$8.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$9.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest$TornDown.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTestCaseClassLoader.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/TestTestCaseClassLoader.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ThreadTest$1.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ThreadTest$2.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ThreadTest$3.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ThreadTest$4.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ThreadTest.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/ThreadTest.java
+share/java/%%JUNIT_SUBDIR%%/junit/tests/WasRun.class
+share/java/%%JUNIT_SUBDIR%%/junit/tests/WasRun.java
+share/java/%%JUNIT_SUBDIR%%/src.zip
+share/java/%%JUNIT_SUBDIR%%/vaj/tools/test-ui/default.ini
+@dirrm share/java/%%JUNIT_SUBDIR%%/doc/cookbook
+@dirrm share/java/%%JUNIT_SUBDIR%%/doc/cookstour
+@dirrm share/java/%%JUNIT_SUBDIR%%/doc/faq
+@dirrm share/java/%%JUNIT_SUBDIR%%/doc/testinfected
+@dirrm share/java/%%JUNIT_SUBDIR%%/doc/vaj
+@dirrm share/java/%%JUNIT_SUBDIR%%/doc
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit/extensions
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit/framework
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit/swingui
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit/textui
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit/ui
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit/util
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc/junit
+@dirrm share/java/%%JUNIT_SUBDIR%%/javadoc
+@dirrm share/java/%%JUNIT_SUBDIR%%/junit/samples/money
+@dirrm share/java/%%JUNIT_SUBDIR%%/junit/samples
+@dirrm share/java/%%JUNIT_SUBDIR%%/junit/tests
+@dirrm share/java/%%JUNIT_SUBDIR%%/junit
+@dirrm share/java/%%JUNIT_SUBDIR%%/vaj/tools/test-ui
+@dirrm share/java/%%JUNIT_SUBDIR%%/vaj/tools
+@dirrm share/java/%%JUNIT_SUBDIR%%/vaj
+@dirrm share/java/%%JUNIT_SUBDIR%%
+@unexec rmdir %D/share/java/classes 2>/dev/null || true
+@unexec rmdir %D/share/java 2>/dev/null || true