Add startup sanity check of the ::DBI::Replicated method dispatch tables
authorPeter Rabbitson <ribasushi@cpan.org>
Sat, 12 Mar 2011 22:58:13 +0000 (23:58 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Mon, 21 Mar 2011 00:03:31 +0000 (01:03 +0100)
commit4bea1fe7a2b4827947b3d0d64b16a0f2c5e594bd
treec88f834eb5bbfc526c4a99d6f68495264421d209
parent4190ff95124ad2b3f33067b2e7d6ccfb919dab7c
Add startup sanity check of the ::DBI::Replicated method dispatch tables

In order to do this during testing only introduce the ::_ENV_::DBICTEST macro,
and also make sure DBICTest::RunMode is loaded before the macro is set
(therefore the multiple test changes)
15 files changed:
lib/DBIx/Class.pm
lib/DBIx/Class/Storage/DBI/Replicated.pm
t/73oracle.t
t/94versioning.t
t/96_is_deteministic_value.t
t/99dbic_sqlt_parser.t
t/admin/02ddl.t
t/admin/03data.t
t/cdbi/68-inflate_has_a.t
t/cdbi/sweet/08pager.t
t/lib/DBICTest/RunMode.pm
t/relationship/info.t
t/row/inflate_result.t
t/search/preserve_original_rs.t
t/storage/replicated.t