Start 2008-07-21T08:37:44 Going to read /home/fly818/var/cpan/Metadata Database was generated on Mon, 21 Jul 2008 10:02:47 GMT Running make for D/DR/DROLSKY/Fey-ORM-0.08.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/Fey-ORM-0.08.tar.gz ok Fey-ORM-0.08/ Fey-ORM-0.08/META.yml Fey-ORM-0.08/lib/ Fey-ORM-0.08/lib/Fey/ Fey-ORM-0.08/lib/Fey/Meta/ Fey-ORM-0.08/lib/Fey/Meta/Class/ Fey-ORM-0.08/lib/Fey/Meta/Class/Table.pm Fey-ORM-0.08/lib/Fey/Meta/Class/Schema.pm Fey-ORM-0.08/lib/Fey/Meta/Attribute/ Fey-ORM-0.08/lib/Fey/Meta/Attribute/FromSelect.pm Fey-ORM-0.08/lib/Fey/Meta/Method/ Fey-ORM-0.08/lib/Fey/Meta/Method/Constructor.pm Fey-ORM-0.08/lib/Fey/Hash/ Fey-ORM-0.08/lib/Fey/Hash/ColumnsKey.pm Fey-ORM-0.08/lib/Fey/ORM.pm Fey-ORM-0.08/lib/Fey/Object/ Fey-ORM-0.08/lib/Fey/Object/Table.pm Fey-ORM-0.08/lib/Fey/Object/Iterator/ Fey-ORM-0.08/lib/Fey/Object/Iterator/Caching.pm Fey-ORM-0.08/lib/Fey/Object/Schema.pm Fey-ORM-0.08/lib/Fey/Object/Iterator.pm Fey-ORM-0.08/lib/Fey/ORM/ Fey-ORM-0.08/lib/Fey/ORM/Table.pm Fey-ORM-0.08/lib/Fey/ORM/Manual.pod Fey-ORM-0.08/lib/Fey/ORM/Exceptions.pm Fey-ORM-0.08/lib/Fey/ORM/Manual/ Fey-ORM-0.08/lib/Fey/ORM/Manual/Intro.pod Fey-ORM-0.08/lib/Fey/ORM/Schema.pm Fey-ORM-0.08/Changes Fey-ORM-0.08/eg/ Fey-ORM-0.08/eg/Vendor.pm Fey-ORM-0.08/Makefile.PL Fey-ORM-0.08/README Fey-ORM-0.08/MANIFEST Fey-ORM-0.08/Build.PL Fey-ORM-0.08/t/ Fey-ORM-0.08/t/lib/ Fey-ORM-0.08/t/lib/Fey/ Fey-ORM-0.08/t/lib/Fey/ORM/ Fey-ORM-0.08/t/lib/Fey/ORM/Test.pm Fey-ORM-0.08/t/lib/Fey/ORM/Test/ Fey-ORM-0.08/t/lib/Fey/ORM/Test/Iterator.pm Fey-ORM-0.08/t/Class/ Fey-ORM-0.08/t/Class/Schema.t Fey-ORM-0.08/t/Class/Table.t Fey-ORM-0.08/t/Class/Table-has_many.t Fey-ORM-0.08/t/Class/Table-has_one.t Fey-ORM-0.08/t/kwalitee.t Fey-ORM-0.08/t/pod.t Fey-ORM-0.08/t/pod-coverage.t Fey-ORM-0.08/t/Object/ Fey-ORM-0.08/t/Object/Table-cache.t Fey-ORM-0.08/t/Object/Iterator.t Fey-ORM-0.08/t/Object/Schema.t Fey-ORM-0.08/t/Object/Iterator/ Fey-ORM-0.08/t/Object/Iterator/Caching.t Fey-ORM-0.08/t/Object/Table.t Fey-ORM-0.08/t/Object/Table-select-attr.t Fey-ORM-0.08/t/Object/Table-has_many.t Fey-ORM-0.08/t/Object/Table-has_one.t Fey-ORM-0.08/SIGNATURE Fey-ORM-0.08/TODO CPAN.pm: Going to build D/DR/DROLSKY/Fey-ORM-0.08.tar.gz >>> /home/fly818/ap818/bin/perl-static Makefile.PL # running Build.PL /home/fly818/ap818/bin/perl-static Build.PL - ERROR: Fey::DBIManager is not installed 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-ORM' version '0.08' ---- Unsatisfied dependencies detected during ---- ---- DROLSKY/Fey-ORM-0.08.tar.gz ---- Fey::DBIManager [requires] Running make test Delayed until after prerequisites Running test for module 'Fey::DBIManager' Running make for D/DR/DROLSKY/Fey-DBIManager-0.06.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/Fey-DBIManager-0.06.tar.gz ok Fey-DBIManager-0.06/ Fey-DBIManager-0.06/META.yml Fey-DBIManager-0.06/lib/ Fey-DBIManager-0.06/lib/Fey/ Fey-DBIManager-0.06/lib/Fey/DBIManager/ Fey-DBIManager-0.06/lib/Fey/DBIManager/Source.pm Fey-DBIManager-0.06/lib/Fey/DBIManager.pm Fey-DBIManager-0.06/Changes Fey-DBIManager-0.06/Makefile.PL Fey-DBIManager-0.06/README Fey-DBIManager-0.06/MANIFEST Fey-DBIManager-0.06/Build.PL Fey-DBIManager-0.06/t/ Fey-DBIManager-0.06/t/Source.t Fey-DBIManager-0.06/t/kwalitee.t Fey-DBIManager-0.06/t/DBIManager.t Fey-DBIManager-0.06/t/pod.t Fey-DBIManager-0.06/t/pod-coverage.t Fey-DBIManager-0.06/t/Source-SQLite.t Fey-DBIManager-0.06/SIGNATURE CPAN.pm: Going to build D/DR/DROLSKY/Fey-DBIManager-0.06.tar.gz >>> /home/fly818/ap818/bin/perl-static Makefile.PL # running Build.PL /home/fly818/ap818/bin/perl-static Build.PL - ERROR: DBD::Mock is not installed 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.06' ---- Unsatisfied dependencies detected during ---- ---- DROLSKY/Fey-DBIManager-0.06.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.37.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/DBD-Mock-1.37.tar.gz ok DBD-Mock-1.37/ DBD-Mock-1.37/t/ DBD-Mock-1.37/t/013_st_execute_bound_params.t DBD-Mock-1.37/t/010_rollback.t DBD-Mock-1.37/t/026_st_bind_col.t DBD-Mock-1.37/t/005_db_parser.t DBD-Mock-1.37/t/001_db_handle.t DBD-Mock-1.37/t/998_pod.t DBD-Mock-1.37/t/016_mock_add_resultset_test.t DBD-Mock-1.37/t/999_pod_coverage.t DBD-Mock-1.37/t/024_selcol_fetchhash.t DBD-Mock-1.37/t/007_mock_attribute_aliases.t DBD-Mock-1.37/t/020_db_pool.t DBD-Mock-1.37/t/003_db_can_connect.t DBD-Mock-1.37/t/012_st_handle.t DBD-Mock-1.37/t/008_db_connect_cached.t DBD-Mock-1.37/t/025_mock_last_insert_id.t DBD-Mock-1.37/t/017_st_can_connect.t DBD-Mock-1.37/t/018_mock_statement_track.t DBD-Mock-1.37/t/019_mock_statement_track_iterator.t DBD-Mock-1.37/t/004_misc_mock_attr.t DBD-Mock-1.37/t/009_info.t DBD-Mock-1.37/t/015_st_fetch_records.t DBD-Mock-1.37/t/000_basic.t DBD-Mock-1.37/t/011_st_execute_empty.t DBD-Mock-1.37/t/022_DBD_Mock_Session_bound_params.t DBD-Mock-1.37/t/021_DBD_Mock_Session.t DBD-Mock-1.37/t/023_statement_failure.t DBD-Mock-1.37/t/002_dr_handle.t DBD-Mock-1.37/t/bug_0001.t DBD-Mock-1.37/t/014_st_execute_pass_params.t DBD-Mock-1.37/t/006_prepare_cached.t DBD-Mock-1.37/.shipit DBD-Mock-1.37/META.yml DBD-Mock-1.37/Changes DBD-Mock-1.37/README DBD-Mock-1.37/MANIFEST DBD-Mock-1.37/Makefile.PL DBD-Mock-1.37/lib/ DBD-Mock-1.37/lib/DBD/ DBD-Mock-1.37/lib/DBD/Mock.pm DBD-Mock-1.37/Build.PL CPAN.pm: Going to build D/DR/DROLSKY/DBD-Mock-1.37.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.37.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..20 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 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.............. 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 1..12 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=603, 2 wallclock secs ( 0.00 usr 0.16 sys + 1.25 cusr 0.87 csys = 2.28 CPU) Result: PASS DROLSKY/DBD-Mock-1.37.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.37-WC3ZRJ && tar cvf - DBD-Mock-1.37.ppd blib) | gzip -c >/home/fly818/var/REPO/D/DR/DROLSKY/DBD-Mock-1.37.tar.gz DBD-Mock-1.37.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.37-WC3ZRJ/DBD-Mock-1.37.ppd /home/fly818/var/REPO/D/DR/DROLSKY Running make for D/DR/DROLSKY/Fey-DBIManager-0.06.tar.gz Prepending /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/arch /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8 Prepending /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/arch /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/Fey-DBIManager-0.06.tar.gz >>> make /home/fly818/ap818/bin/perl-static Build --makefile_env_macros 1 Build: blib/lib/Fey/DBIManager/Source.pm: undelimited C<> in paragraph 71. Build: blib/lib/Fey/DBIManager/Source.pm: undelimited C<> in paragraph 101. 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.06.tar.gz make -- OK Prepending /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/arch /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 /home/fly818/ap818/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.... 1..1 ok 1 - source allows nested transactions is false with SQLite ok t/Source........... 1..56 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 1 ok 21 - PrintWarn should be 1 ok 22 - RaiseError should be 1 ok 23 - ShowErrorStatement should be 1 ok 24 - one DBI handle made so far ok 25 - InactiveDestroy was set to true ok 26 - The object isa DBI::db ok 27 - db name passed to DBI->connect() is same as the one passed to new() ok 28 - username passed to DBI->connect() is same as the one passed to new() ok 29 - post_connect sub was called with DBI handle as argument ok 30 - AutoCommit should be 1 ok 31 - PrintWarn should be 1 ok 32 - RaiseError should be 1 ok 33 - ShowErrorStatement should be 1 ok 34 - new handle made when pid changes ok 35 - InactiveDestroy was not set ok 36 - The object isa DBI::db ok 37 - db name passed to DBI->connect() is same as the one passed to new() ok 38 - username passed to DBI->connect() is same as the one passed to new() ok 39 - post_connect sub was called with DBI handle as argument ok 40 - AutoCommit should be 1 ok 41 - PrintWarn should be 1 ok 42 - RaiseError should be 1 ok 43 - ShowErrorStatement should be 1 ok 44 - new handle made when tid changes ok 45 - no new handle made with same pid & tid ok 46 - new handle made when Active is false ok 47 - new handle made when ping returns false ok 48 - one DBI handle made so far ok 49 - no new handle when pid changes ok 50 - no new handle when tid changes ok 51 - no new handle made when Active is false ok 52 - no new handle made when ping returns false ok 53 - explicit name passed to constructor ok 54 - source allows nested transactions is false by default with DBD::Mock ok 55 - AutoCommit is true after checking allows_nested_transactions ok 56 - source allows nested transactions is true 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=68, 3 wallclock secs ( 0.01 usr 0.05 sys + 1.38 cusr 0.30 csys = 1.74 CPU) Result: PASS DROLSKY/Fey-DBIManager-0.06.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> Manage a set of DBI handles >>> (cd /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8 && tar cvf - Fey-DBIManager-0.06.ppd blib) | gzip -c >/home/fly818/var/REPO/D/DR/DROLSKY/Fey-DBIManager-0.06.tar.gz Fey-DBIManager-0.06.ppd blib/ blib/lib/ blib/lib/Fey/ blib/lib/Fey/DBIManager.pm blib/lib/Fey/DBIManager/ blib/lib/Fey/DBIManager/Source.pm >>> mv /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/Fey-DBIManager-0.06.ppd /home/fly818/var/REPO/D/DR/DROLSKY Running make for D/DR/DROLSKY/Fey-ORM-0.08.tar.gz Prepending /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/blib/arch /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/blib/lib /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/arch /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /home/fly818/var/cpan/build/Fey-ORM-0.08-ydPvz2 Prepending /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/blib/arch /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/blib/lib /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/arch /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/Fey-ORM-0.08.tar.gz >>> make /home/fly818/ap818/bin/perl-static Build --makefile_env_macros 1 Build: blib/lib/Fey/Object/Table.pm: undelimited C<> in paragraph 205. Build: blib/lib/Fey/ORM/Exceptions.pm: cannot resolve L in paragraph 25. Copying lib/Fey/Object/Table.pm -> blib/lib/Fey/Object/Table.pm Copying lib/Fey/Meta/Class/Table.pm -> blib/lib/Fey/Meta/Class/Table.pm Copying lib/Fey/Object/Schema.pm -> blib/lib/Fey/Object/Schema.pm Copying lib/Fey/Meta/Attribute/FromSelect.pm -> blib/lib/Fey/Meta/Attribute/FromSelect.pm Copying lib/Fey/ORM/Schema.pm -> blib/lib/Fey/ORM/Schema.pm Copying lib/Fey/ORM.pm -> blib/lib/Fey/ORM.pm Copying lib/Fey/Meta/Method/Constructor.pm -> blib/lib/Fey/Meta/Method/Constructor.pm Copying lib/Fey/Object/Iterator/Caching.pm -> blib/lib/Fey/Object/Iterator/Caching.pm Copying lib/Fey/Hash/ColumnsKey.pm -> blib/lib/Fey/Hash/ColumnsKey.pm Copying lib/Fey/Object/Iterator.pm -> blib/lib/Fey/Object/Iterator.pm Copying lib/Fey/ORM/Table.pm -> blib/lib/Fey/ORM/Table.pm Copying lib/Fey/ORM/Exceptions.pm -> blib/lib/Fey/ORM/Exceptions.pm Copying lib/Fey/Meta/Class/Schema.pm -> blib/lib/Fey/Meta/Class/Schema.pm Copying lib/Fey/ORM/Manual/Intro.pod -> blib/lib/Fey/ORM/Manual/Intro.pod Copying lib/Fey/ORM/Manual.pod -> blib/lib/Fey/ORM/Manual.pod Manifying blib/lib/Fey/Object/Schema.pm -> blib/libdoc/Fey::Object::Schema.3 Manifying blib/lib/Fey/Object/Table.pm -> blib/libdoc/Fey::Object::Table.3 Manifying blib/lib/Fey/Meta/Attribute/FromSelect.pm -> blib/libdoc/Fey::Meta::Attribute::FromSelect.3 Manifying blib/lib/Fey/Meta/Class/Table.pm -> blib/libdoc/Fey::Meta::Class::Table.3 Manifying blib/lib/Fey/ORM/Exceptions.pm -> blib/libdoc/Fey::ORM::Exceptions.3 Manifying blib/lib/Fey/ORM/Table.pm -> blib/libdoc/Fey::ORM::Table.3 Manifying blib/lib/Fey/Hash/ColumnsKey.pm -> blib/libdoc/Fey::Hash::ColumnsKey.3 Manifying blib/lib/Fey/Meta/Class/Schema.pm -> blib/libdoc/Fey::Meta::Class::Schema.3 Manifying blib/lib/Fey/ORM.pm -> blib/libdoc/Fey::ORM.3 Manifying blib/lib/Fey/ORM/Manual.pod -> blib/libdoc/Fey::ORM::Manual.3 Manifying blib/lib/Fey/ORM/Manual/Intro.pod -> blib/libdoc/Fey::ORM::Manual::Intro.3 Manifying blib/lib/Fey/Object/Iterator.pm -> blib/libdoc/Fey::Object::Iterator.3 Manifying blib/lib/Fey/ORM/Schema.pm -> blib/libdoc/Fey::ORM::Schema.3 Manifying blib/lib/Fey/Object/Iterator/Caching.pm -> blib/libdoc/Fey::Object::Iterator::Caching.3 HTMLifying blib/lib/Fey/Object/Schema.pm -> blib/libhtml/site/lib/Fey/Object/Schema.html HTMLifying blib/lib/Fey/Object/Table.pm -> blib/libhtml/site/lib/Fey/Object/Table.html HTMLifying blib/lib/Fey/Meta/Attribute/FromSelect.pm -> blib/libhtml/site/lib/Fey/Meta/Attribute/FromSelect.html HTMLifying blib/lib/Fey/Meta/Class/Table.pm -> blib/libhtml/site/lib/Fey/Meta/Class/Table.html HTMLifying blib/lib/Fey/ORM/Exceptions.pm -> blib/libhtml/site/lib/Fey/ORM/Exceptions.html HTMLifying blib/lib/Fey/ORM/Table.pm -> blib/libhtml/site/lib/Fey/ORM/Table.html HTMLifying blib/lib/Fey/Hash/ColumnsKey.pm -> blib/libhtml/site/lib/Fey/Hash/ColumnsKey.html HTMLifying blib/lib/Fey/Meta/Class/Schema.pm -> blib/libhtml/site/lib/Fey/Meta/Class/Schema.html HTMLifying blib/lib/Fey/ORM.pm -> blib/libhtml/site/lib/Fey/ORM.html HTMLifying blib/lib/Fey/ORM/Manual.pod -> blib/libhtml/site/lib/Fey/ORM/Manual.html HTMLifying blib/lib/Fey/ORM/Manual/Intro.pod -> blib/libhtml/site/lib/Fey/ORM/Manual/Intro.html HTMLifying blib/lib/Fey/Object/Iterator.pm -> blib/libhtml/site/lib/Fey/Object/Iterator.html HTMLifying blib/lib/Fey/ORM/Schema.pm -> blib/libhtml/site/lib/Fey/ORM/Schema.html HTMLifying blib/lib/Fey/Object/Iterator/Caching.pm -> blib/libhtml/site/lib/Fey/Object/Iterator/Caching.html DROLSKY/Fey-ORM-0.08.tar.gz make -- OK Prepending /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/blib/arch /home/fly818/var/cpan/build/Fey-DBIManager-0.06-QdeYe8/blib/lib /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/arch /home/fly818/var/cpan/build/DBD-Mock-1.37-WC3ZRJ/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 /home/fly818/ap818/bin/perl-static Build --makefile_env_macros 1 test t/Class/Schema................ 1..7 ok 1 - meta()->_has_schema() is true ok 2 - Schema() returns expected schema ok 3 - The object isa Fey::DBIManager ok 4 - SQLFactoryClass() is Fey::SQL ok 5 - Schema->isa('Fey::Object::Schema') ok 6 - ClassForSchema() return Schema as class name ok 7 - cannot associate the same schema with multiple classes ok t/Class/Table-has_many........ 1..21 ok 1 - User->can('messages') ok 2 - no clearer for non-cached has_many ok 3 - without caching messages is not an attribute of the User class ok 4 - User->can('messages') ok 5 - User->can('_clear_messages') ok 6 - found attribute for _messages ok 7 - _messages attribute default is a coderef ok 8 - _messages attribute type constraint is Fey::Object::Iterator::Caching ok 9 - found method for messages ok 10 - Cannot declare a has_many relationship to a table with which we have no FK ok 11 - no exception declaring a self-referential has_many ok 12 - table without a schema passed to has_many() ok 13 - Message->can('child_message_users') ok 14 - without caching child_message_users is not an attribute of the Message class ok 15 - Message->can('child_message_users') ok 16 - found attribute for _child_message_users ok 17 - _child_message_users attribute default is a coderef ok 18 - _child_message_users attribute type constraint is Fey::Object::Iterator::Caching ok 19 - found method for child_message_users ok 20 - exception is thrown if trying to make a has_many() when there is >1 fk between the two tables ok 21 - no error when specifying passing a disambiguating fk to has_many ok t/Class/Table-has_one......... 1..26 ok 1 - Message->can('user') ok 2 - found attribute for user ok 3 - user attribute default is a coderef ok 4 - user attribute type constraint is Fey::Object::Table ok 5 - user attribute type constraint is Maybe[Fey::Object::Table] ok 6 - Message->can('my_user') ok 7 - Message->can('_clear_my_user') ok 8 - found attribute for my_user ok 9 - my_user attribute default is a coderef ok 10 - my_user attribute type constraint is Fey::Object::Table ok 11 - Message->can('user') ok 12 - no clearer for non-cached has_one ok 13 - Message does not have an attribute for user (but does have a user() method) ok 14 - Message->can('username') ok 15 - Message->can('email') ok 16 - Cannot declare a has_one relationship to a table with which we have no FK ok 17 - no exception declaring a self-referential has_one ok 18 - table without a schema passed to has_one() ok 19 - exception is thrown if trying to make a has_one() when there is >1 fk between the two tables ok 20 - no error when specifying passing a disambiguating fk to has_one ok 21 - Message->can('most_recent_child') ok 22 - found attribute for most_recent_child ok 23 - most_recent_child attribute default is a coderef ok 24 - most_recent_child attribute type constraint is Maybe[Fey::Object::Table] ok 25 - Message->can('most_recent_child') ok 26 - Message does not have a most_recent_child attribute, but does have a method for it ok t/Class/Table................. 1..32 ok 1 - cannot call has_table() before schema class is loaded ok 2 - cannot call has_table() more than once for a class ok 3 - cannot associate the same table with multiple classes ok 4 - tables passed to has_table() must have a schema ok 5 - tables passed to has_table() must have at least one key ok 6 - User->isa('Fey::Object::Table') ok 7 - User->can('Table') ok 8 - User->Table() returns User table ok 9 - Fey::Meta::Class::Table->TableForClass('User') returns User table ok 10 - Fey::Meta::Class::Table->ClassForTable('User') returns User class ok 11 - Fey::Meta::Class::Table->ClassForTable( 'User', 'Group' ) returns expected classes ok 12 - User->can('email') ok 13 - User->can('user_id') ok 14 - User->can('username') ok 15 - User->can('email_raw') ok 16 - type for user_id is Int ok 17 - type for username is Str ok 18 - type for email is Str | Undef ok 19 - User has an inflator coderef for email ok 20 - User has a deflator coderef for email ok 21 - email_raw() returns a plain string ok 22 - email_raw = test@example.com ok 23 - The object isa Email ok 24 - inflated values are cached ok 25 - cannot provide more than one inflator for a column ok 26 - cannot provide more than one deflator for a column ok 27 - cannot transform a nonexistent column ok 28 - Message has a deflator coderef for message ok 29 - Message has a deflator coderef for quality ok 30 - column attributes do not overwrite existing methods ok 31 - table for User2 class is User ok 32 - schema for User2 class table is Schema2 ok t/Object/Iterator............. 1..35 ok 1 - cannot pass empty array for classes attribute ok 2 - cannot pass strings for classes attribute, must be a Fey::Object subclass ok 3 - index() is 0 before any data has been fetched ok 4 - The object isa User ok 5 - index() is 1 after first row has been fetched ok 6 - user_id = 1 ok 7 - username = autarch ok 8 - email = autarch@example.com ok 9 - index() is 2 after second row has been fetched ok 10 - user_id = 42 ok 11 - username = bubba ok 12 - email = bubba@example.com ok 13 - index() is 2 after attempt to fetch another row ok 14 - $user is undef when there are no more objects to fetch ok 15 - index() is 1 after reset and first row has been fetched ok 16 - user_id = 1 ok 17 - username = autarch ok 18 - email = autarch@example.com ok 19 - all() returns expected result ok 20 - next_as_hash() returns hash with one key ok 21 - found expected user via next_as_hash() ok 22 - all_as_hashes returns arrayref of hashes with expected keys ok 23 - found expected first user in result ok 24 - found expected second user in result ok 25 - first user_id with bind params ok 26 - second user_id with bind params ok 27 - first user id is 1 ok 28 - first message id is 1 ok 29 - The object isa User ok 30 - all() returns expected set of objects ok 31 - first user id is 1 ok 32 - first message id is 1 ok 33 - all_as_hashes() returns expected set of objects ok 34 - message object is undefined ok 35 - user object is defined ok t/Object/Iterator/Caching..... 1..43 ok 1 - index() is 0 before any data has been fetched ok 2 - The object isa User ok 3 - index() is 1 after first row has been fetched ok 4 - user_id = 1 ok 5 - username = autarch ok 6 - email = autarch@example.com ok 7 - index() is 2 after second row has been fetched ok 8 - user_id = 42 ok 9 - username = bubba ok 10 - email = bubba@example.com ok 11 - index() is 2 after attempt to fetch another row ok 12 - $user is undef when there are no more objects to fetch ok 13 - index() is 1 after reset and first row has been fetched ok 14 - user_id = 1 ok 15 - username = autarch ok 16 - email = autarch@example.com ok 17 - all() returns expected result ok 18 - next_as_hash() returns hash with one key ok 19 - found expected user via next_as_hash() ok 20 - all_as_hashes returns arrayref of hashes with expected keys ok 21 - found expected first user in result ok 22 - found expected second user in result ok 23 - first user_id with bind params ok 24 - second user_id with bind params ok 25 - first user id is 1 ok 26 - first message id is 1 ok 27 - The object isa User ok 28 - all() returns expected set of objects ok 29 - first user id is 1 ok 30 - first message id is 1 ok 31 - all_as_hashes() returns expected set of objects ok 32 - message object is undefined ok 33 - user object is defined ok 34 - index() is 1 after reset and first row has been fetched ok 35 - user_id = 1 ok 36 - username = autarch ok 37 - email = autarch@example.com ok 38 - index() is 2 after second row has been fetched ok 39 - user_id = 42 ok 40 - username = bubba ok 41 - email = bubba@example.com ok 42 - index() is 2 after attempt to fetch another row ok 43 - $user is undef when there are no more objects to fetch ok t/Object/Schema............... 1..16 ok 1 - object cache is enabled in User after Schema->EnableObjectCaches() ok 2 - object cache is enabled in Message after Schema->EnableObjectCaches() ok 3 - object cache is disabled in User after Schema->DisableObjectCaches() ok 4 - object cache is disabled in Message after Schema->DisableObjectCaches() ok 5 - User has two unique objects in its cache ok 6 - Message has two unique objects in its cache ok 7 - User has no objects in its cache after Schema->ClearObjectCaches() ok 8 - Message has no objects in its cache after Schema->ClearObjectCaches() ok 9 - username of foo was inserted via RunInTransaction ok 10 - username of bar was not inserted via RunInTransaction because of rollback ok 11 - username of baz was inserted via nested RunInTransaction ok 12 - username of quux was not inserted via nested RunInTransaction because of rollback ok 13 - RunInTransaction returns value ok 14 - nested RunInTransaction returns value ok 15 - RunInTransaction respects calling context ok 16 - nested RunInTransaction respects calling context ok t/Object/Table-cache.......... 1..8 ok 1 - two objects for the same id are identical when the object cache is enabled ok 2 - two objects for the same id are identical when the object cache is enabled - one object created via hashref to new() ok 3 - two objects for the same id are not identical when the object cache is disabled ok 4 - two objects for the same id are not identical when the object cache is enabled but cleared between calls to new() ok 5 - two objects for the same id are identical when the object cache is enabled ok 6 - two objects for the same id are identical when the object cache is enabled - one object created via hashref to new() ok 7 - two objects for the same id are not identical when the object cache is disabled ok 8 - two objects for the same id are not identical when the object cache is enabled but cleared between calls to new() ok t/Object/Table-has_many....... 1..9 ok 1 - messages() method returns iterator with expected message data ok 2 - child_messages() method returns iterator with expected message data ok 3 - messages() method returns iterator with expected message data, respecting order_by ok 4 - The object isa Fey::Object::Iterator::Caching ok 5 - messages() method returns iterator with expected message data ok 6 - messages() method returns iterator with expected message data ok 7 - messages() method resets iterator with each call ok 8 - found two users from child_message_user() ok 9 - users are returned in expected order ok t/Object/Table-has_one........ 1..12 ok 1 - user() for parent message returns expected user object ok 2 - user() attribute is cached ok 3 - parent message has no parent itself ok 4 - parent_message() attribute created via has_one returns expected message ok 5 - user() for parent message returns expected user object ok 6 - user() attribute is not cached ok 7 - user() for parent message returns expected user object ok 8 - parent message has no parent itself ok 9 - parent_message() attribute created via has_one returns expected message ok 10 - most_recent_message() returns Message object isa Message ok 11 - message object is the most recently inserted message ok 12 - message belongs to the user ok t/Object/Table-select-attr.... 1..2 ok 1 - email_length accessor gets the right value ok 2 - user_ids returns an arrayref with the expected values ok t/Object/Table................ 1..67 ok 1 - Count() finds two rows ok 2 - was able to load user where user_id = 1 ok 3 - username is set as side effect of calling _get_column_values() ok 4 - email is set as side effect of calling _get_column_values() ok 5 - calling User->new() twice with the same user_id returns two different objects ok 6 - username is fetched as needed ok 7 - email is set as side effect of calling username() ok 8 - nonexistent user_id to new() returns undef ok 9 - new() is not called when insert() is done in void context ok 10 - Count() is now 3 ok 11 - object returned from insert() has username = new2 ok 12 - object returned from insert() has a user id > 0 (fetched via last_insert_id()) ok 13 - Count() is now 4 ok 14 - literals are handled correctly in an insert ok 15 - got expected user when creating object via username ok 16 - error message when we cannot find a matching row in the dbms ok 17 - error message when we cannot find a matching row for any keys ok 18 - two new users were inserted ok 19 - users were returned with expected data in the order they were provided ok 20 - email is not cleared when update value is a non-reference ok 21 - username = updated ok 22 - email = updated@example.com ok 23 - username is cleared when update value is a reference ok 24 - username = updated2 ok 25 - _load_from_dbms() is not called when _from_query is passed to the constructor ok 26 - data passed to constructor is available from object ok 27 - new() with _from_query requires the primary key ok 28 - new() with _from_query works when given a candidate key ok 29 - The object isa Email ok 30 - deflator intercepts Email object passed to update and turns it into a string ok 31 - check email in dbms after update with deflator ok 32 - deflator intercepts Email object passed to insert and turns it into a string ok 33 - check email in dbms after insert with deflator ok 34 - Count() finds two rows ok 35 - was able to load user where user_id = 1 ok 36 - username is set as side effect of calling _get_column_values() ok 37 - email is set as side effect of calling _get_column_values() ok 38 - calling User->new() twice with the same user_id returns two different objects ok 39 - username is fetched as needed ok 40 - email is set as side effect of calling username() ok 41 - nonexistent user_id to new() returns undef ok 42 - new() is not called when insert() is done in void context ok 43 - Count() is now 3 ok 44 - object returned from insert() has username = new2 ok 45 - object returned from insert() has a user id > 0 (fetched via last_insert_id()) ok 46 - Count() is now 4 ok 47 - literals are handled correctly in an insert ok 48 - got expected user when creating object via username ok 49 - error message when we cannot find a matching row in the dbms ok 50 - error message when we cannot find a matching row for any keys ok 51 - two new users were inserted ok 52 - users were returned with expected data in the order they were provided ok 53 - email is not cleared when update value is a non-reference ok 54 - username = updated ok 55 - email = updated@example.com ok 56 - username is cleared when update value is a reference ok 57 - username = updated2 ok 58 - _load_from_dbms() is not called when _from_query is passed to the constructor ok 59 - data passed to constructor is available from object ok 60 - new() with _from_query requires the primary key ok 61 - new() with _from_query works when given a candidate key ok 62 - The object isa Email ok 63 - deflator intercepts Email object passed to update and turns it into a string ok 64 - check email in dbms after update with deflator ok 65 - deflator intercepts Email object passed to insert and turns it into a string ok 66 - check email in dbms after insert with deflator ok 67 - after delete() user is no longer in dbms 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=15, Tests=278, 49 wallclock secs ( 0.01 usr 0.11 sys + 16.25 cusr 2.45 csys = 18.82 CPU) Result: PASS DROLSKY/Fey-ORM-0.08.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> A Fey-based ORM >>> (cd /home/fly818/var/cpan/build/Fey-ORM-0.08-ydPvz2 && tar cvf - Fey-ORM-0.08.ppd blib) | gzip -c >/home/fly818/var/REPO/D/DR/DROLSKY/Fey-ORM-0.08.tar.gz Fey-ORM-0.08.ppd blib/ blib/lib/ blib/lib/Fey/ blib/lib/Fey/ORM/ blib/lib/Fey/ORM/Manual/ blib/lib/Fey/ORM/Manual/Intro.pod blib/lib/Fey/ORM/Table.pm blib/lib/Fey/ORM/Exceptions.pm blib/lib/Fey/ORM/Manual.pod blib/lib/Fey/ORM/Schema.pm blib/lib/Fey/Hash/ blib/lib/Fey/Hash/ColumnsKey.pm blib/lib/Fey/Meta/ blib/lib/Fey/Meta/Class/ blib/lib/Fey/Meta/Class/Table.pm blib/lib/Fey/Meta/Class/Schema.pm blib/lib/Fey/Meta/Method/ blib/lib/Fey/Meta/Method/Constructor.pm blib/lib/Fey/Meta/Attribute/ blib/lib/Fey/Meta/Attribute/FromSelect.pm blib/lib/Fey/ORM.pm blib/lib/Fey/Object/ blib/lib/Fey/Object/Table.pm blib/lib/Fey/Object/Iterator.pm blib/lib/Fey/Object/Iterator/ blib/lib/Fey/Object/Iterator/Caching.pm blib/lib/Fey/Object/Schema.pm >>> mv /home/fly818/var/cpan/build/Fey-ORM-0.08-ydPvz2/Fey-ORM-0.08.ppd /home/fly818/var/REPO/D/DR/DROLSKY Finished 2008-07-21T08:38:44