This module can be used to test that you're logging the right

thing with Log::Log4perl. It checks that we get what, and only
what, we expect logged by your code.

WWW: http://search.cpan.org/dist/Test-Log4perl/
This commit is contained in:
Cheng-Lung Sung 2007-08-27 01:50:15 +00:00
parent c90be8bb7f
commit c2dc0d63ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198342
5 changed files with 47 additions and 0 deletions

View file

@ -1559,6 +1559,7 @@
SUBDIR += p5-Test-Inline
SUBDIR += p5-Test-JSON
SUBDIR += p5-Test-LectroTest
SUBDIR += p5-Test-Log4perl
SUBDIR += p5-Test-LongString
SUBDIR += p5-Test-Manifest
SUBDIR += p5-Test-MockModule

View file

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Test-Log4perl
# Date created: August 27, 2007
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-Log4perl
PORTVERSION= 0.1001
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Test::Log4perl - test Log::Log4perl
BUILD_DEPENDS= ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \
${SITE_PERL}/Lingua/EN/Numbers/Ordinate.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Numbers-Ordinate \
${SITE_PERL}/Class/Accessor/Chained.pm:${PORTSDIR}/devel/p5-Class-Accessor-Chained \
${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Test::Log4perl.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500702
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (Test-Log4perl-0.1001.tar.gz) = 0100dc0cab90bbcc476de9da29c59018
SHA256 (Test-Log4perl-0.1001.tar.gz) = 4b0444bd849db5b246841a6109475725c46b7b6daa8a9a242d5ed6b7e1cc8e94
SIZE (Test-Log4perl-0.1001.tar.gz) = 9394

View file

@ -0,0 +1,5 @@
This module can be used to test that you're logging the right
thing with Log::Log4perl. It checks that we get what, and only
what, we expect logged by your code.
WWW: http://search.cpan.org/dist/Test-Log4perl/

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/Test/Log4perl.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Log4perl/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Log4perl
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
@dirrmtry %%SITE_PERL%%/Test