use strict;
use warnings;
+# must load before any DBIx::Class* namespaces
+use DBICTest::RunMode;
+
+use base 'DBIx::Class::Core';
+
#use base qw/DBIx::Class::Relationship::Cascade::Rekey DBIx::Class::Core/;
-use base qw/DBIx::Class::Core/;
-use DBICTest::BaseResultSet;
__PACKAGE__->table ('bogus');
__PACKAGE__->resultset_class ('DBICTest::BaseResultSet');
use strict;
use warnings;
-use base qw/DBIx::Class::ResultSet/;
+# must load before any DBIx::Class* namespaces
+use DBICTest::RunMode;
+
+use base 'DBIx::Class::ResultSet';
sub all_hri {
return [ shift->search ({}, { result_class => 'DBIx::Class::ResultClass::HashRefInflator' })->all ];
--- /dev/null
+package #hide from pause
+ DBICTest::BaseSchema;
+
+use strict;
+use warnings;
+
+# must load before any DBIx::Class* namespaces
+use DBICTest::RunMode;
+
+use base 'DBIx::Class::Schema';
+
+1;
package # hide from PAUSE
DBICTest::ResultSetManager;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
__PACKAGE__->load_classes("Foo");
use warnings;
no warnings 'qw';
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
use Fcntl qw/:DEFAULT :seek :flock/;
use Time::HiRes 'sleep';
__PACKAGE__->set_primary_key('Version');
package DBICVersion::Schema;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
use strict;
use warnings;
__PACKAGE__->set_primary_key('Version');
package DBICVersion::Schema;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
use strict;
use warnings;
__PACKAGE__->set_primary_key('Version');
package DBICVersion::Schema;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
use strict;
use warnings;
use strict;
use warnings;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
__PACKAGE__->load_namespaces;
use strict;
use warnings;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
__PACKAGE__->load_namespaces;
package DBICTestAdminInc;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
sub connect { exit 70 } # this is what the test will expect to see
package DBICTestConfig;
-use base 'DBIx::Class::Schema';
+use base 'DBICTest::BaseSchema';
sub connect {
my($self, @opt) = @_;