line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CHI::Driver::Rethinkdb::t::CHIDriverTests; |
2
|
|
|
|
|
|
|
$CHI::Driver::Rethinkdb::t::CHIDriverTests::VERSION = '0.1.1'; |
3
|
1
|
|
|
1
|
|
2504
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
0
|
|
|
1
|
|
|
|
|
20
|
|
5
|
1
|
|
|
1
|
|
375
|
use CHI::Test; |
|
1
|
|
|
|
|
136606
|
|
|
1
|
|
|
|
|
5
|
|
6
|
1
|
|
|
1
|
|
20805
|
use base qw(CHI::t::Driver); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
648
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
0
|
20
|
sub testing_driver_class { 'CHI::Driver::Rethinkdb' } |
9
|
0
|
|
|
0
|
0
|
0
|
sub supports_get_namespaces { 0 } |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new_cache_options { |
12
|
1
|
|
|
1
|
0
|
1783
|
my $self = shift; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
return ( |
15
|
|
|
|
|
|
|
$self->SUPER::new_cache_options(), |
16
|
|
|
|
|
|
|
port => $ENV{RETHINKDB_PORT} || 28015, |
17
|
1
|
|
50
|
|
|
5
|
host => $ENV{RETHINKDB_HOST} || 'localhost' |
|
|
|
50
|
|
|
|
|
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
0
|
0
|
|
sub test_multiple_processes { } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|