pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-SubCalls Import p5-Test-SubCalls version...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62bfede4217c
branches:  trunk
changeset: 545734:62bfede4217c
user:      he <he%pkgsrc.org@localhost>
date:      Mon Aug 11 14:18:59 2008 +0000

description:
Import p5-Test-SubCalls version 1.07.

There are a number of different situations (like testing cacheing
code) where you want to want to do a number of tests, and then
verify that some underlying subroutine deep within the code was
called a specific number of times.

This module provides a number of functions for doing testing in
this way in association with your normal Test::More (or similar)
test scripts.

diffstat:

 devel/p5-Test-SubCalls/DESCR    |   8 ++++++++
 devel/p5-Test-SubCalls/Makefile |  20 ++++++++++++++++++++
 devel/p5-Test-SubCalls/distinfo |   5 +++++
 3 files changed, 33 insertions(+), 0 deletions(-)

diffs (45 lines):

diff -r e0f304f6b113 -r 62bfede4217c devel/p5-Test-SubCalls/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-SubCalls/DESCR      Mon Aug 11 14:18:59 2008 +0000
@@ -0,0 +1,8 @@
+There are a number of different situations (like testing cacheing
+code) where you want to want to do a number of tests, and then
+verify that some underlying subroutine deep within the code was
+called a specific number of times.
+
+This module provides a number of functions for doing testing in
+this way in association with your normal Test::More (or similar)
+test scripts.
diff -r e0f304f6b113 -r 62bfede4217c devel/p5-Test-SubCalls/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-SubCalls/Makefile   Mon Aug 11 14:18:59 2008 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/11 14:18:59 he Exp $
+
+DISTNAME=      Test-SubCalls-1.07
+PKGNAME=       p5-${DISTNAME}
+SVR4_PKGNAME=  p5tsc
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Test-SubCalls/
+COMMENT=       Perl5 module to track the number of times subs are called
+
+DEPENDS+=      p5-Hook-LexWrap>=0.20:../../devel/p5-Hook-LexWrap
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_PACKLIST=        auto/Test/SubCalls/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e0f304f6b113 -r 62bfede4217c devel/p5-Test-SubCalls/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-SubCalls/distinfo   Mon Aug 11 14:18:59 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/08/11 14:18:59 he Exp $
+
+SHA1 (Test-SubCalls-1.07.tar.gz) = a3f7bb0509ec14e3e2cc762323d7fbcb9f5bee24
+RMD160 (Test-SubCalls-1.07.tar.gz) = c9793ac77cc9a138ff04fdd9f60f44120a9cb50b
+Size (Test-SubCalls-1.07.tar.gz) = 22006 bytes



Home | Main Index | Thread Index | Old Index