Start 2008-11-09T06:03:03 Going to read /home/cpanfly/var/cpan/Metadata Database was generated on Sun, 09 Nov 2008 10:26:52 GMT Running make for D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz ok Fey-DBIManager-0.09/ Fey-DBIManager-0.09/t/ Fey-DBIManager-0.09/t/Source-SQLite.t Fey-DBIManager-0.09/t/pod.t Fey-DBIManager-0.09/t/Source.t Fey-DBIManager-0.09/t/DBIManager.t Fey-DBIManager-0.09/t/pod-coverage.t Fey-DBIManager-0.09/t/kwalitee.t Fey-DBIManager-0.09/META.yml Fey-DBIManager-0.09/Changes Fey-DBIManager-0.09/README Fey-DBIManager-0.09/MANIFEST Fey-DBIManager-0.09/Makefile.PL Fey-DBIManager-0.09/lib/ Fey-DBIManager-0.09/lib/Fey/ Fey-DBIManager-0.09/lib/Fey/DBIManager.pm Fey-DBIManager-0.09/lib/Fey/DBIManager/ Fey-DBIManager-0.09/lib/Fey/DBIManager/Source.pm Fey-DBIManager-0.09/SIGNATURE Fey-DBIManager-0.09/Build.PL CPAN.pm: Going to build D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz >>> /home/cpanfly/ap1003/bin/perl-static Makefile.PL # running Build.PL /home/cpanfly/ap1003/bin/perl-static Build.PL - ERROR: DBD::Mock (1.37) is installed, but we need version >= 1.38 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'Fey-DBIManager' version '0.09' ---- Unsatisfied dependencies detected during ---- ---- DROLSKY/Fey-DBIManager-0.09.tar.gz ---- DBD::Mock [requires] Running make test Delayed until after prerequisites Running test for module 'DBD::Mock' Running make for D/DR/DROLSKY/DBD-Mock-1.38.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/DBD-Mock-1.38.tar.gz ok DBD-Mock-1.38/ DBD-Mock-1.38/t/ DBD-Mock-1.38/t/013_st_execute_bound_params.t DBD-Mock-1.38/t/010_rollback.t DBD-Mock-1.38/t/026_st_bind_col.t DBD-Mock-1.38/t/005_db_parser.t DBD-Mock-1.38/t/001_db_handle.t DBD-Mock-1.38/t/998_pod.t DBD-Mock-1.38/t/016_mock_add_resultset_test.t DBD-Mock-1.38/t/999_pod_coverage.t DBD-Mock-1.38/t/024_selcol_fetchhash.t DBD-Mock-1.38/t/007_mock_attribute_aliases.t DBD-Mock-1.38/t/020_db_pool.t DBD-Mock-1.38/t/003_db_can_connect.t DBD-Mock-1.38/t/012_st_handle.t DBD-Mock-1.38/t/008_db_connect_cached.t DBD-Mock-1.38/t/025_mock_last_insert_id.t DBD-Mock-1.38/t/017_st_can_connect.t DBD-Mock-1.38/t/018_mock_statement_track.t DBD-Mock-1.38/t/019_mock_statement_track_iterator.t DBD-Mock-1.38/t/004_misc_mock_attr.t DBD-Mock-1.38/t/009_info.t DBD-Mock-1.38/t/015_st_fetch_records.t DBD-Mock-1.38/t/000_basic.t DBD-Mock-1.38/t/011_st_execute_empty.t DBD-Mock-1.38/t/022_DBD_Mock_Session_bound_params.t DBD-Mock-1.38/t/021_DBD_Mock_Session.t DBD-Mock-1.38/t/023_statement_failure.t DBD-Mock-1.38/t/002_dr_handle.t DBD-Mock-1.38/t/bug_0001.t DBD-Mock-1.38/t/014_st_execute_pass_params.t DBD-Mock-1.38/t/006_prepare_cached.t DBD-Mock-1.38/.shipit DBD-Mock-1.38/META.yml DBD-Mock-1.38/Changes DBD-Mock-1.38/README DBD-Mock-1.38/MANIFEST DBD-Mock-1.38/Makefile.PL DBD-Mock-1.38/lib/ DBD-Mock-1.38/lib/DBD/ DBD-Mock-1.38/lib/DBD/Mock.pm DBD-Mock-1.38/Build.PL CPAN.pm: Going to build D/DR/DROLSKY/DBD-Mock-1.38.tar.gz >>> /home/cpanfly/ap1003/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for DBD::Mock >>> make cp lib/DBD/Mock.pm blib/lib/DBD/Mock.pm Manifying blib/man3/DBD::Mock.3 DROLSKY/DBD-Mock-1.38.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/cpanfly/ap1003/bin/perl-static "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/000_basic............................ 1..1 ok 1 - use DBD::Mock; ok t/001_db_handle........................ 1..24 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... if no db-name is given ok 5 - ... AutoCommit DB attribute defaults to set ok 6 - ... this attribute should be 10 ok 7 - ... this attribute should be 15 ok 8 - ... this attribute should be 2000 ok 9 - ... this attribute should be 15,000 ok 10 - RaiseError DB attribute set after connect() ok 11 - PrintError DB attribute set after connect() ok 12 - AutoCommit DB attribute set after connect() ok 13 - RaiseError DB attribute set in connect() ok 14 - PrintError DB attribute set in connect() ok 15 - AutoCommit DB attribute set in connect() ok 16 - RaiseError DB attribute unset in connect() ok 17 - PrintError DB attribute unset in connect() ok 18 - AutoCommit DB attribute unset in connect() ok 19 - ... got the right data sources ok 20 - ... got the right data sources ok 21 - RaiseError DB attribute set in connect() and then changed ok 22 - PrintError DB attribute set in connect() and then changed ok 23 - PrintWarn DB attribute set in connect() and then changed ok 24 - AutoCommit DB attribute set in connect() and then changed ok t/002_dr_handle........................ 1..24 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::dr ok 4 - ... got the right name ok 5 - ... got the right version ok 6 - ... got the right attribution ok 7 - The object isa DBI::dr ok 8 - ... got the same driver ok 9 - ... got the expected data sources ok 10 - ... got the expected data sources ok 11 - ... got the expected data sources ok 12 - The object isa DBI::db ok 13 - ... our driver is as we expect ok 14 - ... the default is set not to fail ok 15 - The object isa DBI::db ok 16 - ... we are set to fail ok 17 - ... could not connect (as expected) ok 18 - ... got the error we expected too ok 19 - ... we should not have an exception here ok 20 - ... we are set not to fail ok 21 - ... could connect (as expected) ok 22 - The object isa DBI::db ok 23 - ... we only support our attributes ok 24 - ... we only support our attributes ok t/003_db_can_connect................... 1..22 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... make sure RaiseError is set correctly ok 5 - ...our handle with the default settting is Active ok 6 - ...and successfuly pinged handle ok 7 - ... can connect is set to 0 ok 8 - ...our handle is no longer Active after setting mock_can_connect ok 9 - ...and unsuccessfuly pinged handle (good) ok 10 - ... we should have an exception ok 11 - Preparing statement against inactive handle throws expected exception ok 12 - Preparing statement against inactive handle sets expected DBI error ok 13 - The object isa DBI::db ok 14 - ... make sure PrintError is set correctly ok 15 - ...our handle with the default settting is Active ok 16 - ...and successfuly pinged handle ok 17 - ... can connect is set to 0 ok 18 - ...our handle is no longer Active after setting mock_can_connect ok 19 - ...and unsuccessfuly pinged handle (good) ok 20 - ...got the expected warning ok 21 - ... we should not have an exception ok 22 - ... and our statement should be undefined ok t/004_misc_mock_attr................... 1..27 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... it handles AutoCommit as well ok 5 - ... and turns off AutoCommit as well ok 6 - ... we have 6 statements ok 7 - ... we have 0 statements ok 8 - ... not executed yet ok 9 - ... has been executed now ok 10 - ... got something back for our history ok 11 - The object isa DBD::Mock::StatementTrack ok 12 - ... our statement is as expected ok 13 - ... our fields is as expected ok 14 - ... we have 3 records ok 15 - ... we have 3 records ok 16 - ... we are at record number 0 ok 17 - ... we are not yet finished ok 18 - ... nor are we depleted ok 19 - ... got the expected row ok 20 - ... we are at record number 1 ok 21 - ... got the expected row ok 22 - ... we are at record number 2 ok 23 - ... got the expected row ok 24 - ... we are at record number 3 ok 25 - ... now we are depleted ok 26 - ... we are not yet finished ok 27 - ... and we are now finished ok t/005_db_parser........................ 1..26 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... make sure RaiseError is set correctly ok 5 - ... parser successfully added to dbh ok 6 - ... the same parser is stored ok 7 - The object isa DBI::st ok 8 - ... we should get nothing back from here ok 9 - ... parser failure generated correct error ok 10 - The object isa DBI::db ok 11 - ... make sure PrintError is set correctly ok 12 - ... parser successfully added to dbh ok 13 - ... the same parser is stored ok 14 - The object isa DBI::st ok 15 - ...got the expected warning ok 16 - ... we should get nothing back from here ok 17 - The object isa DBI::db ok 18 - ... make sure RaiseError is set correctly ok 19 - ... bad parser successfully not added to dbh ok 20 - ... bad parser successfully not added to dbh ok 21 - The object isa DBI::db ok 22 - ... make sure PrintError is set correctly ok 23 - ... bad parser successfully not added to dbh ok 24 - ... this returns undef too ok 25 - ... bad parser successfully not added to dbh ok 26 - ... this returns undef too ok t/006_prepare_cached................... 1..11 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... have 1 statement executions ok 5 - ... have 2 statement executions ok 6 - ... the history has been is cleared ok 7 - ... have 1 statement executions ok 8 - ... have 2 statement executions ok 9 - The object isa DBD::Mock::StatementTrack ok 10 - ... our statements match ok 11 - ... got the expected amount of params ok t/007_mock_attribute_aliases........... 1..25 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - ... got our non-mock DB successfully ok 4 - The object isa DBI::db ok 5 - ... nothing here ok 6 - ... nothing here ok 7 - ... got our non-mock DB successfully ok 8 - The object isa DBI::db ok 9 - ... nothing here ok 10 - ... nothing here ok 11 - ... got the error we expected ok 12 - ... got our mock DB successfully ok 13 - The object isa DBI::db ok 14 - ... and its the name we expected ok 15 - ... got something here ok 16 - ... and its the hash we expected ok 17 - The object isa DBI::st ok 18 - ... our alias works ok 19 - ... got our mock DB successfully ok 20 - The object isa DBI::db ok 21 - ... and its the name we expected ok 22 - ... got something here ok 23 - ... and its the hash we expected ok 24 - The object isa DBI::st ok 25 - ... our alias works ok t/008_db_connect_cached................ 1..5 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - The object isa DBI::db ok 5 - .. these should be the same handles ok t/009_info............................. 1..3 ok 1 - use DBI; ok 2 - The object isa DBI::db ok 3 - Retrieved info successfully ok t/010_rollback......................... 1..38 ok 1 - use DBI; ok 2 - The object isa DBI::db ok 3 - AutoCommit is off ok 4 - commit() returns true ok 5 - rollback() returns true ok 6 - begin_work() fails if AutoCommit is off ok 7 ok 8 - Correct number of statements ok 9 ok 10 - No parameters ok 11 ok 12 - No parameters ok 13 - AutoCommit is still off ok 14 - AutoCommit is on ok 15 - Commit returns false ok 16 ok 17 - Rollback returns false ok 18 ok 19 - AutoCommit is still on ok 20 - Correct number of statements ok 21 - AutoCommit is on ok 22 - begin_work() returns true ok 23 - AutoCommit is now off ok 24 - rollback() returns true ok 25 - AutoCommit is back on ok 26 - begin_work() returns true ok 27 - AutoCommit is now off ok 28 - rollback() returns true ok 29 - AutoCommit is back on ok 30 - Correct number of statements ok 31 ok 32 - No parameters ok 33 ok 34 - No parameters ok 35 ok 36 - No parameters ok 37 ok 38 - No parameters ok t/011_st_execute_empty................. 1..15 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - Statement handle prepared ok ok 4 - Statement handle returned of the proper type ok 5 - Statement handle stores SQL (method on tracker) ok 6 - Statement handle stores SQL (attribute) ok 7 - Execute flag not set yet ok 8 - Called execute() ok (no params) ok 9 - ... we got back 0E0 for num of rows ok 10 - Execute flag set after execute() ok 11 - No parameters tracked (method on tracker) ok 12 - No parameters tracked (attribute) ok 13 - Finished flag not set yet ok 14 - Called finish() ok ok 15 - Finished flag set after finish() ok t/012_st_handle........................ 1..15 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... $sth handle prepared ok ok 5 - The object isa DBI::st ok 6 - ... got the right statement ok 7 - ... got the right Database handle ok 8 - ... got the right number of fields ok 9 - ... got the right number of params ok 10 - ... got the right NAME attributes ok 11 - ... got the right NAME_lc attributes ok 12 - ... got the right NAME_uc attributes ok 13 - ... got the right NAME_hash attributes ok 14 - ... got the right NAME_hash_lc attributes ok 15 - ... got the right NAME_hash_uc attributes ok t/013_st_execute_bound_params.......... 1..18 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - Parameters bound to statement handle with bind_param() ok 4 - Called execute() ok (empty, after bind_param calls) ok 5 - Correct number of parameters bound (method on tracker) ok 6 - Statement handle stored bound parameter from bind_param() (method on tracker) ok 7 - Statement handle stored bound parameter from bind_param() (method on tracker) ok 8 - Correct number of parameters bound (attribute) ok 9 - Statement handle stored bound parameter from bind_param() (attribute) ok 10 - Statement handle stored bound parameter from bind_param() (attribute) ok 11 - Parameters bound to statement handle with bind_param_inout() ok 12 - Called execute() ok (empty, after bind_param_inout calls) ok 13 - Correct number of parameters bound (method on tracker) ok 14 - Statement handle stored bound parameter from bind_param_inout() (method on tracker) ok 15 - Statement handle stored bound parameter from bind_param_inout() (method on tracker) ok 16 - Correct number of parameters bound (attribute) ok 17 - Statement handle stored bound parameter from bind_param_inout() (attribute) ok 18 - Statement handle stored bound parameter from bind_param_inout() (attribute) ok t/014_st_execute_pass_params........... 1..9 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - Called execute() ok (inline params) ok 4 - Correct number of parameters bound (inline; method on tracker) ok 5 - Statement handle stored bound inline parameter (method on tracker) ok 6 - Statement handle stored bound inline parameter (method on tracker) ok 7 - Correct number of parameters bound (inline; attribute) ok 8 - Statement handle stored bound inline parameter (attribute) ok 9 - Statement handle stored bound inline parameter (attribute) ok t/015_st_fetch_records................. 1..43 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - Correct number of records reported by statement ok 4 - Correct number of rows reported by statement ok 5 - Correct number of rows reported by statement ok 6 - Current record number correct before fetching ok 7 - ... this should be an active handle ok 8 - Record 1, correct number of fields (2) ok 9 - Record 1, field 1 ok 10 - Record 1, field 2 ok 11 - Record 1, current record number tracked ok 12 - Resultset not yet depleted ok 13 - Record 2, correct number of fields (2) ok 14 - Record 2, field 1 ok 15 - Record 2, field 2 ok 16 - Record 2, current record number tracked ok 17 - Resultset depleted properly ok 18 - ...this should not be an active handle anymore ok 19 - Correct number of records reported by statement ok 20 - Correct number of rows reported by statement ok 21 - Correct number of rows reported by statement ok 22 - Current record number correct before fetching ok 23 - ... this should be an active handle ok 24 - Record 1, correct number of fields (3) ok 25 - Record 1, field 1 ok 26 - Record 1, field 2 ok 27 - Record 1, field 3 ok 28 - Record 1, current record number tracked ok 29 - Resultset not yet depleted ok 30 - Record 2, correct number of fields (3) ok 31 - Record 2, field 1 ok 32 - Record 2, field 2 ok 33 - Record 2, field 3 ok 34 - Record 2, current record number tracked ok 35 - Resultset not yet depleted ok 36 - Record 3, correct number of fields (3) ok 37 - Record 3, field 1 ok 38 - Record 3, field 2 ok 39 - Record 3, field 3 ok 40 - Record 3, current record number tracked ok 41 - Resultset depleted properly ok 42 - ...this should not be an active handle anymore ok 43 - ...this should not be an active handle ok t/016_mock_add_resultset_test.......... 1..19 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - The object isa DBI::st ok 5 - ... got back 0E0 for rows with a SELECT statement ok 6 - ... got the result we expected ok 7 - The object isa DBI::st ok 8 - ... got back 0E0 for rows with a SELECT statement ok 9 - ... got the result we expected ok 10 - The object isa DBI::st ok 11 - ... got back 0E0 for rows with a SELECT statement ok 12 - ... got the result we expected ok 13 - The object isa DBI::st ok 14 - ... got back 0E0 for rows with a SELECT statement ok 15 - ... got the result we expected ok 16 - The object isa DBI::st ok 17 - ... got back 1 for rows with our INSERT statement ok 18 - The object isa DBI::st ok 19 - ... got back 4 for rows with our UPDATE statement ok t/017_st_can_connect................... 1..23 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - ... RaiseError is set correctly ok 5 - ... PrintError is set correctly ok 6 - The object isa DBI::st ok 7 - ... can connect is set to 0 ok 8 - ... the handle is not Active ok 9 - ... and ping returns false ok 10 - ... we got an exception ok 11 - ... we got the expected execption ok 12 - ... can connect is set to 1 ok 13 - ... the handle is Active ok 14 - ... and ping returns true ok 15 - The object isa DBI::st ok 16 - ... executed without exception ok 17 - ... the first row was returned without execption ok 18 - ... we got back the expected data in the first row ok 19 - ... can connect is set to 0 ok 20 - ... the handle is not Active ok 21 - ... and ping returns false ok 22 - ... we got the exception ok 23 - ... fetching row against inactive db throws expected exception ok t/018_mock_statement_track............. 1..68 ok 1 - use DBD::Mock; ok 2 - DBD::Mock::StatementTrack->can('new') ok 3 - The object isa DBD::Mock::StatementTrack ok 4 - DBD::Mock::StatementTrack->can('num_fields') ok 5 - DBD::Mock::StatementTrack->can('num_params') ok 6 - DBD::Mock::StatementTrack->can('bound_param') ok 7 - DBD::Mock::StatementTrack->can('bound_param_trailing') ok 8 - DBD::Mock::StatementTrack->can('is_active') ok 9 - DBD::Mock::StatementTrack->can('is_finished') ok 10 - DBD::Mock::StatementTrack->can('mark_executed') ok 11 - DBD::Mock::StatementTrack->can('next_record') ok 12 - DBD::Mock::StatementTrack->can('is_depleted') ok 13 - DBD::Mock::StatementTrack->can('to_string') ok 14 - DBD::Mock::StatementTrack->can('is_executed') ok 15 - DBD::Mock::StatementTrack->can('statement') ok 16 - DBD::Mock::StatementTrack->can('current_record_num') ok 17 - DBD::Mock::StatementTrack->can('return_data') ok 18 - DBD::Mock::StatementTrack->can('fields') ok 19 - DBD::Mock::StatementTrack->can('bound_params') ok 20 - The object isa DBD::Mock::StatementTrack ok 21 - ... we have no fields in the default ok 22 - ... we have no fields in the default ok 23 - ... we have no bound params in the default ok 24 - ... we have no bound params in the default ok 25 - ... we have no return data in the default ok 26 - ... our current record num is 0 in the default ok 27 - ... our statement is a blank string in the default ok 28 - ... our statement is not executed in the default ok 29 - ... the default state is depleted ok 30 - ... the default state has no next record since it is depleted ok 31 - ... our statement is not finished in the default ok 32 - ... the default state is not active ok 33 - The object isa DBD::Mock::StatementTrack ok 34 - ... we have the expected num of fields ok 35 - ... we have the expected fields ok 36 - ... we have the expected num of bound params ok 37 - ... we have the expected bound params ok 38 - ... we have the expected return data ok 39 - ... our current record num is 0 in the default ok 40 - ... our statement as expected ok 41 - ... our statement is not executed ok 42 - ... the state is not depleted ok 43 - ... our statement is not finished ok 44 - ... the default state is active ok 45 - ... we have the expected bound params ok 46 - ... we have the expected bound params ok 47 - ... we have the expected num of bound params ok 48 - ... our statement as expected ok 49 - ... with an INSERT we are not considered active ok 50 - ... restore our statement ok 51 - ... our statement is now executed ok 52 - ... our current record num is 0 ok 53 - ... we are active now that we are executed ok 54 - ... the state is not depleted ok 55 - ... got the next record as expected ok 56 - ... our current record num is now 1 ok 57 - ... the state is not depleted ok 58 - ... got the next record as expected ok 59 - ... our current record num is now 2 ok 60 - ... the state is not depleted ok 61 - ... got the next record as expected ok 62 - ... our current record num is now 3 ok 63 - ... no more records ok 64 - ... we are now depleted ok 65 - ... we are no longer active now that we are depleted ok 66 - ... passing in nothing just returns the value ok 67 - ... our statement is now finished ok 68 - ... our statement is no longer finished ok t/019_mock_statement_track_iterator.... 1..22 ok 1 - use DBD::Mock; ok 2 - The object isa DBD::Mock::StatementTrack::Iterator ok 3 - ... got 1 ok 4 - ... got 2 ok 5 - ... got 3 ok 6 - ... got 4 ok 7 - ... got 5 ok 8 - ... got undef ok 9 - ... got 1 ok 10 - ... got 2 ok 11 - ... got 3 ok 12 - ... got 4 ok 13 - ... got 5 ok 14 - ... got undef ok 15 - The object isa DBI::db ok 16 - The object isa DBD::Mock::StatementTrack::Iterator ok 17 - ... nothing in the iterator ok 18 - ... now something in the iterator (which is what we want) ok 19 - ... something in the iterator ok 20 - The object isa DBD::Mock::StatementTrack ok 21 - ... its our old insert statement too ok 22 - ... now nothing in the iterator ok t/020_db_pool.......................... 1..16 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBD::Mock::Pool::db ok 4 - The object isa DBD::Mock::Pool::db ok 5 - ... these handles should be the same ok 6 - ... this will not actually do anything just return true ok 7 - ... this will not actually do anything just return true ok 8 - The object isa DBD::Mock::Pool::db ok 9 - ... not really disconnecting, just returning true ok 10 - The object isa DBD::Mock::Pool::db ok 11 - ... got our row correctly ok 12 - ... not really disconnecting, just returning true ok 13 - The object isa DBD::Mock::Pool::db ok 14 - ... we executed 1 statement ok 15 - ... this the statement we executed ok 16 - ... not really disconnecting, just returning true ok t/021_DBD_Mock_Session................. 1..59 ok 1 - use DBD::Mock; ok 2 - The object isa DBD::Mock::Session ok 3 - ... got the first default session name ok 4 - ... it is the same session we put in ok 5 - ... we no longer have a session in there ok 6 - The object isa DBD::Mock::Session ok 7 - ... got the second default session name ok 8 - The object isa DBD::Mock::Session ok 9 - ... got the right name ok 10 - ... logged in successfully ok 11 - ... got the exception ok 12 - ... got the exception we expected ok 13 - ... logged in successfully ok 14 - The object isa DBD::Mock::Session ok 15 - ... got the right name ok 16 - ... username is not found ok 17 - The object isa DBD::Mock::Session ok 18 - ... got the right name ok 19 - ... username is found, but the password is wrong ok 20 - The object isa DBD::Mock::Session ok 21 - ... got the right name ok 22 - ... username is found, and the password is wrong, and the user account is now locked ok 23 - The object isa DBD::Mock::Session ok 24 - ... got an error, as expected ok 25 - ... got the error we expected ok 26 - ... got an error, as expected ok 27 - ... got the error we expected ok 28 - ... got an error, as expected ok 29 - ... got the error we expected ok 30 - ... got an error, as expected ok 31 - ... got the error we expected ok 32 - ... got an error, as expected ok 33 - ... got the error we expected ok 34 - ... got an error, as expected ok 35 - ... got the error we expected ok 36 - The object isa DBD::Mock::Session ok 37 - ... got an error, as expected ok 38 - ... got the error we expected ok 39 - The object isa DBD::Mock::Session ok 40 - ... got an error, as expected ok 41 - ... got the error we expected ok 42 - The object isa DBD::Mock::Session ok 43 - ... got an error, as expected ok 44 - ... got the error we expected ok 45 - The object isa DBD::Mock::Session ok 46 - ... got an error, as expected ok 47 - ... got the error we expected ok 48 - The object isa DBD::Mock::Session ok 49 - ... got an error, as expected ok 50 - ... got the error we expected ok 51 - The object isa DBD::Mock::Session ok 52 - ... got an error, as expected ok 53 - ... got the error we expected ok 54 - The object isa DBD::Mock::Session ok 55 - ... got an error, as expected ok 56 - ... got the error we expected ok 57 - The object isa DBD::Mock::Session ok 58 - ... got an error, as expected ok 59 - ... got the error we expected ok t/022_DBD_Mock_Session_bound_params.... 1..29 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - The object isa DBD::Mock::Session ok 5 - ... got the right value ok 6 - ... everything worked as planned ok 7 - ... got the right value ok 8 - ... everything worked as planned ok 9 - The object isa DBI::db ok 10 - The object isa DBD::Mock::Session ok 11 - ... got the right value ok 12 - ... first state worked as planned ok 13 - ... got the right value ok 14 - ... second state worked as planned ok 15 - ... got the right number of affected rows ok 16 - ... third state worked as planned ok 17 - The object isa DBI::db ok 18 - The object isa DBD::Mock::Session ok 19 - ... everything failed as planned ok 20 - ... everything failed as planned ok 21 - The object isa DBI::db ok 22 - The object isa DBD::Mock::Session ok 23 - ... everything failed as planned ok 24 - ... everything failed as planned ok 25 - The object isa DBI::db ok 26 - The object isa DBD::Mock::Session ok 27 - ... first execute got the right value ok 28 - ... second execute got the right value ok 29 - ... everything worked as planned ok t/023_statement_failure................ 1..28 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa DBI::db ok 4 - $sth handle prepared correctly ok 5 - The object isa DBI::st ok 6 - $sth handled executed and died ok 7 - $sth handle failed to prepare ok 8 - DBD::Mock::db prepare failed: Cannot prepare at t/023_statement_failure.t line 59. # should contain 'Cannot prepare' ok 9 - 4 should be 4 ok 10 - $sth handle failed to execute ok 11 - DBD::Mock::st execute failed: Cannot execute at t/023_statement_failure.t line 90. # should contain 'Cannot execute' ok 12 - 4 should be 4 ok 13 - $sth handle failed to fetch ok 14 - $sth handle failed to fetch ok 15 - $sth handle failed to fetch ok 16 - $sth handle failed to fetch ok 17 - prepare and execute should work ok 18 - The object isa DBI::st ok 19 - fetch should work ok 20 - -99 should be -99 ok 21 - fetch should work ok 22 - -98 should be -98 ok 23 - fetch should work ok 24 - -97 should be -97 ok 25 - fetch should work ok 26 - -96 should be -96 ok 27 - fetch should work ok 28 - -95 should be -95 ok t/024_selcol_fetchhash................. 1..8 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - The object isa REF ok 4 - The object isa ARRAY ok 5 - Checking if selectcol_arrayref works. ok 6 - Checking if selectcol_arrayref works with Columns attribute ok 7 - ... selectall_hashref worked correctly ok 8 - ... selectall_hashref worked correctly ok t/025_mock_last_insert_id.............. 1..12 ok 1 - ... got the right insert id ok 2 - ... got the right insert id from last_insert_id ok 3 - ... got the right insert id ok 4 - ... got the right insert id from last_insert_id ok 5 - ... got the right insert id ok 6 - ... got the right insert id from last_insert_id ok 7 - ... got the right insert id ok 8 - ... got the right insert id from last_insert_id ok 9 - ... got the right insert id ok 10 - ... got the right insert id from last_insert_id ok 11 - ... got the right insert id ok 12 - ... got the right insert id from last_insert_id ok t/026_st_bind_col...................... 1..11 ok 1 - use DBD::Mock; ok 2 - use DBI; ok 3 - fetch() returned data ok 4 - bind_col to $id == 1 ok 5 - bind_col to $type == "european" ok 6 - bind_col to $inventory_id == 42 ok 7 - fetch() returned data ok 8 - bind_columns with hash, id == 1 ok 9 - bind_columns with hash, type == "african" ok 10 - bind_columns with hash, inventory_id == 2 ok 11 - bind_col implementation does not break selectall_* methods ok t/998_pod.............................. 1..1 ok 1 - blib/lib/DBD/Mock.pm ok t/999_pod_coverage..................... 1..1 ok 1 - Pod coverage on DBD::Mock ok t/bug_0001............................. 1..4 ok 1 - use DBI; ok 2 - The object isa DBI::db ok 3 - Bind failed ok 4 - Bind passed ok All tests successful. Files=30, Tests=607, 3 wallclock secs ( 0.02 usr 0.30 sys + 1.29 cusr 0.78 csys = 2.39 CPU) Result: PASS DROLSKY/DBD-Mock-1.38.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> Mock database driver for testing >>> (cd /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk && tar cvf - DBD-Mock-1.38.ppd blib) | gzip -c >/home/cpanfly/var/REPO/D/DR/DROLSKY/DBD-Mock-1.38.tar.gz DBD-Mock-1.38.ppd blib/ blib/lib/ blib/lib/DBD/ blib/lib/DBD/Mock.pm blib/man3/ blib/man3/DBD::Mock.3 >>> mv /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/DBD-Mock-1.38.ppd /home/cpanfly/var/REPO/D/DR/DROLSKY Running make for D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz Prepending /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/blib/arch /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /home/cpanfly/var/cpan/build/Fey-DBIManager-0.09-H6gZmd Prepending /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/blib/arch /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz >>> make /home/cpanfly/ap1003/bin/perl-static Build --makefile_env_macros 1 Copying lib/Fey/DBIManager/Source.pm -> blib/lib/Fey/DBIManager/Source.pm Copying lib/Fey/DBIManager.pm -> blib/lib/Fey/DBIManager.pm Manifying blib/lib/Fey/DBIManager.pm -> blib/libdoc/Fey::DBIManager.3 Manifying blib/lib/Fey/DBIManager/Source.pm -> blib/libdoc/Fey::DBIManager::Source.3 HTMLifying blib/lib/Fey/DBIManager.pm -> blib/libhtml/site/lib/Fey/DBIManager.html HTMLifying blib/lib/Fey/DBIManager/Source.pm -> blib/libhtml/site/lib/Fey/DBIManager/Source.html DROLSKY/Fey-DBIManager-0.09.tar.gz make -- OK Prepending /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/blib/arch /home/cpanfly/var/cpan/build/DBD-Mock-1.38-bpRjwk/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 /home/cpanfly/ap1003/bin/perl-static Build --makefile_env_macros 1 test t/DBIManager....... 1..11 ok 1 - The object isa Fey::DBIManager ok 2 - manager has no sources ok 3 - default_source() fails before any sources are added ok 4 - manager has one source ok 5 - cannot add the same source twice ok 6 - default source is the only source it has ok 7 - no default source with multiple sources, none named "default" ok 8 - default_source() returns the source named "default" ok 9 - source_for_sql() returns the default source ok 10 - source_for_sql() returns the default source ok 11 - no default source with multiple sources, none named "default" ok t/Source-SQLite....Name "DBD::SQLite::sqlite_version" used only once: possible typo at /home/cpanfly/ap1003/lib/DynaLoader.pm line 225. 1..2 ok 1 - source allows nested transactions is false with SQLite ok 2 - no warnings checking for nested transaction support with DBD::Mock ok t/Source........... 1..66 ok 1 - source is named default ok 2 - dsn passed to new() is returned by dsn() ok 3 - default username is empty string ok 4 - default password is empty string ok 5 - check default attributes ok 6 - no post_connect hook by default ok 7 - auto_refresh defaults to true ok 8 - threads is false ok 9 - dsn passed to new() is returned by dsn() ok 10 - username is user ok 11 - password is password ok 12 - attributes include values passed in, except AutoCommit is 1 ok 13 - post_connect is set ok 14 - auto_refresh is false ok 15 - threads is true ok 16 - The object isa DBI::db ok 17 - db name passed to DBI->connect() is same as the one passed to new() ok 18 - username passed to DBI->connect() is same as the one passed to new() ok 19 - post_connect sub was called with DBI handle as argument ok 20 - AutoCommit should be true ok 21 - PrintError should be false ok 22 - PrintWarn should be true ok 23 - RaiseError should be true ok 24 - ShowErrorStatement should be true ok 25 - one DBI handle made so far ok 26 - InactiveDestroy was set to true ok 27 - The object isa DBI::db ok 28 - db name passed to DBI->connect() is same as the one passed to new() ok 29 - username passed to DBI->connect() is same as the one passed to new() ok 30 - post_connect sub was called with DBI handle as argument ok 31 - AutoCommit should be true ok 32 - PrintError should be false ok 33 - PrintWarn should be true ok 34 - RaiseError should be true ok 35 - ShowErrorStatement should be true ok 36 - new handle made when pid changes ok 37 - InactiveDestroy was not set ok 38 - The object isa DBI::db ok 39 - db name passed to DBI->connect() is same as the one passed to new() ok 40 - username passed to DBI->connect() is same as the one passed to new() ok 41 - post_connect sub was called with DBI handle as argument ok 42 - AutoCommit should be true ok 43 - PrintError should be false ok 44 - PrintWarn should be true ok 45 - RaiseError should be true ok 46 - ShowErrorStatement should be true ok 47 - new handle made when tid changes ok 48 - no new handle made with same pid & tid ok 49 - new handle made when Active is false ok 50 - new handle made when ping returns false ok 51 - one DBI handle made so far ok 52 - no new handle when pid changes ok 53 - no new handle when tid changes ok 54 - no new handle made when Active is false ok 55 - no new handle made when ping returns false ok 56 - explicit name passed to constructor ok 57 - source allows nested transactions is false by default with DBD::Mock ok 58 - AutoCommit is true after checking allows_nested_transactions ok 59 - source allows nested transactions is true ok 60 - DBI attribute AutoCommit is set to required value for Source ok 61 - DBI attribute PrintError is set to required value for Source ok 62 - DBI attribute PrintWarn is set to required value for Source ok 63 - DBI attribute RaiseError is set to required value for Source ok 64 - DBI attribute ShowErrorStatement is set to required value for Source ok 65 - DBD::Mock does not support nested transactions ok 66 - no warnings checking for nested transaction support with DBD::Mock ok t/kwalitee......... 1..0 # Skip This test is only run for the module author skipped: This test is only run for the module author t/pod-coverage..... 1..0 # Skip This test is only run for the module author skipped: This test is only run for the module author t/pod.............. 1..0 # Skip This test is only run for the module author skipped: This test is only run for the module author All tests successful. Files=6, Tests=79, 2 wallclock secs ( 0.00 usr 0.07 sys + 1.00 cusr 0.35 csys = 1.42 CPU) Result: PASS DROLSKY/Fey-DBIManager-0.09.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> Manage a set of DBI handles >>> (cd /home/cpanfly/var/cpan/build/Fey-DBIManager-0.09-H6gZmd && tar cvf - Fey-DBIManager-0.09.ppd blib) | gzip -c >/home/cpanfly/var/REPO/D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz Fey-DBIManager-0.09.ppd blib/ blib/lib/ blib/lib/Fey/ blib/lib/Fey/DBIManager.pm blib/lib/Fey/DBIManager/ blib/lib/Fey/DBIManager/Source.pm >>> mv /home/cpanfly/var/cpan/build/Fey-DBIManager-0.09-H6gZmd/Fey-DBIManager-0.09.ppd /home/cpanfly/var/REPO/D/DR/DROLSKY Finished 2008-11-09T06:03:12