summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-08-11 14:18:59 +0000
committerhe <he@pkgsrc.org>2008-08-11 14:18:59 +0000
commit81aac00be72e338bd3cb6cd5ea22c57c3b747e82 (patch)
tree43ddb655d06e821d734097cae2b4c8ee1ee5798f /devel
parentc8c3e04b14fbac54d0924411a2009f71ce8fd17f (diff)
downloadpkgsrc-81aac00be72e338bd3cb6cd5ea22c57c3b747e82.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/p5-Test-SubCalls/DESCR8
-rw-r--r--devel/p5-Test-SubCalls/Makefile20
-rw-r--r--devel/p5-Test-SubCalls/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-Test-SubCalls/DESCR b/devel/p5-Test-SubCalls/DESCR
new file mode 100644
index 00000000000..8aaaa76f122
--- /dev/null
+++ b/devel/p5-Test-SubCalls/DESCR
@@ -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 --git a/devel/p5-Test-SubCalls/Makefile b/devel/p5-Test-SubCalls/Makefile
new file mode 100644
index 00000000000..e3ed0bf530b
--- /dev/null
+++ b/devel/p5-Test-SubCalls/Makefile
@@ -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
+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 --git a/devel/p5-Test-SubCalls/distinfo b/devel/p5-Test-SubCalls/distinfo
new file mode 100644
index 00000000000..420bcc8a868
--- /dev/null
+++ b/devel/p5-Test-SubCalls/distinfo
@@ -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