# test loading external content
do_dump_test(
classname => 'DBICTest::Schema::13',
- options => { },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::Schema::13 to directory /,
qr/Schema dump completed/,
do_dump_test(
classname => 'DBICTest::Schema::14',
options => { skip_load_external => 1 },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::Schema::14 to directory /,
qr/Schema dump completed/,
do_dump_test(
classname => 'DBICTest::Schema::14',
options => { config_file => $config_file },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::Schema::14 to directory /,
qr/Schema dump completed/,
return +{ extra => { is_footext => 1 } } if $col eq 'footext';
}
},
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Schema dump completed/,
do_dump_test(
classname => 'DBICTest::DumpMore::1',
- options => { },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Schema dump completed/,
do_dump_test(
classname => 'DBICTest::DumpMore::1',
options => { really_erase_my_files => 1 },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Deleting existing file /,
},
);
+rmtree($DUMP_PATH, 1, 1);
+
do_dump_test(
classname => 'DBICTest::DumpMore::1',
options => { use_namespaces => 1, generate_pod => 0 },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Schema dump completed/,
},
);
+rmtree($DUMP_PATH, 1, 1);
+
do_dump_test(
classname => 'DBICTest::DumpMore::1',
options => { use_namespaces => 1 },
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Schema dump completed/,
},
);
+rmtree($DUMP_PATH, 1, 1);
+
do_dump_test(
classname => 'DBICTest::DumpMore::1',
options => { use_namespaces => 1,
resultset_namespace => 'RSet',
default_resultset_class => 'RSetBase',
},
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Schema dump completed/,
},
);
+rmtree($DUMP_PATH, 1, 1);
+
do_dump_test(
classname => 'DBICTest::DumpMore::1',
options => { use_namespaces => 1,
result_base_class => 'My::ResultBaseClass',
schema_base_class => 'My::SchemaBaseClass',
},
- error => '',
warnings => [
qr/Dumping manual schema for DBICTest::DumpMore::1 to directory /,
qr/Schema dump completed/,
},
);
+rmtree($DUMP_PATH, 1, 1);
+
do_dump_test(
classname => 'DBICTest::DumpMore::1',
options => {