DBIx-Custom / t / common-sqlite.t /
Newer Older
15 lines | 0.291kb
added common test executing ...
Yuki Kimoto authored on 2011-08-07
1
use strict;
2
use warnings;
3

            
4
use FindBin;
5
$ENV{DBIX_CUSTOM_TEST_RUN} = 1;
6

            
7
use DBIx::Custom;
8
{
9
    package DBIx::Custom;
10
    no warnings 'redefine';
11
    sub dsn { 'dbi:SQLite:dbname=:memory:' }
12
    sub create_table1 { 'create table table1 (key1, key2);' }
13
}
14

            
15
require "$FindBin::Bin/common.t";