blib/lib/Mason/Test/RootClass/Request.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mason::Test::RootClass::Request; | ||||||
2 | $Mason::Test::RootClass::Request::VERSION = '2.23'; | ||||||
3 | 1 | 1 | 576 | use Moose; | |||
1 | 1 | ||||||
1 | 9 | ||||||
4 | extends 'Mason::Request'; | ||||||
5 | |||||||
6 | before 'run' => sub { | ||||||
7 | my ( $self, $path ) = @_; | ||||||
8 | print STDERR "starting request run - $path\n"; | ||||||
9 | }; | ||||||
10 | |||||||
11 | before 'comp' => sub { | ||||||
12 | my ( $self, $path ) = @_; | ||||||
13 | print STDERR "starting request comp - $path\n"; | ||||||
14 | }; | ||||||
15 | |||||||
16 | __PACKAGE__->meta->make_immutable(); | ||||||
17 | |||||||
18 | 1; |