X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F14ora_common.t;h=294b1e5edbae91ff0df355cb8046ec6ce4557fe7;hb=692404d17ab2d108fcfa0496dfbeefd3f867a9ca;hp=0f8b6aee5969265ebc96833c0bf7acc5fccdaad1;hpb=4ea15dfe3e9a63998ff72e90c86e6a829e69127c;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/14ora_common.t b/t/14ora_common.t index 0f8b6ae..294b1e5 100644 --- a/t/14ora_common.t +++ b/t/14ora_common.t @@ -29,6 +29,8 @@ my $tester = dbixcsl_common_tests->new( my ($table, $col) = @_; return qq{ DROP SEQUENCE ${table}_${col}_seq }; }, + preserve_case_mode_is_exclusive => 1, + quote_char => '"', dsn => $dsn, user => $user, password => $password, @@ -122,6 +124,23 @@ my $tester = dbixcsl_common_tests->new( 'urowid' => { data_type => 'urowid' }, 'urowid(3333)' => { data_type => 'urowid', size => 3333 }, }, + extra => { + count => 1, + run => sub { + my ($schema, $monikers, $classes) = @_; + + SKIP: { + if (my $source = $monikers->{loader_test1s}) { + is $schema->source($source)->column_info('id')->{sequence}, + 'loader_test1s_id_seq', + 'Oracle sequence detection'; + } + else { + skip 'not running common tests', 1; + } + } + }, + }, ); if( !$dsn || !$user ) {