| blib/lib/Mason/Test/RootClass/Component.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::Component; | ||||||
| 2 | $Mason::Test::RootClass::Component::VERSION = '2.24'; | ||||||
| 3 | 1 | 1 | 656 | use Moose; | |||
| 1 | 1 | ||||||
| 1 | 7 | ||||||
| 4 | extends 'Mason::Component'; | ||||||
| 5 | |||||||
| 6 | # This doesn't work - it interrupts the inner() chain. Investigate later. | ||||||
| 7 | # | ||||||
| 8 | # before 'render' => sub { | ||||||
| 9 | # my ($self) = @_; | ||||||
| 10 | # print STDERR "starting component render - " . $self->cmeta->path . "\n"; | ||||||
| 11 | # }; | ||||||
| 12 | |||||||
| 13 | __PACKAGE__->meta->make_immutable(); | ||||||
| 14 | |||||||
| 15 | 1; |