- Allow specifying a custom loader_class, overriding the
storage_type-based detection
- Cosmetic fixes to dumping of externally defined classes
+ - Make ResultSetManager notice externally defined :ResultSet methods
0.04999_04 Wed Mar 12, 2008
- Add is_auto_increment detecton for DB2
warn qq/# Loaded external class definition for '$class'\n/
if $self->debug;
+ # Make sure ResultSetManager picks up any :ResultSet methods from
+ # the external definition
+ $class->table($class->table);
+
# The rest is only relevant when dumping
return if !$self->dump_directory;
can_ok( $class1, 'test_additional_base_additional' ) or $skip_taba = 1;
can_ok( $class1, 'dbix_class_testcomponent' ) or $skip_tcomp = 1;
can_ok( $class1, 'loader_test1_classmeth' ) or $skip_cmeth = 1;
-
- TODO: {
- local $TODO = "Not yet supported by ResultSetManger code";
- can_ok( $rsobj1, 'loader_test1_rsmeth' ) or $skip_rsmeth = 1;
- }
+ can_ok( $rsobj1, 'loader_test1_rsmeth' ) or $skip_rsmeth = 1;
SKIP: {
skip "Pre-requisite test failed", 1 if $skip_tab;