Start 2009-01-14T20:59:12 Going to read /export/home/fly1064/var/cpan/Metadata Database was generated on Tue, 13 Jan 2009 09:27:58 GMT Running make for D/DR/DROLSKY/Fey-ORM-0.18.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/Fey-ORM-0.18.tar.gz ok Fey-ORM-0.18/ Fey-ORM-0.18/META.yml Fey-ORM-0.18/lib/ Fey-ORM-0.18/lib/Fey/ Fey-ORM-0.18/lib/Fey/Meta/ Fey-ORM-0.18/lib/Fey/Meta/HasMany/ Fey-ORM-0.18/lib/Fey/Meta/HasMany/ViaFK.pm Fey-ORM-0.18/lib/Fey/Meta/HasMany/ViaSelect.pm Fey-ORM-0.18/lib/Fey/Meta/Class/ Fey-ORM-0.18/lib/Fey/Meta/Class/Table.pm Fey-ORM-0.18/lib/Fey/Meta/Class/Schema.pm Fey-ORM-0.18/lib/Fey/Meta/FK.pm Fey-ORM-0.18/lib/Fey/Meta/HasMany.pm Fey-ORM-0.18/lib/Fey/Meta/Attribute/ Fey-ORM-0.18/lib/Fey/Meta/Attribute/FromSelect.pm Fey-ORM-0.18/lib/Fey/Meta/HasOne/ Fey-ORM-0.18/lib/Fey/Meta/HasOne/ViaFK.pm Fey-ORM-0.18/lib/Fey/Meta/HasOne/ViaSelect.pm Fey-ORM-0.18/lib/Fey/Meta/Method/ Fey-ORM-0.18/lib/Fey/Meta/Method/Constructor.pm Fey-ORM-0.18/lib/Fey/Meta/HasOne.pm Fey-ORM-0.18/lib/Fey/Hash/ Fey-ORM-0.18/lib/Fey/Hash/ColumnsKey.pm Fey-ORM-0.18/lib/Fey/ORM.pm Fey-ORM-0.18/lib/Fey/Object/ Fey-ORM-0.18/lib/Fey/Object/Table.pm Fey-ORM-0.18/lib/Fey/Object/Iterator/ Fey-ORM-0.18/lib/Fey/Object/Iterator/Caching.pm Fey-ORM-0.18/lib/Fey/Object/Schema.pm Fey-ORM-0.18/lib/Fey/Object/Iterator.pm Fey-ORM-0.18/lib/Fey/ORM/ Fey-ORM-0.18/lib/Fey/ORM/Table.pm Fey-ORM-0.18/lib/Fey/ORM/Manual.pod Fey-ORM-0.18/lib/Fey/ORM/Exceptions.pm Fey-ORM-0.18/lib/Fey/ORM/Manual/ Fey-ORM-0.18/lib/Fey/ORM/Manual/Intro.pod Fey-ORM-0.18/lib/Fey/ORM/Schema.pm Fey-ORM-0.18/Changes Fey-ORM-0.18/eg/ Fey-ORM-0.18/eg/Vendor.pm Fey-ORM-0.18/Makefile.PL Fey-ORM-0.18/README Fey-ORM-0.18/MANIFEST Fey-ORM-0.18/Build.PL Fey-ORM-0.18/t/ Fey-ORM-0.18/t/lib/ Fey-ORM-0.18/t/lib/Fey/ Fey-ORM-0.18/t/lib/Fey/ORM/ Fey-ORM-0.18/t/lib/Fey/ORM/Test.pm Fey-ORM-0.18/t/lib/Fey/ORM/Test/ Fey-ORM-0.18/t/lib/Fey/ORM/Test/Iterator.pm Fey-ORM-0.18/t/Class/ Fey-ORM-0.18/t/Class/Schema.t Fey-ORM-0.18/t/Class/Table.t Fey-ORM-0.18/t/Class/Table-has_many.t Fey-ORM-0.18/t/Class/Table-has_one.t Fey-ORM-0.18/t/kwalitee.t Fey-ORM-0.18/t/pod.t Fey-ORM-0.18/t/pod-coverage.t Fey-ORM-0.18/t/Object/ Fey-ORM-0.18/t/Object/Table-cache.t Fey-ORM-0.18/t/Object/Iterator.t Fey-ORM-0.18/t/Object/Schema.t Fey-ORM-0.18/t/Object/Iterator/ Fey-ORM-0.18/t/Object/Iterator/Caching.t Fey-ORM-0.18/t/Object/Table.t Fey-ORM-0.18/t/Object/Table-select-attr.t Fey-ORM-0.18/t/Object/Table-has_many.t Fey-ORM-0.18/t/Object/Table-has_one.t Fey-ORM-0.18/SIGNATURE Fey-ORM-0.18/TODO CPAN.pm: Going to build D/DR/DROLSKY/Fey-ORM-0.18.tar.gz >>> /export/home/fly1064/bin/perl Makefile.PL # running Build.PL /export/home/fly1064/bin/perl Build.PL - ERROR: Fey::DBIManager is not installed - ERROR: MooseX::ClassAttribute 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.18' ---- Unsatisfied dependencies detected during ---- ---- DROLSKY/Fey-ORM-0.18.tar.gz ---- Fey::DBIManager [requires] MooseX::ClassAttribute [requires] Running make test Delayed until after prerequisites Running test for module 'Fey::DBIManager' 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 >>> /export/home/fly1064/bin/perl Makefile.PL # running Build.PL /export/home/fly1064/bin/perl 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.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.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 >>> /export/home/fly1064/bin/perl 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 /export/home/fly1064/bin/perl "-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, 10 wallclock secs ( 0.82 usr 0.25 sys + 8.34 cusr 0.80 csys = 10.21 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 /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB && tar cvf - DBD-Mock-1.39.ppd blib) | gzip -c >/export/home/fly1064/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 /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/DBD-Mock-1.39.ppd /export/home/fly1064/var/REPO/D/DR/DROLSKY Running make for D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz Prepending /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI Prepending /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/Fey-DBIManager-0.09.tar.gz >>> make /export/home/fly1064/bin/perl 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 /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 /export/home/fly1064/bin/perl 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 /export/home/fly1064/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, 6 wallclock secs ( 0.18 usr 0.06 sys + 5.65 cusr 0.38 csys = 6.27 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 /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI && tar cvf - Fey-DBIManager-0.09.ppd blib) | gzip -c >/export/home/fly1064/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/ blib/lib/Fey/DBIManager/Source.pm blib/lib/Fey/DBIManager.pm >>> mv /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/Fey-DBIManager-0.09.ppd /export/home/fly1064/var/REPO/D/DR/DROLSKY Running test for module 'MooseX::ClassAttribute' Running make for D/DR/DROLSKY/MooseX-ClassAttribute-0.07.tar.gz Prepending /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/arch /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/lib /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'get' Checksum for /net/nas/data/cpan/authors/id/D/DR/DROLSKY/MooseX-ClassAttribute-0.07.tar.gz ok MooseX-ClassAttribute-0.07/ MooseX-ClassAttribute-0.07/t/ MooseX-ClassAttribute-0.07/t/01-basic.t MooseX-ClassAttribute-0.07/t/04-with-attribute-helpers.t MooseX-ClassAttribute-0.07/t/03-introspection.t MooseX-ClassAttribute-0.07/t/pod.t MooseX-ClassAttribute-0.07/t/lib/ MooseX-ClassAttribute-0.07/t/lib/SharedTests.pm MooseX-ClassAttribute-0.07/t/02-immutable.t MooseX-ClassAttribute-0.07/t/pod-coverage.t MooseX-ClassAttribute-0.07/.shipit MooseX-ClassAttribute-0.07/META.yml MooseX-ClassAttribute-0.07/Changes MooseX-ClassAttribute-0.07/README MooseX-ClassAttribute-0.07/MANIFEST MooseX-ClassAttribute-0.07/Makefile.PL MooseX-ClassAttribute-0.07/lib/ MooseX-ClassAttribute-0.07/lib/MooseX/ MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute.pm MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/ MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Meta/ MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Meta/Method/ MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Role/ MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Role/Meta/ MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Role/Meta/Class.pm MooseX-ClassAttribute-0.07/lib/MooseX/ClassAttribute/Role/Meta/Attribute.pm MooseX-ClassAttribute-0.07/SIGNATURE MooseX-ClassAttribute-0.07/Build.PL Prepending /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/arch /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/lib /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/MooseX-ClassAttribute-0.07.tar.gz >>> /export/home/fly1064/bin/perl Makefile.PL # running Build.PL /export/home/fly1064/bin/perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'MooseX-ClassAttribute' version '0.07' >>> make /export/home/fly1064/bin/perl Build --makefile_env_macros 1 Copying lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm -> blib/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm Copying lib/MooseX/ClassAttribute/Role/Meta/Attribute.pm -> blib/lib/MooseX/ClassAttribute/Role/Meta/Attribute.pm Copying lib/MooseX/ClassAttribute/Role/Meta/Class.pm -> blib/lib/MooseX/ClassAttribute/Role/Meta/Class.pm Copying lib/MooseX/ClassAttribute.pm -> blib/lib/MooseX/ClassAttribute.pm Manifying blib/lib/MooseX/ClassAttribute.pm -> blib/libdoc/MooseX::ClassAttribute.3 Manifying blib/lib/MooseX/ClassAttribute/Role/Meta/Attribute.pm -> blib/libdoc/MooseX::ClassAttribute::Role::Meta::Attribute.3 Manifying blib/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm -> blib/libdoc/MooseX::ClassAttribute::Meta::Method::Accessor.3 Manifying blib/lib/MooseX/ClassAttribute/Role/Meta/Class.pm -> blib/libdoc/MooseX::ClassAttribute::Role::Meta::Class.3 HTMLifying blib/lib/MooseX/ClassAttribute.pm -> blib/libhtml/site/lib/MooseX/ClassAttribute.html HTMLifying blib/lib/MooseX/ClassAttribute/Role/Meta/Attribute.pm -> blib/libhtml/site/lib/MooseX/ClassAttribute/Role/Meta/Attribute.html HTMLifying blib/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm -> blib/libhtml/site/lib/MooseX/ClassAttribute/Meta/Method/Accessor.html HTMLifying blib/lib/MooseX/ClassAttribute/Role/Meta/Class.pm -> blib/libhtml/site/lib/MooseX/ClassAttribute/Role/Meta/Class.html DROLSKY/MooseX-ClassAttribute-0.07.tar.gz make -- OK Prepending /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/arch /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/lib /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 /export/home/fly1064/bin/perl Build --makefile_env_macros 1 test t/01-basic..................... 1..24 ok 1 - ObjectCount() is 0 ok 2 - size is 5 - object attribute works as expected ok 3 - ObjectCount() is 1 ok 4 - size is 10 - object attribute can be set via constructor ok 5 - ObjectCount() is 2 ok 6 - ObjectCount() is 2 - can call class attribute accessor on object ok 7 - class attributes passed to the constructor do not get set in the object ok 8 - class attributes are not affected by constructor params ok 9 - weak class attributes are weak ok 10 - $HasClassAttribute::Lazy is 0 ok 11 - HasClassAttribute->LazyAttribute() is 1 ok 12 - $HasClassAttribute::Lazy is 1 after calling LazyAttribute ok 13 - cannot set read-only class attribute ok 14 - Child class can extend parent's class attribute ok 15 - HasM() returns false before M is set ok 16 - HasM() returns true after M is set ok 17 - M() returns 22 ok 18 - HasM() returns false after M is cleared ok 19 - has a Delegetee object isa Delegatee ok 20 - units() delegates to Delegatee and returns 5 ok 21 - there are no keys in the mapping yet ok 22 - key does not exist in mapping ok 23 - key does exist in mapping ok 24 - value for a in mapping is 20 ok t/02-immutable................. 1..24 ok 1 - ObjectCount() is 0 ok 2 - size is 5 - object attribute works as expected ok 3 - ObjectCount() is 1 ok 4 - size is 10 - object attribute can be set via constructor ok 5 - ObjectCount() is 2 ok 6 - ObjectCount() is 2 - can call class attribute accessor on object ok 7 - class attributes passed to the constructor do not get set in the object ok 8 - class attributes are not affected by constructor params ok 9 - weak class attributes are weak ok 10 - $HasClassAttribute::Lazy is 0 ok 11 - HasClassAttribute->LazyAttribute() is 1 ok 12 - $HasClassAttribute::Lazy is 1 after calling LazyAttribute ok 13 - cannot set read-only class attribute ok 14 - Child class can extend parent's class attribute ok 15 - HasM() returns false before M is set ok 16 - HasM() returns true after M is set ok 17 - M() returns 22 ok 18 - HasM() returns false after M is cleared ok 19 - has a Delegetee object isa Delegatee ok 20 - units() delegates to Delegatee and returns 5 ok 21 - there are no keys in the mapping yet ok 22 - key does not exist in mapping ok 23 - key does exist in mapping ok 24 - value for a in mapping is 20 ok t/03-introspection............. 1..14 ok 1 - has_class_attribute('ObjectCount') returns true ok 2 - get_class_attribute_list returns an object which does the MooseX::ClassAttribute::Role::Meta::Attribute role ok 3 - HasClassAttribute get_class_attribute_list gets all class attributes ok 4 - HasClassAttribute get_all_attributes only finds size attribute ok 5 - HasClassAttribute get_all_class_attributes gets all class attributes ok 6 - HasClassAttribute get_class_attribute_map gets all class attributes ok 7 - Child get_class_attribute_map gets all class attributes ok 8 - has_class_attribute('ObjectCount') returns false for Child ok 9 - has_class_attribute('YetAnotherAttribute') returns true for Child ok 10 - Child has accessor for YetAnotherAttribute ok 11 - Child has class attribute value for YetAnotherAttribute ok 12 - ... has_class_attribute('YetAnotherAttribute') returns false after remove_class_attribute ok 13 - accessor for YetAnotherAttribute has been removed ok 14 - Child does not have a class attribute value for YetAnotherAttribute ok t/04-with-attribute-helpers.... 1..2 ok 1 ok 2 ok 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=64, 7 wallclock secs ( 0.20 usr 0.08 sys + 6.06 cusr 0.39 csys = 6.73 CPU) Result: PASS DROLSKY/MooseX-ClassAttribute-0.07.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> Declare class attributes Moose-style >>> (cd /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD && tar cvf - MooseX-ClassAttribute-0.07.ppd blib) | gzip -c >/export/home/fly1064/var/REPO/D/DR/DROLSKY/MooseX-ClassAttribute-0.07.tar.gz MooseX-ClassAttribute-0.07.ppd blib/ blib/lib/ blib/lib/MooseX/ blib/lib/MooseX/ClassAttribute/ blib/lib/MooseX/ClassAttribute/Meta/ blib/lib/MooseX/ClassAttribute/Meta/Method/ blib/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm blib/lib/MooseX/ClassAttribute/Role/ blib/lib/MooseX/ClassAttribute/Role/Meta/ blib/lib/MooseX/ClassAttribute/Role/Meta/Attribute.pm blib/lib/MooseX/ClassAttribute/Role/Meta/Class.pm blib/lib/MooseX/ClassAttribute.pm >>> mv /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/MooseX-ClassAttribute-0.07.ppd /export/home/fly1064/var/REPO/D/DR/DROLSKY Running make for D/DR/DROLSKY/Fey-ORM-0.18.tar.gz Prepending /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/blib/arch /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/blib/lib /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/arch /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/lib /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /export/home/fly1064/var/cpan/build/Fey-ORM-0.18-CZ8h3c Prepending /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/blib/arch /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/blib/lib /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/arch /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/lib /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/Fey-ORM-0.18.tar.gz >>> make /export/home/fly1064/bin/perl Build --makefile_env_macros 1 Build: blib/lib/Fey/ORM/Exceptions.pm: cannot resolve L in paragraph 25. Copying lib/Fey/Meta/HasMany/ViaSelect.pm -> blib/lib/Fey/Meta/HasMany/ViaSelect.pm Copying lib/Fey/Meta/HasOne/ViaSelect.pm -> blib/lib/Fey/Meta/HasOne/ViaSelect.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/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/Meta/HasOne.pm -> blib/lib/Fey/Meta/HasOne.pm Copying lib/Fey/ORM/Exceptions.pm -> blib/lib/Fey/ORM/Exceptions.pm Copying lib/Fey/ORM/Table.pm -> blib/lib/Fey/ORM/Table.pm Copying lib/Fey/Meta/Class/Schema.pm -> blib/lib/Fey/Meta/Class/Schema.pm 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/Meta/FK.pm -> blib/lib/Fey/Meta/FK.pm Copying lib/Fey/Meta/HasMany/ViaFK.pm -> blib/lib/Fey/Meta/HasMany/ViaFK.pm Copying lib/Fey/Meta/Attribute/FromSelect.pm -> blib/lib/Fey/Meta/Attribute/FromSelect.pm Copying lib/Fey/Object/Schema.pm -> blib/lib/Fey/Object/Schema.pm Copying lib/Fey/Meta/HasMany.pm -> blib/lib/Fey/Meta/HasMany.pm Copying lib/Fey/Meta/Method/Constructor.pm -> blib/lib/Fey/Meta/Method/Constructor.pm Copying lib/Fey/Meta/HasOne/ViaFK.pm -> blib/lib/Fey/Meta/HasOne/ViaFK.pm Copying lib/Fey/Object/Iterator.pm -> blib/lib/Fey/Object/Iterator.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/ORM/Table.pm -> blib/libdoc/Fey::ORM::Table.3 Manifying blib/lib/Fey/ORM/Exceptions.pm -> blib/libdoc/Fey::ORM::Exceptions.3 Manifying blib/lib/Fey/Meta/Class/Table.pm -> blib/libdoc/Fey::Meta::Class::Table.3 Manifying blib/lib/Fey/Meta/HasOne.pm -> blib/libdoc/Fey::Meta::HasOne.3 Manifying blib/lib/Fey/Meta/HasMany/ViaFK.pm -> blib/libdoc/Fey::Meta::HasMany::ViaFK.3 Manifying blib/lib/Fey/Meta/HasMany/ViaSelect.pm -> blib/libdoc/Fey::Meta::HasMany::ViaSelect.3 Manifying blib/lib/Fey/Meta/Class/Schema.pm -> blib/libdoc/Fey::Meta::Class::Schema.3 Manifying blib/lib/Fey/Meta/HasMany.pm -> blib/libdoc/Fey::Meta::HasMany.3 Manifying blib/lib/Fey/ORM/Manual.pod -> blib/libdoc/Fey::ORM::Manual.3 Manifying blib/lib/Fey/Object/Iterator.pm -> blib/libdoc/Fey::Object::Iterator.3 Manifying blib/lib/Fey/Meta/HasOne/ViaFK.pm -> blib/libdoc/Fey::Meta::HasOne::ViaFK.3 Manifying blib/lib/Fey/Object/Iterator/Caching.pm -> blib/libdoc/Fey::Object::Iterator::Caching.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/Hash/ColumnsKey.pm -> blib/libdoc/Fey::Hash::ColumnsKey.3 Manifying blib/lib/Fey/Meta/FK.pm -> blib/libdoc/Fey::Meta::FK.3 Manifying blib/lib/Fey/ORM.pm -> blib/libdoc/Fey::ORM.3 Manifying blib/lib/Fey/ORM/Manual/Intro.pod -> blib/libdoc/Fey::ORM::Manual::Intro.3 Manifying blib/lib/Fey/Meta/HasOne/ViaSelect.pm -> blib/libdoc/Fey::Meta::HasOne::ViaSelect.3 Manifying blib/lib/Fey/ORM/Schema.pm -> blib/libdoc/Fey::ORM::Schema.3 HTMLifying blib/lib/Fey/Object/Schema.pm -> blib/libhtml/site/lib/Fey/Object/Schema.html HTMLifying blib/lib/Fey/ORM/Table.pm -> blib/libhtml/site/lib/Fey/ORM/Table.html HTMLifying blib/lib/Fey/ORM/Exceptions.pm -> blib/libhtml/site/lib/Fey/ORM/Exceptions.html HTMLifying blib/lib/Fey/Meta/Class/Table.pm -> blib/libhtml/site/lib/Fey/Meta/Class/Table.html HTMLifying blib/lib/Fey/Meta/HasOne.pm -> blib/libhtml/site/lib/Fey/Meta/HasOne.html HTMLifying blib/lib/Fey/Meta/HasMany/ViaFK.pm -> blib/libhtml/site/lib/Fey/Meta/HasMany/ViaFK.html HTMLifying blib/lib/Fey/Meta/HasMany/ViaSelect.pm -> blib/libhtml/site/lib/Fey/Meta/HasMany/ViaSelect.html HTMLifying blib/lib/Fey/Meta/Class/Schema.pm -> blib/libhtml/site/lib/Fey/Meta/Class/Schema.html HTMLifying blib/lib/Fey/Meta/HasMany.pm -> blib/libhtml/site/lib/Fey/Meta/HasMany.html HTMLifying blib/lib/Fey/ORM/Manual.pod -> blib/libhtml/site/lib/Fey/ORM/Manual.html HTMLifying blib/lib/Fey/Object/Iterator.pm -> blib/libhtml/site/lib/Fey/Object/Iterator.html HTMLifying blib/lib/Fey/Meta/HasOne/ViaFK.pm -> blib/libhtml/site/lib/Fey/Meta/HasOne/ViaFK.html HTMLifying blib/lib/Fey/Object/Iterator/Caching.pm -> blib/libhtml/site/lib/Fey/Object/Iterator/Caching.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/Hash/ColumnsKey.pm -> blib/libhtml/site/lib/Fey/Hash/ColumnsKey.html HTMLifying blib/lib/Fey/Meta/FK.pm -> blib/libhtml/site/lib/Fey/Meta/FK.html HTMLifying blib/lib/Fey/ORM.pm -> blib/libhtml/site/lib/Fey/ORM.html HTMLifying blib/lib/Fey/ORM/Manual/Intro.pod -> blib/libhtml/site/lib/Fey/ORM/Manual/Intro.html HTMLifying blib/lib/Fey/Meta/HasOne/ViaSelect.pm -> blib/libhtml/site/lib/Fey/Meta/HasOne/ViaSelect.html HTMLifying blib/lib/Fey/ORM/Schema.pm -> blib/libhtml/site/lib/Fey/ORM/Schema.html DROLSKY/Fey-ORM-0.18.tar.gz make -- OK Prepending /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/blib/arch /export/home/fly1064/var/cpan/build/MooseX-ClassAttribute-0.07-7opTVD/blib/lib /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/arch /export/home/fly1064/var/cpan/build/Fey-DBIManager-0.09-vDMzeI/blib/lib /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/arch /export/home/fly1064/var/cpan/build/DBD-Mock-1.39-147JUB/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 /export/home/fly1064/bin/perl 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..37 ok 1 - User->can('messages') ok 2 - User has one has_many relationship ok 3 - The object isa Fey::Meta::HasMany::ViaFK ok 4 - associated_class is User->meta() ok 5 - name is message ok 6 - table is User table object ok 7 - foreign_table is Message table object ok 8 - is_cached is false ok 9 - fk source table is User ok 10 - fk target table is Message ok 11 - associated_method is same as messages meta method ok 12 - iterator class is Fey::Object::Iterator ok 13 - order_by is undefined ok 14 - no has manies after calling remove_has_many ok 15 - no messages method after calling remove_has_many ok 16 - User has one has_many relationship ok 17 - is_cached is true ok 18 - iterator class is Fey::Object::Iterator::Caching ok 19 - found method for messages ok 20 - order_by is just message_id column ok 21 - Cannot declare a has_many relationship to a table with which we have no FK ok 22 - no exception declaring a self-referential has_many ok 23 - table without a schema passed to has_many() ok 24 - Message->can('child_message_users') ok 25 - Message has one has_many relationship ok 26 - The object isa Fey::Meta::HasMany::ViaSelect ok 27 - associated_class is Message->meta() ok 28 - name is message ok 29 - table is Message table object ok 30 - foreign_table is User table object ok 31 - is_cached is false ok 32 - associated_method is same as child_message_users meta method ok 33 - iterator class is Fey::Object::Iterator ok 34 - Message->can('child_message_users') ok 35 - found method for child_message_users ok 36 - exception is thrown if trying to make a has_many() when there is >1 fk between the two tables ok 37 - no error when specifying passing a disambiguating fk to has_many ok t/Class/Table-has_one......... 1..49 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 - one has_one for Message class ok 6 - The object isa Fey::Meta::HasOne::ViaFK ok 7 - associated_class is Message->meta() ok 8 - name is user ok 9 - table is Message table object ok 10 - foreign_table is User table object ok 11 - is_cached is true ok 12 - allows_undef is false ok 13 - fk source table is Message ok 14 - fk target table is User ok 15 - associated_method is undef ok 16 - associated attribute is same as the one in the metaclass ok 17 - no has_ones after calling remove_has_one ok 18 - does not have a user attribute after calling remove_has_one ok 19 - user attribute type constraint is Maybe[Fey::Object::Table] ok 20 - one has_one for Message class ok 21 - allows_undef is true ok 22 - Message->can('my_user') ok 23 - Message->can('_clear_my_user') ok 24 - found attribute for my_user ok 25 - my_user attribute default is a coderef ok 26 - my_user attribute type constraint is Fey::Object::Table ok 27 - Message->can('user') ok 28 - no clearer for non-cached has_one ok 29 - Message does not have an attribute for user (but does have a user() method) ok 30 - one has_one for Message class ok 31 - associated_method matches user method in Message class ok 32 - Message->can('username') ok 33 - Message->can('email') ok 34 - Cannot declare a has_one relationship to a table with which we have no FK ok 35 - no exception declaring a self-referential has_one ok 36 - table without a schema passed to has_one() ok 37 - exception is thrown if trying to make a has_one() when there is >1 fk between the two tables ok 38 - no error when specifying passing a disambiguating fk to has_one ok 39 - fk matches the one passed to has_one ok 40 - Message->can('most_recent_child') ok 41 - found attribute for most_recent_child ok 42 - most_recent_child attribute default is a coderef ok 43 - most_recent_child attribute type constraint is Maybe[Fey::Object::Table] ok 44 - one has_one for Message class ok 45 - The object isa Fey::Meta::HasOne::ViaSelect ok 46 - name is most_recent_child ok 47 - allows_undef is true ok 48 - Message->can('most_recent_child') ok 49 - 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.............Name "DBD::SQLite::sqlite_version" used only once: possible typo at /export/home/fly1064/ap1003/lib/DynaLoader.pm line 225. 1..38 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 in sql object ok 24 - second user_id with bind params in sql object ok 25 - first user_id with explicit bind params ok 26 - second user_id with explicit 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 36 - cannot pass empty array for classes attribute ok 37 - classes attribute must contain Fey::Object subclasses ok 38 - cannot pass strings for classes attribute, must be a Fey::Object subclass ok t/Object/Iterator/Caching.....Name "DBD::SQLite::sqlite_version" used only once: possible typo at /export/home/fly1064/ap1003/lib/DynaLoader.pm line 225. 1..45 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 in sql object ok 24 - second user_id with bind params in sql object ok 25 - first user_id with explicit bind params ok 26 - second user_id with explicit 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 36 - index() is 1 after reset and first row has been fetched ok 37 - user_id = 1 ok 38 - username = autarch ok 39 - email = autarch@example.com ok 40 - index() is 2 after second row has been fetched ok 41 - user_id = 42 ok 42 - username = bubba ok 43 - email = bubba@example.com ok 44 - index() is 2 after attempt to fetch another row ok 45 - $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..17 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 - cached has_many methods return a new iterator on each call ok 6 - first iterator ->next returns first message ok 7 - second iterator ->next returns first message (they do not share state) ok 8 - first iterator ->next returns second message ok 9 - first iterator ->next returns third message ok 10 - second iterator ->next returns second message (they do not share state) ok 11 - Can access a cloned iterator while looping over the original ok 12 - messages() method returns iterator with expected message data ok 13 - messages() method returns iterator with expected message data ok 14 - messages() method resets iterator with each call ok 15 - found two users from child_message_user() ok 16 - users are returned in expected order ok 17 - two objects do not share a single iterator 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..8 ok 1 - email_length accessor gets the right value ok 2 - user_ids returns an arrayref with the expected values ok 3 - email_length meta-attr isa Fey::Meta::Attribute::FromSelect ok 4 - select for attr is the expected SQL ok 5 - bind_params subroutine reference returns user_id ok 6 - user_ids meta-attr isa Fey::Meta::Attribute::FromSelect ok 7 - select for attr is the expected SQL ok 8 - attr has no associated bind_params sub ref ok t/Object/Table................ 1..73 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 - insert_many() does not alter its parameters ok 19 - two new users were inserted ok 20 - users were returned with expected data in the order they were provided ok 21 - email is not cleared when update value is a non-reference ok 22 - username = updated ok 23 - email = updated@example.com ok 24 - username is cleared when update value is a reference ok 25 - username = updated2 ok 26 - _load_from_dbms() is not called when _from_query is passed to the constructor ok 27 - data passed to constructor is available from object ok 28 - new() with _from_query requires the primary key ok 29 - new() with _from_query works when given a candidate key ok 30 - pk_values_list returns expected values ok 31 - pk_values_list returns expected values ok 32 - The object isa Email ok 33 - deflator intercepts Email object passed to update and turns it into a string ok 34 - check email in dbms after update with deflator ok 35 - deflator intercepts Email object passed to insert and turns it into a string ok 36 - check email in dbms after insert with deflator ok 37 - Count() finds two rows ok 38 - was able to load user where user_id = 1 ok 39 - username is set as side effect of calling _get_column_values() ok 40 - email is set as side effect of calling _get_column_values() ok 41 - calling User->new() twice with the same user_id returns two different objects ok 42 - username is fetched as needed ok 43 - email is set as side effect of calling username() ok 44 - nonexistent user_id to new() returns undef ok 45 - new() is not called when insert() is done in void context ok 46 - Count() is now 3 ok 47 - object returned from insert() has username = new2 ok 48 - object returned from insert() has a user id > 0 (fetched via last_insert_id()) ok 49 - Count() is now 4 ok 50 - literals are handled correctly in an insert ok 51 - got expected user when creating object via username ok 52 - error message when we cannot find a matching row in the dbms ok 53 - error message when we cannot find a matching row for any keys ok 54 - insert_many() does not alter its parameters ok 55 - two new users were inserted ok 56 - users were returned with expected data in the order they were provided ok 57 - email is not cleared when update value is a non-reference ok 58 - username = updated ok 59 - email = updated@example.com ok 60 - username is cleared when update value is a reference ok 61 - username = updated2 ok 62 - _load_from_dbms() is not called when _from_query is passed to the constructor ok 63 - data passed to constructor is available from object ok 64 - new() with _from_query requires the primary key ok 65 - new() with _from_query works when given a candidate key ok 66 - pk_values_list returns expected values ok 67 - pk_values_list returns expected values ok 68 - The object isa Email ok 69 - deflator intercepts Email object passed to update and turns it into a string ok 70 - check email in dbms after update with deflator ok 71 - deflator intercepts Email object passed to insert and turns it into a string ok 72 - check email in dbms after insert with deflator ok 73 - 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=342, 45 wallclock secs ( 0.43 usr 0.20 sys + 43.00 cusr 2.09 csys = 45.72 CPU) Result: PASS DROLSKY/Fey-ORM-0.18.tar.gz make test TEST_VERBOSE=1 -- OK Dave Rolsky <autarch@urth.org> A Fey-based ORM >>> (cd /export/home/fly1064/var/cpan/build/Fey-ORM-0.18-CZ8h3c && tar cvf - Fey-ORM-0.18.ppd blib) | gzip -c >/export/home/fly1064/var/REPO/D/DR/DROLSKY/Fey-ORM-0.18.tar.gz Fey-ORM-0.18.ppd blib/ blib/lib/ blib/lib/Fey/ blib/lib/Fey/Meta/ blib/lib/Fey/Meta/HasMany/ blib/lib/Fey/Meta/HasMany/ViaSelect.pm blib/lib/Fey/Meta/HasMany/ViaFK.pm blib/lib/Fey/Meta/HasOne/ blib/lib/Fey/Meta/HasOne/ViaSelect.pm blib/lib/Fey/Meta/HasOne/ViaFK.pm blib/lib/Fey/Meta/HasOne.pm blib/lib/Fey/Meta/Class/ blib/lib/Fey/Meta/Class/Schema.pm blib/lib/Fey/Meta/Class/Table.pm blib/lib/Fey/Meta/FK.pm blib/lib/Fey/Meta/Attribute/ blib/lib/Fey/Meta/Attribute/FromSelect.pm blib/lib/Fey/Meta/HasMany.pm blib/lib/Fey/Meta/Method/ blib/lib/Fey/Meta/Method/Constructor.pm blib/lib/Fey/ORM/ blib/lib/Fey/ORM/Schema.pm blib/lib/Fey/ORM/Exceptions.pm blib/lib/Fey/ORM/Table.pm blib/lib/Fey/ORM/Manual/ blib/lib/Fey/ORM/Manual/Intro.pod blib/lib/Fey/ORM/Manual.pod blib/lib/Fey/ORM.pm blib/lib/Fey/Object/ blib/lib/Fey/Object/Iterator/ blib/lib/Fey/Object/Iterator/Caching.pm blib/lib/Fey/Object/Table.pm blib/lib/Fey/Object/Schema.pm blib/lib/Fey/Object/Iterator.pm blib/lib/Fey/Hash/ blib/lib/Fey/Hash/ColumnsKey.pm >>> mv /export/home/fly1064/var/cpan/build/Fey-ORM-0.18-CZ8h3c/Fey-ORM-0.18.ppd /export/home/fly1064/var/REPO/D/DR/DROLSKY Finished 2009-01-14T21:00:47