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.16';
3 1     1   2199 use Test::More;
  1         18483  
  1         8  
4 1     1   297 use strict;
  1         2  
  1         30  
5 1     1   4 use warnings;
  1         3  
  1         26  
6 1     1   6 use base qw(CHI::Driver::Memcached::t::CHIDriverTests::Base);
  1         1  
  1         721  
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;