"Fossies" - the Fresh Open Source Software Archive

Member "Apache-Session-1.93/t/99mysqlstore.t" (27 Jan 2013, 454 Bytes) of package /linux/www/Apache-Session-1.93.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 use Test::More;
    2 
    3 #plan skip_all => "Not running RDBM tests without APACHE_SESSION_MAINTAINER=1"
    4 #  unless $ENV{APACHE_SESSION_MAINTAINER};
    5 plan skip_all => "Optional modules (DBD::mysql, DBI) not installed"
    6   unless eval {
    7                require DBD::mysql;
    8                require DBI;
    9               };
   10 
   11 plan tests => 2;
   12 
   13 my $package = 'Apache::Session::Store::MySQL';
   14 use_ok $package;
   15 
   16 my $foo = $package->new;
   17 
   18 isa_ok $foo, $package;