| 1 | package CHI::t::Driver::Subcache; | ||||||||||
| 2 | 2 | $CHI::t::Driver::Subcache::VERSION = '0.60'; | |||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 2 | ▶ | use CHI::Test; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 2 | ▶ | use base qw(CHI::t::Driver); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | sub set_standard_keys_and_values { | ||||||||||
| 9 | 2 | ▶ | my ($self) = @_; | ||||||||
|
Subroutine
set_standard_keys_and_values: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||
| 10 | |||||||||||
| 11 | 2 | my ( $keys, $values ) = $self->SUPER::set_standard_keys_and_values(); | |||||||||
| 12 | |||||||||||
| 13 | # keys for file driver have max length of 255 or so | ||||||||||
| 14 | # but on windows xp, the full pathname is limited to 255 chars as well | ||||||||||
| 15 | 2 | ▶ | $keys->{'large'} = scalar( 'ab' x ( $^O eq 'MSWin32' ? 64 : 120 ) ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | |||||||||||
| 17 | 2 | return ( $keys, $values ); | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | # Skip these tests - the logging will be wrong | ||||||||||
| 21 | # | ||||||||||
| 22 | sub test_l1_cache : Tests { | ||||||||||
| 23 | 2 | ▶ | ok(1); | ||||||||
|
Subroutine
test_l1_cache: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 24 | 2 | ▶ | } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 25 | |||||||||||
| 26 | sub test_mirror_cache : Tests { | ||||||||||
| 27 | 2 | ▶ | ok(1); | ||||||||
|
Subroutine
test_mirror_cache: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 28 | 2 | ▶ | } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 29 | |||||||||||
| 30 | sub test_logging : Tests { | ||||||||||
| 31 | 2 | ▶ | ok(1); | ||||||||
|
Subroutine
test_logging: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 32 | 2 | ▶ | } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 33 | |||||||||||
| 34 | 2 | 1; | |||||||||