File: ETagCacheableQuadStore.pm

package info (click to toggle)
libattean-perl 0.035-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,876 kB
  • sloc: perl: 24,595; sh: 32; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package Test::Attean::ETagCacheableQuadStore;

use v5.14;
use warnings;
use Test::Roo::Role;
use Test::Moose;
use Attean;
use Attean::RDF;

requires 'create_store';       # create_store( quads => \@quads )
with 'Test::Attean::StoreCleanup';

test 'etagcacheablequadstore' => sub {
    my $self	= shift;
    my $time	= time();
    my $store	= $self->create_store(quads => []);
    my $etag	= $store->etag_value_for_quads();
    ok(length($etag));
	$self->cleanup_store($store);
};

1;