Start 2008-11-10T16:07:15 Going to read /home/fly818/var/cpan/Metadata Database was generated on Mon, 10 Nov 2008 10:27:00 GMT Running make for D/DR/DROLSKY/DBD-Mock-1.39.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/DBD-Mock-1.39.tar.gz ok DBD-Mock-1.39/ DBD-Mock-1.39/t/ DBD-Mock-1.39/t/013_st_execute_bound_params.t DBD-Mock-1.39/t/010_rollback.t DBD-Mock-1.39/t/026_st_bind_col.t DBD-Mock-1.39/t/005_db_parser.t DBD-Mock-1.39/t/001_db_handle.t DBD-Mock-1.39/t/998_pod.t DBD-Mock-1.39/t/016_mock_add_resultset_test.t DBD-Mock-1.39/t/999_pod_coverage.t DBD-Mock-1.39/t/024_selcol_fetchhash.t DBD-Mock-1.39/t/007_mock_attribute_aliases.t DBD-Mock-1.39/t/020_db_pool.t DBD-Mock-1.39/t/003_db_can_connect.t DBD-Mock-1.39/t/012_st_handle.t DBD-Mock-1.39/t/008_db_connect_cached.t DBD-Mock-1.39/t/025_mock_last_insert_id.t DBD-Mock-1.39/t/017_st_can_connect.t DBD-Mock-1.39/t/018_mock_statement_track.t DBD-Mock-1.39/t/019_mock_statement_track_iterator.t DBD-Mock-1.39/t/004_misc_mock_attr.t DBD-Mock-1.39/t/009_info.t DBD-Mock-1.39/t/015_st_fetch_records.t DBD-Mock-1.39/t/000_basic.t DBD-Mock-1.39/t/011_st_execute_empty.t DBD-Mock-1.39/t/022_DBD_Mock_Session_bound_params.t DBD-Mock-1.39/t/021_DBD_Mock_Session.t DBD-Mock-1.39/t/023_statement_failure.t DBD-Mock-1.39/t/002_dr_handle.t DBD-Mock-1.39/t/bug_0001.t DBD-Mock-1.39/t/014_st_execute_pass_params.t DBD-Mock-1.39/t/006_prepare_cached.t DBD-Mock-1.39/.shipit DBD-Mock-1.39/META.yml DBD-Mock-1.39/Changes DBD-Mock-1.39/README DBD-Mock-1.39/MANIFEST DBD-Mock-1.39/Makefile.PL DBD-Mock-1.39/lib/ DBD-Mock-1.39/lib/DBD/ DBD-Mock-1.39/lib/DBD/Mock.pm DBD-Mock-1.39/Build.PL CPAN.pm: Going to build D/DR/DROLSKY/DBD-Mock-1.39.tar.gz >>> /home/fly818/ap818/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.39.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly818/ap818/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..12 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 - fetchrow_arrayref returns false after data is exhausted, even with bound columns ok 12 - 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=608, 2 wallclock secs ( 0.01 usr 0.20 sys + 1.25 cusr 0.88 csys = 2.34 CPU) Result: PASS DROLSKY/DBD-Mock-1.39.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> Mock database driver for testing >>> (cd /home/fly818/var/cpan/build/DBD-Mock-1.39-MyCOuH && tar cvf - DBD-Mock-1.39.ppd blib) | gzip -c >/home/fly818/var/REPO/D/DR/DROLSKY/DBD-Mock-1.39.tar.gz DBD-Mock-1.39.ppd blib/ blib/lib/ blib/lib/DBD/ blib/lib/DBD/Mock.pm blib/man3/ blib/man3/DBD::Mock.3 >>> mv /home/fly818/var/cpan/build/DBD-Mock-1.39-MyCOuH/DBD-Mock-1.39.ppd /home/fly818/var/REPO/D/DR/DROLSKY Finished 2008-11-10T16:07:21