| ... | ... |
@@ -3,7 +3,7 @@ use warnings; |
| 3 | 3 |
|
| 4 | 4 |
use FindBin; |
| 5 | 5 |
$ENV{DBIX_CUSTOM_TEST_RUN} = 1
|
| 6 |
- if -f "$FindBin::Bin/run/common-mysql-private.tmp"; |
|
| 6 |
+ if -f "$FindBin::Bin/run/common-mysql.tmp"; |
|
| 7 | 7 |
$ENV{DBIX_CUSTOM_SKIP_MESSAGE} = 'mysql private test';
|
| 8 | 8 |
|
| 9 | 9 |
use DBIx::Custom; |
| ... | ... |
@@ -3,7 +3,7 @@ use warnings; |
| 3 | 3 |
|
| 4 | 4 |
use FindBin; |
| 5 | 5 |
$ENV{DBIX_CUSTOM_TEST_RUN} = 1
|
| 6 |
- if -f "$FindBin::Bin/run/common-postgresql-private.tmp"; |
|
| 6 |
+ if -f "$FindBin::Bin/run/common-postgresql.tmp"; |
|
| 7 | 7 |
$ENV{DBIX_CUSTOM_SKIP_MESSAGE} = 'postgresql private test';
|
| 8 | 8 |
|
| 9 | 9 |
use DBIx::Custom; |
| ... | ... |
@@ -0,0 +1,16 @@ |
| 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 quote { '""' }
|
|
| 13 |
+ sub create_table1 { 'create table table1 (key1, key2);' }
|
|
| 14 |
+} |
|
| 15 |
+ |
|
| 16 |
+require "$FindBin::Bin/common.t"; |
| ... | ... |
@@ -4,7 +4,7 @@ use warnings; |
| 4 | 4 |
|
| 5 | 5 |
use FindBin; |
| 6 | 6 |
|
| 7 |
-plan skip_all => 'mysql private test' unless -f "$FindBin::Bin/run/mysql-private.tmp"; |
|
| 7 |
+plan skip_all => 'mysql private test' unless -f "$FindBin::Bin/run/mysql.tmp"; |
|
| 8 | 8 |
plan 'no_plan'; |
| 9 | 9 |
|
| 10 | 10 |
$SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /DEPRECATED/};
|
| ... | ... |
@@ -8,4 +8,4 @@ use DBIx::Custom; |
| 8 | 8 |
|
| 9 | 9 |
use FindBin; |
| 10 | 10 |
|
| 11 |
-require "$FindBin::Bin/basic.t"; |
|
| 11 |
+require "$FindBin::Bin/sqlite.t"; |