normalize accessor names for CamelCase columns in v7 mode
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 19informix_common.t
1 use strict;
2 use lib qw(t/lib);
3 use dbixcsl_common_tests;
4
5 # This test doesn't run over a shared memory connection, because of the single connection limit.
6
7 my $dsn      = $ENV{DBICTEST_INFORMIX_DSN} || '';
8 my $user     = $ENV{DBICTEST_INFORMIX_USER} || '';
9 my $password = $ENV{DBICTEST_INFORMIX_PASS} || '';
10
11 my $tester = dbixcsl_common_tests->new(
12     vendor         => 'Informix',
13     auto_inc_pk    => 'SERIAL PRIMARY KEY',
14     null           => '',
15     default_function     => 'CURRENT YEAR TO FRACTION(5)',
16     default_function_def => 'DATETIME YEAR TO FRACTION(5) DEFAULT CURRENT YEAR TO FRACTION(5)',
17     dsn            => $dsn,
18     user           => $user,
19     password       => $password,
20 );
21
22 if( !$dsn ) {
23     $tester->skip_tests('You need to set the DBICTEST_INFORMIX_DSN, _USER, and _PASS environment variables');
24 }
25 else {
26     $tester->run_tests();
27 }
28 # vim:et sts=4 sw=4 tw=0: