From: Matt S Trout Date: Sat, 28 Jul 2007 10:52:09 +0000 (+0000) Subject: load JDBICompat at the top of all JDBI tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19c75a8940d53c0723887418defa291734a2cce3;p=dbsrgits%2FDBIx-Class-Historic.git load JDBICompat at the top of all JDBI tests --- diff --git a/t/jdbi-t/00.load.t b/t/jdbi-t/00.load.t index 1f1e5d9..842be35 100644 --- a/t/jdbi-t/00.load.t +++ b/t/jdbi-t/00.load.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; use Test::More tests => 13; BEGIN { use_ok("Jifty::DBI::Collection"); } diff --git a/t/jdbi-t/01-version_checks.t b/t/jdbi-t/01-version_checks.t index 912716e..837f989 100644 --- a/t/jdbi-t/01-version_checks.t +++ b/t/jdbi-t/01-version_checks.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; use Test::More qw(no_plan); diff --git a/t/jdbi-t/01basics.t b/t/jdbi-t/01basics.t index c185c87..e10116a 100644 --- a/t/jdbi-t/01basics.t +++ b/t/jdbi-t/01basics.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/01records.t b/t/jdbi-t/01records.t index e8a4d67..df7e6b9 100644 --- a/t/jdbi-t/01records.t +++ b/t/jdbi-t/01records.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/01searches.t b/t/jdbi-t/01searches.t index 4a99f98..d9146e4 100644 --- a/t/jdbi-t/01searches.t +++ b/t/jdbi-t/01searches.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/02-column_constraints.t b/t/jdbi-t/02-column_constraints.t index 4d60e96..62976ea 100644 --- a/t/jdbi-t/02-column_constraints.t +++ b/t/jdbi-t/02-column_constraints.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/02records_cachable.t b/t/jdbi-t/02records_cachable.t index 8890290..19f5b4c 100644 --- a/t/jdbi-t/02records_cachable.t +++ b/t/jdbi-t/02records_cachable.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/02records_object.t b/t/jdbi-t/02records_object.t index df4d577..04d462f 100644 --- a/t/jdbi-t/02records_object.t +++ b/t/jdbi-t/02records_object.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/02searches_joins.t b/t/jdbi-t/02searches_joins.t index 61c2c6b..e863783 100644 --- a/t/jdbi-t/02searches_joins.t +++ b/t/jdbi-t/02searches_joins.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/03rebless.t b/t/jdbi-t/03rebless.t index db47f17..ed46492 100644 --- a/t/jdbi-t/03rebless.t +++ b/t/jdbi-t/03rebless.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/04memcached.t b/t/jdbi-t/04memcached.t index d0bb74f..ec8ad5b 100644 --- a/t/jdbi-t/04memcached.t +++ b/t/jdbi-t/04memcached.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl use strict; use warnings; diff --git a/t/jdbi-t/06filter.t b/t/jdbi-t/06filter.t index e7862cf..656ee79 100644 --- a/t/jdbi-t/06filter.t +++ b/t/jdbi-t/06filter.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/06filter_datetime.t b/t/jdbi-t/06filter_datetime.t index a2cc12c..e5e98ef 100644 --- a/t/jdbi-t/06filter_datetime.t +++ b/t/jdbi-t/06filter_datetime.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/06filter_storable.t b/t/jdbi-t/06filter_storable.t index 1e5b7eb..a895b0a 100644 --- a/t/jdbi-t/06filter_storable.t +++ b/t/jdbi-t/06filter_storable.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl use strict; use warnings; diff --git a/t/jdbi-t/06filter_truncate.t b/t/jdbi-t/06filter_truncate.t index 8f35109..09d02f1 100644 --- a/t/jdbi-t/06filter_truncate.t +++ b/t/jdbi-t/06filter_truncate.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/06filter_utf8.t b/t/jdbi-t/06filter_utf8.t index adefc7e..5f1f6d6 100644 --- a/t/jdbi-t/06filter_utf8.t +++ b/t/jdbi-t/06filter_utf8.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/06filter_yaml.t b/t/jdbi-t/06filter_yaml.t index f4190fa..10e6db8 100644 --- a/t/jdbi-t/06filter_yaml.t +++ b/t/jdbi-t/06filter_yaml.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl use strict; use warnings; diff --git a/t/jdbi-t/10schema.t b/t/jdbi-t/10schema.t index 65b65a5..9654e6d 100644 --- a/t/jdbi-t/10schema.t +++ b/t/jdbi-t/10schema.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl use strict; diff --git a/t/jdbi-t/11schema_records.t b/t/jdbi-t/11schema_records.t index a68d23d..6593d25 100644 --- a/t/jdbi-t/11schema_records.t +++ b/t/jdbi-t/11schema_records.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/12prefetch.t b/t/jdbi-t/12prefetch.t index e01ba04..92e9fdf 100644 --- a/t/jdbi-t/12prefetch.t +++ b/t/jdbi-t/12prefetch.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w diff --git a/t/jdbi-t/13collection.t b/t/jdbi-t/13collection.t index ca11cb5..69581cc 100644 --- a/t/jdbi-t/13collection.t +++ b/t/jdbi-t/13collection.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; # Test methods in Jifty::DBI::Collection. use strict; diff --git a/t/jdbi-t/14handle-pg.t b/t/jdbi-t/14handle-pg.t index 9795f91..5e1b9f5 100644 --- a/t/jdbi-t/14handle-pg.t +++ b/t/jdbi-t/14handle-pg.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; # Test methods in Jifty::DBI::Handle::Pg use strict; diff --git a/t/jdbi-t/15types.t b/t/jdbi-t/15types.t index e97f4aa..3806516 100644 --- a/t/jdbi-t/15types.t +++ b/t/jdbi-t/15types.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/16inheritance.t b/t/jdbi-t/16inheritance.t index ef9cfa4..2d1cfcf 100644 --- a/t/jdbi-t/16inheritance.t +++ b/t/jdbi-t/16inheritance.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/17virtualtypes.t b/t/jdbi-t/17virtualtypes.t index 4aeb4ab..e8ec014 100644 --- a/t/jdbi-t/17virtualtypes.t +++ b/t/jdbi-t/17virtualtypes.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; #!/usr/bin/env perl -w use strict; diff --git a/t/jdbi-t/pod-coverage.t b/t/jdbi-t/pod-coverage.t index 298ff24..cd0d9e6 100644 --- a/t/jdbi-t/pod-coverage.t +++ b/t/jdbi-t/pod-coverage.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; use Test::More; eval "use Test::Pod::Coverage 1.00"; plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@; diff --git a/t/jdbi-t/pod.t b/t/jdbi-t/pod.t index 437887a..e016b08 100644 --- a/t/jdbi-t/pod.t +++ b/t/jdbi-t/pod.t @@ -1,3 +1,4 @@ +use DBIx::Class::JDBICompat; use Test::More; eval "use Test::Pod 1.00"; plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;