mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Add pear-PHPUnit2 2.0.2, regression testing framework for unit tests.
PR: 71523 Submitted by: Antônio Carlos Venâncio Júnior
This commit is contained in:
parent
fa2b68c8c2
commit
8cc2663617
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119725
@ -1066,6 +1066,7 @@
|
||||
SUBDIR += pear-OLE
|
||||
SUBDIR += pear-PEAR
|
||||
SUBDIR += pear-PHPUnit
|
||||
SUBDIR += pear-PHPUnit2
|
||||
SUBDIR += pear-VFS
|
||||
SUBDIR += pear-Validate
|
||||
SUBDIR += pear-XML_Parser
|
||||
|
68
devel/pear-PHPUnit2/Makefile
Normal file
68
devel/pear-PHPUnit2/Makefile
Normal file
@ -0,0 +1,68 @@
|
||||
# Ports collection makefile for: pear-PHPUnit2
|
||||
# Date created: 09 September 2004
|
||||
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PHPUnit2
|
||||
PORTVERSION= 2.0.2
|
||||
CATEGORIES= devel www pear
|
||||
|
||||
MAINTAINER= antonio@php.net
|
||||
COMMENT= Regression testing framework for unit tests
|
||||
|
||||
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
.if !defined(WITHOUT_BENCHMARK)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/Benchmark/Timer.php:${PORTSDIR}/benchmarks/pear-Benchmark
|
||||
.endif
|
||||
|
||||
NO_PACKAGE= Conflicting dependences between PHP4 and PHP5
|
||||
|
||||
USE_PHP= yes
|
||||
DEFAULT_PHP_VER=5
|
||||
BROKEN_WITH_PHP=4
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
CATEGORY= PHPUnit2
|
||||
FILES= Extensions/RepeatedTest.php Extensions/TestDecorator.php \
|
||||
Extensions/TestSetup.php Extensions/ExceptionTestCase.php \
|
||||
Framework/ComparisonFailure.php Framework/IncompleteTest.php \
|
||||
Framework/IncompleteTestError.php Framework/Test.php \
|
||||
Framework/TestCase.php Framework/TestFailure.php \
|
||||
Framework/TestListener.php Framework/TestResult.php \
|
||||
Framework/TestSuite.php Framework/Warning.php Framework/Assert.php \
|
||||
Framework/AssertionFailedError.php Runner/TestCollector.php \
|
||||
Runner/TestRunListener.php Runner/TestSuiteLoader.php \
|
||||
Runner/Version.php Runner/BaseTestRunner.php \
|
||||
Runner/StandardTestSuiteLoader.php Tests/Framework/AssertTest.php \
|
||||
Tests/Framework/SuiteTest.php Tests/Framework/TestCaseTest.php \
|
||||
Tests/Framework/TestImplementorTest.php \
|
||||
Tests/Framework/TestListenerTest.php Tests/Framework/AllTests.php \
|
||||
Tests/Framework/ComparisonFailureTest.php \
|
||||
Tests/Extensions/ExtensionTest.php \
|
||||
Tests/Extensions/RepeatedTestTest.php Tests/Extensions/AllTests.php \
|
||||
Tests/Extensions/ExceptionTestCaseTest.php Tests/Runner/AllTests.php \
|
||||
Tests/Runner/BaseTestRunnerTest.php Tests/DoubleTestCase.php \
|
||||
Tests/Error.php Tests/Failure.php Tests/InheritedTestCase.php \
|
||||
Tests/MockRunner.php Tests/NoArgTestCaseTest.php Tests/NonStatic.php \
|
||||
Tests/NoTestCaseClass.php Tests/NoTestCases.php \
|
||||
Tests/NotPublicTestCase.php Tests/NotVoidTestCase.php \
|
||||
Tests/OneTestCase.php Tests/OverrideTestCase.php Tests/SetupFailure.php \
|
||||
Tests/Success.php Tests/TearDownFailure.php \
|
||||
Tests/ThrowExceptionTestCase.php Tests/ThrowNoExceptionTestCase.php \
|
||||
Tests/TornDown.php Tests/TornDown2.php Tests/TornDown3.php \
|
||||
Tests/TornDown4.php Tests/TornDown5.php Tests/WasRun.php \
|
||||
Tests/AllTests.php TextUI/TestRunner.php TextUI/ResultPrinter.php \
|
||||
Util/Printer.php Util/Filter.php
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Runner/Version.php
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/pear-PHPUnit2/distinfo
Normal file
2
devel/pear-PHPUnit2/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (PEAR/PHPUnit2-2.0.2.tgz) = 17755636fb94908eac364f643b4479ab
|
||||
SIZE (PEAR/PHPUnit2-2.0.2.tgz) = 22187
|
5
devel/pear-PHPUnit2/pkg-descr
Normal file
5
devel/pear-PHPUnit2/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
PHPUnit is a regression testing framework used by the developer
|
||||
who implements unit tests in PHP. It is based upon JUnit, which
|
||||
can be found at http://www.junit.org/.
|
||||
|
||||
WWW: http://pear.php.net/package/PHPUnit2/
|
68
devel/pear-PHPUnit3/Makefile
Normal file
68
devel/pear-PHPUnit3/Makefile
Normal file
@ -0,0 +1,68 @@
|
||||
# Ports collection makefile for: pear-PHPUnit2
|
||||
# Date created: 09 September 2004
|
||||
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PHPUnit2
|
||||
PORTVERSION= 2.0.2
|
||||
CATEGORIES= devel www pear
|
||||
|
||||
MAINTAINER= antonio@php.net
|
||||
COMMENT= Regression testing framework for unit tests
|
||||
|
||||
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
.if !defined(WITHOUT_BENCHMARK)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/Benchmark/Timer.php:${PORTSDIR}/benchmarks/pear-Benchmark
|
||||
.endif
|
||||
|
||||
NO_PACKAGE= Conflicting dependences between PHP4 and PHP5
|
||||
|
||||
USE_PHP= yes
|
||||
DEFAULT_PHP_VER=5
|
||||
BROKEN_WITH_PHP=4
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
CATEGORY= PHPUnit2
|
||||
FILES= Extensions/RepeatedTest.php Extensions/TestDecorator.php \
|
||||
Extensions/TestSetup.php Extensions/ExceptionTestCase.php \
|
||||
Framework/ComparisonFailure.php Framework/IncompleteTest.php \
|
||||
Framework/IncompleteTestError.php Framework/Test.php \
|
||||
Framework/TestCase.php Framework/TestFailure.php \
|
||||
Framework/TestListener.php Framework/TestResult.php \
|
||||
Framework/TestSuite.php Framework/Warning.php Framework/Assert.php \
|
||||
Framework/AssertionFailedError.php Runner/TestCollector.php \
|
||||
Runner/TestRunListener.php Runner/TestSuiteLoader.php \
|
||||
Runner/Version.php Runner/BaseTestRunner.php \
|
||||
Runner/StandardTestSuiteLoader.php Tests/Framework/AssertTest.php \
|
||||
Tests/Framework/SuiteTest.php Tests/Framework/TestCaseTest.php \
|
||||
Tests/Framework/TestImplementorTest.php \
|
||||
Tests/Framework/TestListenerTest.php Tests/Framework/AllTests.php \
|
||||
Tests/Framework/ComparisonFailureTest.php \
|
||||
Tests/Extensions/ExtensionTest.php \
|
||||
Tests/Extensions/RepeatedTestTest.php Tests/Extensions/AllTests.php \
|
||||
Tests/Extensions/ExceptionTestCaseTest.php Tests/Runner/AllTests.php \
|
||||
Tests/Runner/BaseTestRunnerTest.php Tests/DoubleTestCase.php \
|
||||
Tests/Error.php Tests/Failure.php Tests/InheritedTestCase.php \
|
||||
Tests/MockRunner.php Tests/NoArgTestCaseTest.php Tests/NonStatic.php \
|
||||
Tests/NoTestCaseClass.php Tests/NoTestCases.php \
|
||||
Tests/NotPublicTestCase.php Tests/NotVoidTestCase.php \
|
||||
Tests/OneTestCase.php Tests/OverrideTestCase.php Tests/SetupFailure.php \
|
||||
Tests/Success.php Tests/TearDownFailure.php \
|
||||
Tests/ThrowExceptionTestCase.php Tests/ThrowNoExceptionTestCase.php \
|
||||
Tests/TornDown.php Tests/TornDown2.php Tests/TornDown3.php \
|
||||
Tests/TornDown4.php Tests/TornDown5.php Tests/WasRun.php \
|
||||
Tests/AllTests.php TextUI/TestRunner.php TextUI/ResultPrinter.php \
|
||||
Util/Printer.php Util/Filter.php
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Runner/Version.php
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/pear-PHPUnit3/distinfo
Normal file
2
devel/pear-PHPUnit3/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (PEAR/PHPUnit2-2.0.2.tgz) = 17755636fb94908eac364f643b4479ab
|
||||
SIZE (PEAR/PHPUnit2-2.0.2.tgz) = 22187
|
5
devel/pear-PHPUnit3/pkg-descr
Normal file
5
devel/pear-PHPUnit3/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
PHPUnit is a regression testing framework used by the developer
|
||||
who implements unit tests in PHP. It is based upon JUnit, which
|
||||
can be found at http://www.junit.org/.
|
||||
|
||||
WWW: http://pear.php.net/package/PHPUnit2/
|
Loading…
Reference in New Issue
Block a user