import p5-p5-Test-MockObject-1.09

Perl extension for emulating troublesome interfaces.

Testing is a lot easier when you can control the entire environment.
With Test::MockObject, you can get a lot closer.

Test::MockObject allows you to create objects that conform to
particular interfaces with very little code. You don't have to
reimplement the behavior, just the input and the output.
This commit is contained in:
abs 2008-06-23 04:02:53 +00:00
parent ba2a02e5f5
commit 1c256ddbf4
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,8 @@
Perl extension for emulating troublesome interfaces.
Testing is a lot easier when you can control the entire environment.
With Test::MockObject, you can get a lot closer.
Test::MockObject allows you to create objects that conform to
particular interfaces with very little code. You don't have to
reimplement the behavior, just the input and the output.

View file

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1.1.1 2008/06/23 04:02:53 abs Exp $
DISTNAME= Test-MockObject-1.09
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Test-MockObject/
COMMENT= Tests remote URLs or local web files
BUILD_DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils
BUILD_DEPENDS+= p5-UNIVERSAL-can>=1.00:../../devel/p5-UNIVERSAL-can
BUILD_DEPENDS+= p5-UNIVERSAL-isa>=0.02:../../devel/p5-UNIVERSAL-isa
BUILD_DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-Test-Warn>=0:../../devel/p5-Test-Warn
INSTALL_TARGET= pure_install
PERL5_MODULE_TYPE= Module::Build
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Test/MockObject/.packlist
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2008/06/23 04:02:53 abs Exp $
SHA1 (Test-MockObject-1.09.tar.gz) = 65da2c1067184f31f906d6c12cd6870e740d8d44
RMD160 (Test-MockObject-1.09.tar.gz) = f79470e9df55febf28c7b105e231550f5e17606f
Size (Test-MockObject-1.09.tar.gz) = 21788 bytes