Initial import of junit-3.7.

JUnit is a simple framework to write repeatable tests.
It is an instance of the xUnit architecture for unit testing frameworks.
It will help you measure your progress, spot unintended side effects,
and focus your development efforts.
This commit is contained in:
kevlo 2001-09-14 05:58:19 +00:00
parent 2d16c15b7e
commit 8b37c99602
4 changed files with 216 additions and 0 deletions

40
java/junit/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/14 05:58:19 kevlo Exp $
COMMENT= "regression testing utility for use with the Java language"
ONLY_FOR_ARCHS= i386
JDK_VERSION= 1.2-blackdown
VERSION= 3.7
DISTNAME= junit${VERSION}
PKGNAME= junit-${VERSION}
CATEGORIES= java
NEED_VERSION= 1.454
HOMEPAGE= http://www.junit.org/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= junit
EXTRACT_SUFX= .zip
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java::devel/jdk/1.2-blackdown
NO_BUILD= Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/java/classes/${PKGNAME}
${INSTALL_DATA_DIR} ${PREFIX}/share/java/${PKGNAME}
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/java/${PKGNAME}
cp ${WRKSRC}/*.jar ${PREFIX}/share/java/classes/${PKGNAME}
cp -R ${WRKSRC}/doc ${PREFIX}/share/java/${PKGNAME}
cp -R ${WRKSRC}/javadoc ${PREFIX}/share/java/${PKGNAME}
cp -R ${WRKSRC}/junit ${PREFIX}/share/java/${PKGNAME}
.include <bsd.port.mk>

3
java/junit/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (junit3.7.zip) = ff5816f35fa99bc4347af65fb40d86c9
RMD160 (junit3.7.zip) = fd6d78143222f98029ce7a70f367592bbc05b77f
SHA1 (junit3.7.zip) = 42beaabbb4a321288f90e36adf0dcc05a255dda4

6
java/junit/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
JUnit is a simple framework to write repeatable tests.
It is an instance of the xUnit architecture for unit testing frameworks.
It will help you measure your progress, spot unintended side effects,
and focus your development efforts.
WWW: ${HOMEPAGE}

167
java/junit/pkg/PLIST Normal file
View File

@ -0,0 +1,167 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/14 05:58:19 kevlo Exp $
share/java/classes/junit-3.7/junit.jar
share/java/classes/junit-3.7/src.jar
share/java/junit-3.7/README.html
share/java/junit-3.7/doc/JUnitProperties.html
share/java/junit-3.7/doc/changes21.html
share/java/junit-3.7/doc/changes34.html
share/java/junit-3.7/doc/cookbook/IMG00001.GIF
share/java/junit-3.7/doc/cookbook/IMG00002.GIF
share/java/junit-3.7/doc/cookbook/cookbook.htm
share/java/junit-3.7/doc/cookbook/logo.gif
share/java/junit-3.7/doc/cookstour/Image1.gif
share/java/junit-3.7/doc/cookstour/Image2.gif
share/java/junit-3.7/doc/cookstour/Image3.gif
share/java/junit-3.7/doc/cookstour/Image4.gif
share/java/junit-3.7/doc/cookstour/Image5.gif
share/java/junit-3.7/doc/cookstour/Image6.gif
share/java/junit-3.7/doc/cookstour/Image7.gif
share/java/junit-3.7/doc/cookstour/cookstour.htm
share/java/junit-3.7/doc/faq/faq.htm
share/java/junit-3.7/doc/testinfected/IMG00001.GIF
share/java/junit-3.7/doc/testinfected/IMG00002.GIF
share/java/junit-3.7/doc/testinfected/IMG00003.GIF
share/java/junit-3.7/doc/testinfected/logo.gif
share/java/junit-3.7/doc/testinfected/testing.htm
share/java/junit-3.7/javadoc/allclasses-frame.html
share/java/junit-3.7/javadoc/deprecated-list.html
share/java/junit-3.7/javadoc/help-doc.html
share/java/junit-3.7/javadoc/index-all.html
share/java/junit-3.7/javadoc/index.html
share/java/junit-3.7/javadoc/junit/extensions/ActiveTestSuite.html
share/java/junit-3.7/javadoc/junit/extensions/ExceptionTestCase.html
share/java/junit-3.7/javadoc/junit/extensions/RepeatedTest.html
share/java/junit-3.7/javadoc/junit/extensions/TestDecorator.html
share/java/junit-3.7/javadoc/junit/extensions/TestSetup.html
share/java/junit-3.7/javadoc/junit/extensions/package-frame.html
share/java/junit-3.7/javadoc/junit/extensions/package-summary.html
share/java/junit-3.7/javadoc/junit/extensions/package-tree.html
share/java/junit-3.7/javadoc/junit/framework/Assert.html
share/java/junit-3.7/javadoc/junit/framework/AssertionFailedError.html
share/java/junit-3.7/javadoc/junit/framework/Protectable.html
share/java/junit-3.7/javadoc/junit/framework/Test.html
share/java/junit-3.7/javadoc/junit/framework/TestCase.html
share/java/junit-3.7/javadoc/junit/framework/TestFailure.html
share/java/junit-3.7/javadoc/junit/framework/TestListener.html
share/java/junit-3.7/javadoc/junit/framework/TestResult.html
share/java/junit-3.7/javadoc/junit/framework/TestSuite.html
share/java/junit-3.7/javadoc/junit/framework/package-frame.html
share/java/junit-3.7/javadoc/junit/framework/package-summary.html
share/java/junit-3.7/javadoc/junit/framework/package-tree.html
share/java/junit-3.7/javadoc/overview-frame.html
share/java/junit-3.7/javadoc/overview-summary.html
share/java/junit-3.7/javadoc/overview-tree.html
share/java/junit-3.7/javadoc/package-list
share/java/junit-3.7/javadoc/packages.html
share/java/junit-3.7/javadoc/serialized-form.html
share/java/junit-3.7/javadoc/stylesheet.css
share/java/junit-3.7/junit/samples/AllTests.class
share/java/junit-3.7/junit/samples/AllTests.java
share/java/junit-3.7/junit/samples/SimpleTest.class
share/java/junit-3.7/junit/samples/SimpleTest.java
share/java/junit-3.7/junit/samples/VectorTest.class
share/java/junit-3.7/junit/samples/VectorTest.java
share/java/junit-3.7/junit/samples/money/IMoney.class
share/java/junit-3.7/junit/samples/money/IMoney.java
share/java/junit-3.7/junit/samples/money/Money.class
share/java/junit-3.7/junit/samples/money/Money.java
share/java/junit-3.7/junit/samples/money/MoneyBag.class
share/java/junit-3.7/junit/samples/money/MoneyBag.java
share/java/junit-3.7/junit/samples/money/MoneyTest.class
share/java/junit-3.7/junit/samples/money/MoneyTest.java
share/java/junit-3.7/junit/tests/ActiveTestTest$SuccessTest.class
share/java/junit-3.7/junit/tests/ActiveTestTest.class
share/java/junit-3.7/junit/tests/ActiveTestTest.java
share/java/junit-3.7/junit/tests/AllTests.class
share/java/junit-3.7/junit/tests/AllTests.java
share/java/junit-3.7/junit/tests/AssertTest.class
share/java/junit-3.7/junit/tests/AssertTest.java
share/java/junit-3.7/junit/tests/ClassLoaderTest.class
share/java/junit-3.7/junit/tests/ClassLoaderTest.java
share/java/junit-3.7/junit/tests/ExceptionTestCaseTest$ThrowExceptionTestCase.class
share/java/junit-3.7/junit/tests/ExceptionTestCaseTest$ThrowNoExceptionTestCase.class
share/java/junit-3.7/junit/tests/ExceptionTestCaseTest$ThrowRuntimeExceptionTestCase.class
share/java/junit-3.7/junit/tests/ExceptionTestCaseTest.class
share/java/junit-3.7/junit/tests/ExceptionTestCaseTest.java
share/java/junit-3.7/junit/tests/ExtensionTest$1.class
share/java/junit-3.7/junit/tests/ExtensionTest$2.class
share/java/junit-3.7/junit/tests/ExtensionTest$3.class
share/java/junit-3.7/junit/tests/ExtensionTest$4.class
share/java/junit-3.7/junit/tests/ExtensionTest$5.class
share/java/junit-3.7/junit/tests/ExtensionTest$TornDown.class
share/java/junit-3.7/junit/tests/ExtensionTest.class
share/java/junit-3.7/junit/tests/ExtensionTest.java
share/java/junit-3.7/junit/tests/Failure.class
share/java/junit-3.7/junit/tests/Failure.java
share/java/junit-3.7/junit/tests/InheritedTestCase.class
share/java/junit-3.7/junit/tests/InheritedTestCase.java
share/java/junit-3.7/junit/tests/LoadedFromJar.class
share/java/junit-3.7/junit/tests/LoadedFromJar.java
share/java/junit-3.7/junit/tests/NoTestCaseClass.class
share/java/junit-3.7/junit/tests/NoTestCaseClass.java
share/java/junit-3.7/junit/tests/NoTestCases.class
share/java/junit-3.7/junit/tests/NoTestCases.java
share/java/junit-3.7/junit/tests/NotPublicTestCase.class
share/java/junit-3.7/junit/tests/NotPublicTestCase.java
share/java/junit-3.7/junit/tests/NotVoidTestCase.class
share/java/junit-3.7/junit/tests/NotVoidTestCase.java
share/java/junit-3.7/junit/tests/OneTestCase.class
share/java/junit-3.7/junit/tests/OneTestCase.java
share/java/junit-3.7/junit/tests/OverrideTestCase.class
share/java/junit-3.7/junit/tests/OverrideTestCase.java
share/java/junit-3.7/junit/tests/RepeatedTestTest$SuccessTest.class
share/java/junit-3.7/junit/tests/RepeatedTestTest.class
share/java/junit-3.7/junit/tests/RepeatedTestTest.java
share/java/junit-3.7/junit/tests/SorterTest$Swapper.class
share/java/junit-3.7/junit/tests/SorterTest.class
share/java/junit-3.7/junit/tests/SorterTest.java
share/java/junit-3.7/junit/tests/StackFilterTest.class
share/java/junit-3.7/junit/tests/StackFilterTest.java
share/java/junit-3.7/junit/tests/Success.class
share/java/junit-3.7/junit/tests/Success.java
share/java/junit-3.7/junit/tests/SuiteTest.class
share/java/junit-3.7/junit/tests/SuiteTest.java
share/java/junit-3.7/junit/tests/TestCaseClassLoaderTest.class
share/java/junit-3.7/junit/tests/TestCaseClassLoaderTest.java
share/java/junit-3.7/junit/tests/TestCaseTest$1.class
share/java/junit-3.7/junit/tests/TestCaseTest$2.class
share/java/junit-3.7/junit/tests/TestCaseTest$3.class
share/java/junit-3.7/junit/tests/TestCaseTest$4.class
share/java/junit-3.7/junit/tests/TestCaseTest$5.class
share/java/junit-3.7/junit/tests/TestCaseTest$6.class
share/java/junit-3.7/junit/tests/TestCaseTest$7.class
share/java/junit-3.7/junit/tests/TestCaseTest$TornDown.class
share/java/junit-3.7/junit/tests/TestCaseTest.class
share/java/junit-3.7/junit/tests/TestCaseTest.java
share/java/junit-3.7/junit/tests/TestImplementorTest$1.class
share/java/junit-3.7/junit/tests/TestImplementorTest$2.class
share/java/junit-3.7/junit/tests/TestImplementorTest$DoubleTestCase.class
share/java/junit-3.7/junit/tests/TestImplementorTest.class
share/java/junit-3.7/junit/tests/TestImplementorTest.java
share/java/junit-3.7/junit/tests/TestListenerTest$1.class
share/java/junit-3.7/junit/tests/TestListenerTest$2.class
share/java/junit-3.7/junit/tests/TestListenerTest$3.class
share/java/junit-3.7/junit/tests/TestListenerTest.class
share/java/junit-3.7/junit/tests/TestListenerTest.java
share/java/junit-3.7/junit/tests/TextRunnerTest.class
share/java/junit-3.7/junit/tests/TextRunnerTest.java
share/java/junit-3.7/junit/tests/WasRun.class
share/java/junit-3.7/junit/tests/WasRun.java
share/java/junit-3.7/junit/tests/test.jar
@dirrm share/java/junit-3.7/junit/tests
@dirrm share/java/junit-3.7/junit/samples/money
@dirrm share/java/junit-3.7/junit/samples
@dirrm share/java/junit-3.7/junit
@dirrm share/java/junit-3.7/javadoc/junit/framework
@dirrm share/java/junit-3.7/javadoc/junit/extensions
@dirrm share/java/junit-3.7/javadoc/junit
@dirrm share/java/junit-3.7/javadoc
@dirrm share/java/junit-3.7/doc/testinfected
@dirrm share/java/junit-3.7/doc/faq
@dirrm share/java/junit-3.7/doc/cookstour
@dirrm share/java/junit-3.7/doc/cookbook
@dirrm share/java/junit-3.7/doc
@dirrm share/java/junit-3.7
@dirrm share/java/classes/junit-3.7
@unexec rmdir %D/share/java/classes || true
@unexec rmdir %D/share/java || true