Test/Attean/ETagCacheableQuadStore.pm

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 34 / 34 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« AtteanX/Serializer/TextTable.pm ↑ Summary Test/Attean/MutableETagCacheableQuadStore.pm »
1 package Test::Attean::ETagCacheableQuadStore;
2  
3 1 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Test::Roo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Test::Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Attean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Attean::RDF;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 requires 'create_store'; # create_store( quads => \@quads )
11 1 with 'Test::Attean::StoreCleanup';
12  
13 1 ▶test 'etagcacheablequadstore' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
14 1 my $self = shift;
15 1 my $time = time();
16 1 my $store = $self->create_store(quads => []);
17 1 my $etag = $store->etag_value_for_quads();
18 1 ok(length($etag));
19 1 $self->cleanup_store($store);
20 1 };
21  
22 1 1;
« AtteanX/Serializer/TextTable.pm ↑ Summary Test/Attean/MutableETagCacheableQuadStore.pm »