X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F14ora_common.t;h=294b1e5edbae91ff0df355cb8046ec6ce4557fe7;hb=4f3ff924f36e5f893c3e75d9703a4f619eb31a41;hp=60c564530620c1ac12f5debe76d6638b347ff78f;hpb=c930f78be67718446858647b878b1e4c590538f3;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/14ora_common.t b/t/14ora_common.t index 60c5645..294b1e5 100644 --- a/t/14ora_common.t +++ b/t/14ora_common.t @@ -29,7 +29,8 @@ my $tester = dbixcsl_common_tests->new( my ($table, $col) = @_; return qq{ DROP SEQUENCE ${table}_${col}_seq }; }, - quote_char => '"', + preserve_case_mode_is_exclusive => 1, + quote_char => '"', dsn => $dsn, user => $user, password => $password, @@ -123,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 ) {