blib/lib/Mason/t/Sanity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mason::t::Sanity; | ||||||
2 | $Mason::t::Sanity::VERSION = '2.24'; | ||||||
3 | 1 | 1 | 794 | use Test::Class::Most parent => 'Mason::Test::Class'; | |||
1 | 38441 | ||||||
1 | 7 | ||||||
4 | |||||||
5 | sub test_ok : Tests { | ||||||
6 | 1 | 1 | 0 | 687 | my $self = shift; | ||
7 | 1 | 10 | $self->test_comp( src => '2 + 2 = <% 2 + 2 %>', expect => '2 + 2 = 4' ); | ||||
8 | 1 | 1 | 107 | } | |||
1 | 2 | ||||||
1 | 5 | ||||||
9 | |||||||
10 | 1; |