Only load DBICTest::Schema when needed in tests
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 23 Sep 2014 18:33:37 +0000 (19:33 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 30 Sep 2014 10:18:32 +0000 (11:18 +0100)
commit2c2bc4e58c2146670960fc1a0a2ae802cb650506
tree4f22b11a843ac88cfa4c30aec4cd8735b87dd336
parentc8dc7d3337cdd47a721739473b61c8d4477d9129
Only load DBICTest::Schema when needed in tests

Make sure to not vivify $DBIx::Class::VERSION, since before perl 5.16,
this causes ->ensure_class_loaded to think the class is loaded.
47 files changed:
Changes
t/102load_classes.t
t/103many_to_many_warning.t
t/50fork.t
t/60core.t
t/63register_column.t
t/63register_source.t
t/71mysql.t
t/72pg.t
t/72pg_bytea.t
t/73oracle.t
t/73oracle_blob.t
t/73oracle_hq.t
t/745db2.t
t/746db2_400.t
t/746mssql.t
t/746sybase.t
t/747mssql_ado.t
t/748informix.t
t/749sqlanywhere.t
t/74mssql.t
t/750firebird.t
t/751msaccess.t
t/94versioning.t
t/99dbic_sqlt_parser.t
t/cdbi/sweet/08pager.t
t/cdbi/testlib/MyBase.pm
t/inflate/datetime_firebird.t
t/inflate/datetime_informix.t
t/inflate/datetime_msaccess.t
t/inflate/datetime_mssql.t
t/inflate/datetime_mysql.t
t/inflate/datetime_oracle.t
t/inflate/datetime_pg.t
t/inflate/datetime_sqlanywhere.t
t/inflate/datetime_sybase.t
t/lib/DBICTest.pm
t/lib/DBICTest/BaseSchema.pm
t/resultset_class.t
t/sqlmaker/limit_dialects/custom.t
t/sqlmaker/mysql.t
t/storage/deploy.t
t/storage/deprecated_exception_source_bind_attrs.t
t/storage/global_destruction.t
t/storage/quote_names.t
t/storage/savepoints.t
t/zzzzzzz_sqlite_deadlock.t