Environment/Plugin/Apache2.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Environment/Plugin/Apache2/Apache2/RequestRec.pm ↑ Summary
1 package Test::Environment::Plugin::Apache2;
2  
3 =head1 NAME
4  
5 Test::Environment::Plugin::Apache2 - mock Apache2 modules to test mod_perl2 handlers
6  
7 =head1 SYNOPSIS
8  
9 use Test::Environment qw{
10 Apache2
11 };
12  
13  
14 =head1 DESCRIPTION
15  
16 This module will just sets:
17  
18 unshift @INC, File::Spec->catdir(File::Basename::dirname(__FILE__), 'Apache');
19  
20 So that the mock Apache2 modules are found and loaded from there. No need to
21 have following modules in order to test L<mod_perl2> handlers.
22  
23 L<Test::Environment::Plugin::Apache2::Apache2::Filter> (L<Apache2::Filter>),
24 L<Test::Environment::Plugin::Apache2::Apache2::Log> (L<Apache2::Log>),
25 L<Test::Environment::Plugin::Apache2::Apache2::RequestRec> (L<Apache2::RequestRec>)
26  
27 =cut
28  
29 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
30 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
31  
32 1 our $VERSION = "0.07";
33  
34 1 ▶use File::Basename qw();
Subroutine BEGIN: called CC=1 SCAR=0.0
35 1 ▶use File::Spec qw();
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 1 unshift @INC, File::Spec->catdir(File::Basename::dirname(__FILE__), 'Apache2');
38  
39 1 1;
40  
41  
42 __END__
« Environment/Plugin/Apache2/Apache2/RequestRec.pm ↑ Summary