File: SessionStoreTest.pm

package info (click to toggle)
libcatalyst-plugin-session-store-fastmmap-perl 0.16-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 96 kB
  • sloc: perl: 93; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 536 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/perl

use strict;
use warnings;

use File::Temp;
use File::Spec;

use Catalyst::Plugin::Session::Test::Store (
    backend => "FastMmap",
    config  => { storage => scalar( File::Temp::tmpnam() ) },

    # we do not care in this package about deleting temporary file as it is
    # removed automatically by Cache::FastMmap
    extra_tests => 1
);

{

    package SessionStoreTest;
    use Catalyst;

    # we don't call ->setup because C::P::Session::Test::Store above
    # calls it for us. -- apeiron, 2012-01-25 

}

1;