File Coverage

blib/lib/CHI/Driver/Memcached/t/CHIDriverTests/Fast.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package CHI::Driver::Memcached::t::CHIDriverTests::Fast;
2             $CHI::Driver::Memcached::t::CHIDriverTests::Fast::VERSION = '0.15';
3 1     1   1784 use Test::More;
  1         25650  
  1         13  
4 1     1   365 use strict;
  1         3  
  1         116  
5 1     1   6 use warnings;
  1         2  
  1         33  
6 1     1   5 use base qw(CHI::Driver::Memcached::t::CHIDriverTests::Base);
  1         2  
  1         1197  
7              
8             sub testing_driver_class { 'CHI::Driver::Memcached::Fast' }
9             sub test_driver_class { 'CHI::Driver::Memcached::Test::Driver::Fast' }
10             sub memcached_class { 'Cache::Memcached::Fast' }
11              
12             sub right_memcached_loaded : Test(shutdown => 2) {
13             ok( exists( $INC{'Cache/Memcached/Fast.pm'} ),
14             "Cache::Memcached::Fast loaded" );
15             ok( !exists( $INC{'Cache/Memcached.pm'} ), "Cache::Memcached not loaded" );
16             }
17              
18             1;