PATH=/usr/bin:/bin:/home/fly1400/var/megalib/bin Start 2014-07-28T16:31:01 ActivePerl-1400 CPAN-2.00 Reading '/home/fly1400/var/cpan/Metadata' Database was generated on Mon, 28 Jul 2014 21:41:02 GMT Running make for T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/CHECKSUMS Checksum for /home/fly1400/var/cpan/sources/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz ok WebAPI-DBIC-0.001004 WebAPI-DBIC-0.001004/README WebAPI-DBIC-0.001004/Changes WebAPI-DBIC-0.001004/LICENSE WebAPI-DBIC-0.001004/cpanfile WebAPI-DBIC-0.001004/dist.ini WebAPI-DBIC-0.001004/META.yml WebAPI-DBIC-0.001004/MANIFEST WebAPI-DBIC-0.001004/NOTES.pod WebAPI-DBIC-0.001004/README.md WebAPI-DBIC-0.001004/META.json WebAPI-DBIC-0.001004/Makefile.PL WebAPI-DBIC-0.001004/t WebAPI-DBIC-0.001004/t/10-basics.t WebAPI-DBIC-0.001004/t/11-paging.t WebAPI-DBIC-0.001004/t/13-fields.t WebAPI-DBIC-0.001004/t/50-modify.t WebAPI-DBIC-0.001004/t/60-invoke.t WebAPI-DBIC-0.001004/t/00-compile.t WebAPI-DBIC-0.001004/t/53-put_rel.t WebAPI-DBIC-0.001004/t/14-distinct.t WebAPI-DBIC-0.001004/t/20-prefetch.t WebAPI-DBIC-0.001004/t/30-ordering.t WebAPI-DBIC-0.001004/t/52-post_rel.t WebAPI-DBIC-0.001004/t/lib WebAPI-DBIC-0.001004/t/lib/TestDS.pm WebAPI-DBIC-0.001004/t/12-searching.t WebAPI-DBIC-0.001004/lib/WebAPI WebAPI-DBIC-0.001004/lib/WebAPI/DBIC.pm WebAPI-DBIC-0.001004/t/lib/TestSchema.pm WebAPI-DBIC-0.001004/data_service_api.pod WebAPI-DBIC-0.001004/webapi-dbic-any.psgi WebAPI-DBIC-0.001004/t/lib/DummySchema.pm WebAPI-DBIC-0.001004/webapi-dbic-demo.psgi WebAPI-DBIC-0.001004/hal-browser WebAPI-DBIC-0.001004/hal-browser/README.md WebAPI-DBIC-0.001004/hal-browser/js WebAPI-DBIC-0.001004/hal-browser/js/hal.js WebAPI-DBIC-0.001004/hal-browser/styles.css WebAPI-DBIC-0.001004/t/release-pod-syntax.t WebAPI-DBIC-0.001004/lib/WebAPI/DBIC WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Util.pm WebAPI-DBIC-0.001004/hal-browser/browser.html WebAPI-DBIC-0.001004/t/lib/TestRole WebAPI-DBIC-0.001004/t/lib/TestRole/Schema.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/WebApp.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Machine.pm WebAPI-DBIC-0.001004/t/lib/DummyLoadedSchema.pm WebAPI-DBIC-0.001004/hal-browser/MIT-LICENSE.txt WebAPI-DBIC-0.001004/hal-browser/js/hal WebAPI-DBIC-0.001004/hal-browser/js/hal/browser.js WebAPI-DBIC-0.001004/t/lib/TestSchema/Result WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/CD.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/resource.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Base.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Genre.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Track.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/http WebAPI-DBIC-0.001004/hal-browser/js/hal/http/client.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views WebAPI-DBIC-0.001004/hal-browser/js/hal/views/links.js WebAPI-DBIC-0.001004/hal-browser/vendor/js WebAPI-DBIC-0.001004/hal-browser/vendor/js/backbone.js WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Artist.pm WebAPI-DBIC-0.001004/hal-browser/vendor/js/bootstrap.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Role WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Role/JsonParams.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/browser.js WebAPI-DBIC-0.001004/hal-browser/vendor/js/underscore.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Role/JsonEncoder.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Producer.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/explorer.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/resource.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/response.js WebAPI-DBIC-0.001004/hal-browser/vendor/css WebAPI-DBIC-0.001004/hal-browser/vendor/css/bootstrap.css WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/Set.pm WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable/Factory.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/inspector.js WebAPI-DBIC-0.001004/hal-browser/vendor/js/uritemplates.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBIC.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/Item.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/navigation.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/properties.js WebAPI-DBIC-0.001004/hal-browser/vendor/img WebAPI-DBIC-0.001004/hal-browser/vendor/img/ajax-loader.gif WebAPI-DBIC-0.001004/hal-browser/vendor/js/jquery-1.10.2.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/location_bar.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/documentation.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/response_body.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/CD_to_Producer.pm WebAPI-DBIC-0.001004/hal-browser/vendor/js/jquery-1.10.2.min.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/SetRender.pm WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable/Role WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/request_headers.js WebAPI-DBIC-0.001004/hal-browser/vendor/js/jquery-1.10.2.min.map WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/query_uri_dialog.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/response_headers.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/embedded_resource.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/embedded_resources.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBICException.pm WebAPI-DBIC-0.001004/hal-browser/vendor/css/bootstrap-responsive.css WebAPI-DBIC-0.001004/hal-browser/vendor/img/glyphicons-halflings.png WebAPI-DBIC-0.001004/hal-browser/js/hal/views/non_safe_request_dialog.js WebAPI-DBIC-0.001004/hal-browser/vendor/img/glyphicons-halflings-white.png CPAN.pm: Building T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz >>> /home/fly1400/ap1400/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WebAPI::DBIC Writing MYMETA.yml and MYMETA.json >>> make cp lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm cp lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm cp lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm blib/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm cp lib/WebAPI/HTTP/Throwable/Factory.pm blib/lib/WebAPI/HTTP/Throwable/Factory.pm cp lib/WebAPI/DBIC/Role/JsonEncoder.pm blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm cp lib/WebAPI/DBIC.pm blib/lib/WebAPI/DBIC.pm cp lib/WebAPI/DBIC/Resource/Role/Set.pm blib/lib/WebAPI/DBIC/Resource/Role/Set.pm cp lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm cp lib/WebAPI/DBIC/Resource/Role/DBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm cp data_service_api.pod blib/lib/WebAPI/data_service_api.pod cp lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm cp lib/WebAPI/DBIC/Role/JsonParams.pm blib/lib/WebAPI/DBIC/Role/JsonParams.pm cp lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm cp lib/WebAPI/DBIC/Resource/Role/Item.pm blib/lib/WebAPI/DBIC/Resource/Role/Item.pm cp NOTES.pod blib/lib/WebAPI/NOTES.pod cp lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm blib/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm cp lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Resource/Base.pm cp lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm cp lib/WebAPI/DBIC/Resource/Role/SetWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm cp lib/WebAPI/DBIC/Util.pm blib/lib/WebAPI/DBIC/Util.pm cp lib/WebAPI/DBIC/Resource/Role/SetRender.pm blib/lib/WebAPI/DBIC/Resource/Role/SetRender.pm cp lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm cp lib/WebAPI/DBIC/WebApp.pm blib/lib/WebAPI/DBIC/WebApp.pm cp lib/WebAPI/DBIC/Machine.pm blib/lib/WebAPI/DBIC/Machine.pm Manifying blib/man3/WebAPI::NOTES.3 Manifying blib/man3/WebAPI::data_service_api.3 Manifying blib/man3/WebAPI::DBIC.3 Manifying blib/man3/WebAPI::DBIC::Machine.3 Manifying blib/man3/WebAPI::DBIC::Resource::Base.3 Manifying blib/man3/WebAPI::DBIC::Resource::GenericItemDBIC.3 Manifying blib/man3/WebAPI::DBIC::Resource::GenericItemInvoke.3 Manifying blib/man3/WebAPI::DBIC::Resource::GenericSetDBIC.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBIC.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBICAuth.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBICException.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBICParams.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::Item.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::ItemInvoke.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::ItemWritable.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::Set.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::SetRender.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::SetWritable.3 Manifying blib/man3/WebAPI::DBIC::Role::JsonEncoder.3 Manifying blib/man3/WebAPI::DBIC::Role::JsonParams.3 Manifying blib/man3/WebAPI::DBIC::Util.3 Manifying blib/man3/WebAPI::DBIC::WebApp.3 Manifying blib/man3/WebAPI::HTTP::Throwable::Factory.3 Manifying blib/man3/WebAPI::HTTP::Throwable::Role::JSONBody.3 TIMB/WebAPI-DBIC-0.001004.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly1400/ap1400/bin/perl-static "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t .......... ok 1 - require WebAPI::DBIC::Machine; ok 2 - require WebAPI::DBIC::Resource::Base; ok 3 - require WebAPI::DBIC::Resource::GenericItemDBIC; ok 4 - require WebAPI::DBIC::Resource::GenericItemInvoke; ok 5 - require WebAPI::DBIC::Resource::GenericSetDBIC; ok 6 - require WebAPI::DBIC::Resource::Role::DBIC; ok 7 - require WebAPI::DBIC::Resource::Role::DBICAuth; ok 8 - require WebAPI::DBIC::Resource::Role::DBICException; ok 9 - require WebAPI::DBIC::Resource::Role::DBICParams; ok 10 - require WebAPI::DBIC::Resource::Role::Item; ok 11 - require WebAPI::DBIC::Resource::Role::ItemInvoke; ok 12 - require WebAPI::DBIC::Resource::Role::ItemWritable; ok 13 - require WebAPI::DBIC::Resource::Role::Set; ok 14 - require WebAPI::DBIC::Resource::Role::SetRender; ok 15 - require WebAPI::DBIC::Resource::Role::SetWritable; ok 16 - require WebAPI::DBIC::Role::JsonEncoder; ok 17 - require WebAPI::DBIC::Role::JsonParams; ok 18 - require WebAPI::DBIC::Util; ok 19 - require WebAPI::DBIC::WebApp; ok 20 - require WebAPI::HTTP::Throwable::Factory; ok 21 - require WebAPI::HTTP::Throwable::Role::JSONBody; 1..21 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x95251b0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x95254c0), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9549b08), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9549b08), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9552a28), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x93866a0)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9552a28), Moose::Meta::Instance=HASH(0x99414b0), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x93866a0), HASH(0x938d6e0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x98e2a90), HASH(0x938d6e0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x98e2a90), HASH(0x938d6e0)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x98e2a90), HASH(0x938d6e0)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c9c38)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c9c38)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95c9c38)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c9648)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c9648), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c9648), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95c1a78)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x95c1a78)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95c1a78)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95c1a78), "basic") called at t/10-basics.t line 19 main::__ANON__(main=HASH(0x95c1a78)) called at (eval 422) line 16 main::setup(main=HASH(0x95c1a78)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x83c0030), "testing with main", CODE(0x95c5890)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c5890)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/10-basics.t line 68 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x9bc9bc8) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x9bd3958) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x9bd3f48) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x9bd41e8) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x9bd3c88) not handled yet t/10-basics.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Get ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # GET /artist/1 ok 10 ok 11 - response is a ref ok 12 - data isn't a hash ok 13 - set has less than 3 attributes ok 14 - artistid ok 15 - data matches # GET /artist/2 ok 16 ok 17 - response is a ref ok 18 - data isn't a hash ok 19 - set has less than 3 attributes ok 20 - artistid ok 21 - data matches 1..21 ok 2 - ===== Get ===== # Bye! 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x95315f8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9531908), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9553698), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9553698), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x955e0a8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9392000)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x955e0a8), Moose::Meta::Instance=HASH(0x994cd50), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9392000), HASH(0x9399490)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x991a158), HASH(0x9399490)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x991a158), HASH(0x9399490)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x991a158), HASH(0x9399490)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95d62b8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95d62b8)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95d62b8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c0bb0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c0bb0), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c0bb0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x933a988)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x933a988)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x933a988)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x933a988), "basic") called at t/11-paging.t line 21 main::__ANON__(main=HASH(0x933a988)) called at (eval 422) line 16 main::setup(main=HASH(0x933a988)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a708), "testing with main", CODE(0x95bf888)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95bf888)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/11-paging.t line 112 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x9bde920) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x9bdeb70) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x9bdf160) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x9bdf400) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x9bdeea0) not handled yet t/11-paging.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Paging ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # rows 1, page 1 implied # GET /artist?rows=1 ok 10 ok 11 - response is a ref ok 12 - has _embedded hash ok 13 - _embedded has artist ok 14 - set has at least 1 items ok 15 - set has at most 1 items ok 16 - record matches ok 17 - has _links hashref ok 18 - next link ok 19 - should not have prev link ok 20 - should not have first link ok 21 - should not have last link # rows 2, page 1 implied # GET /artist?rows=2 ok 22 ok 23 - response is a ref ok 24 - has _embedded hash ok 25 - _embedded has artist ok 26 - set has at least 2 items ok 27 - set has at most 2 items ok 28 - record matches ok 29 - record matches ok 30 - has _links hashref ok 31 - next link ok 32 - should not have prev link ok 33 - should not have first link ok 34 - should not have last link # rows 3, page 1 implied # GET /artist?rows=3 ok 35 ok 36 - response is a ref ok 37 - has _embedded hash ok 38 - _embedded has artist ok 39 - set has at least 3 items ok 40 - set has at most 3 items ok 41 - record matches ok 42 - record matches ok 43 - record matches ok 44 - has _links hashref ok 45 - next link ok 46 - should not have prev link ok 47 - should not have first link ok 48 - should not have last link # page 1, with small rows param # GET /artist?rows=2&page=1 ok 49 ok 50 - response is a ref ok 51 - has _embedded hash ok 52 - _embedded has artist ok 53 - set has at least 2 items ok 54 - set has at most 2 items ok 55 - record matches ok 56 - record matches ok 57 - has _links hashref ok 58 - next link of /artist?rows=2&page=1 ok 59 - should not have prev link ok 60 - should not have first link ok 61 - should not have last link of /artist?rows=2&page=1 # page 2, with small rows param # GET /artist?rows=2&page=2 ok 62 ok 63 - response is a ref ok 64 - has _embedded hash ok 65 - _embedded has artist ok 66 - set has at least 2 items ok 67 - set has at most 2 items ok 68 - record matches ok 69 - record matches ok 70 - has _links hashref ok 71 - next link of /artist?rows=2&page=2 ok 72 - prev link of /artist?rows=2&page=2 ok 73 - first link of /artist?rows=2&page=2 ok 74 - should not have last link of /artist?rows=2&page=2 # page 1, with small rows param with count # GET /artist?rows=2&with=count&page=1 ok 75 ok 76 - response is a ref ok 77 - has _embedded hash ok 78 - _embedded has artist ok 79 - set has at least 2 items ok 80 - set has at most 2 items ok 81 - record matches ok 82 - record matches ok 83 - has _links hashref ok 84 - next link of /artist?rows=2&with=count&page=1 ok 85 - should not have prev link ok 86 - should not have first link ok 87 - should have last link of /artist?rows=2&with=count&page=1 # page 2, with small rows param with count # GET /artist?rows=2&with=count&page=2 ok 88 ok 89 - response is a ref ok 90 - has _embedded hash ok 91 - _embedded has artist ok 92 - set has at least 2 items ok 93 - set has at most 2 items ok 94 - record matches ok 95 - record matches ok 96 - has _links hashref ok 97 - next link of /artist?rows=2&with=count&page=2 ok 98 - prev link of /artist?rows=2&with=count&page=2 ok 99 - first link of /artist?rows=2&with=count&page=2 ok 100 - should have last link of /artist?rows=2&with=count&page=2 # me.* param pass-thru # GET /artist?me.artistid=1 ok 101 ok 102 - response is a ref ok 103 - has _embedded hash ok 104 - _embedded has artist ok 105 - set has at least 1 items ok 106 - has $data->{_links}{self}{href} ok 107 - me.artistid param passed through 1..107 ok 2 - ===== Paging ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9526620), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9526930), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9547648), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9547648), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9552020), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9385040)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9552020), Moose::Meta::Instance=HASH(0x9941918), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9385040), HASH(0x938da28)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x990f068), HASH(0x938da28)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x990f068), HASH(0x938da28)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x990f068), HASH(0x938da28)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cb1b0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cb1b0)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95cb1b0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95cabc0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95cabc0), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95cabc0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95b1758)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95b1758)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95b1758)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95b1758), "basic") called at t/12-searching.t line 19 main::__ANON__(main=HASH(0x95b1758)) called at (eval 422) line 16 main::setup(main=HASH(0x95b1758)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a028), "testing with main", CODE(0x95c6e08)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c6e08)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/12-searching.t line 77 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x9bc97b8) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x9bd3d48) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x9bd4338) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x9bd45d8) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x9bd4078) not handled yet t/12-searching.t ........ # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Paging ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # GET /artist?me.nonesuch=42 ok 10 ok 11 - response is a ref # GET /artist?me.artistid=2 ok 12 ok 13 - response is a ref ok 14 - has _embedded hash ok 15 - _embedded has artist ok 16 - set has at least 1 items ok 17 - set has at most 1 items ok 18 - record matches # GET /artist?me.artistid=3 ok 19 ok 20 - response is a ref ok 21 - has _embedded hash ok 22 - _embedded has artist ok 23 - set has at least 1 items ok 24 - set has at most 1 items ok 25 - record matches # Subtest: search by json array # GET /artist?me.artistid~json=%5B1%2C3%5D ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - set has at most 2 items ok 7 - record matches ok 8 - record matches 1..8 ok 26 - search by json array # Subtest: search by json hash # GET /artist?me.artistid~json=%7B%22%3C%3D%22%3A2%7D ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - set has at most 2 items ok 7 - record matches ok 8 - record matches 1..8 ok 27 - search by json hash 1..27 ok 2 - ===== Paging ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9525008), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9525318), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x95499b8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x95499b8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9552928), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9386580)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9552928), Moose::Meta::Instance=HASH(0x9940df8), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9386580), HASH(0x938d8e0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x993b7a8), HASH(0x938d8e0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x993b7a8), HASH(0x938d8e0)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x993b7a8), HASH(0x938d8e0)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c97c8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c97c8)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95c97c8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c91d8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c91d8), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c91d8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95c19b8)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95c19b8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95c19b8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95c19b8), "basic") called at t/13-fields.t line 21 main::__ANON__(main=HASH(0x95c19b8)) called at (eval 422) line 16 main::setup(main=HASH(0x95c19b8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x8299ea0), "testing with main", CODE(0x95c5420)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c5420)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/13-fields.t line 59 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x9bc8fc8) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x9bc9218) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x9bd39c0) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x9bd3c60) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x9bd3700) not handled yet t/13-fields.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Get with fields param ===== # GET /artist?fields=artistid,name ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane ok 10 - rank fields not preset # GET /artist/1?fields=artistid,name ok 11 ok 12 - response is a ref ok 13 - data isn't a hash ok 14 - set has less than 2 attributes ok 15 - artistid ok 16 - data matches # GET /artist/2?fields=artistid,rank ok 17 ok 18 - response is a ref ok 19 - data isn't a hash ok 20 - set has less than 2 attributes ok 21 - artistid ok 22 - has rank field 1..22 ok 2 - ===== Get with fields param ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x95216c8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9523730), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9547db8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9547db8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x95526e8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9385298)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x95526e8), Moose::Meta::Instance=HASH(0x993ed98), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9385298), HASH(0x938ce20)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x98f33b8), HASH(0x938ce20)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x98f33b8), HASH(0x938ce20)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x98f33b8), HASH(0x938ce20)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c7588)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c7588)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95c7588)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c6f98)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c6f98), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c6f98), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95c0720)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95c0720)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95c0720)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95c0720), "basic") called at t/14-distinct.t line 21 main::__ANON__(main=HASH(0x95c0720)) called at (eval 422) line 16 main::setup(main=HASH(0x95c0720)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x8299b30), "testing with main", CODE(0x95c31e0)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c31e0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/14-distinct.t line 43 t/14-distinct.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== GET distinct ===== # GET /cd?fields=year&order=year&distinct=1 ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has cd ok 5 - set has at least 4 items ok 6 - set has at most 4 items ok 7 - has one element ok 8 - has status element ok 9 - has one element ok 10 - has status element ok 11 - has one element ok 12 - has status element ok 13 - has one element ok 14 - has status element 1..14 ok 2 - ===== GET distinct ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9529730), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x952b730), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x954fcb0), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x954fcb0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x955a6e0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x938f370)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x955a6e0), Moose::Meta::Instance=HASH(0x9946c38), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x938f370), HASH(0x9395cc8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x98fc268), HASH(0x9395cc8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x98fc268), HASH(0x9395cc8)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x98fc268), HASH(0x9395cc8)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cf418)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cf418)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95cf418)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95cee28)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95cee28), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95cee28), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95c95e8)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95c95e8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95c95e8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95c95e8), "basic") called at t/20-prefetch.t line 21 main::__ANON__(main=HASH(0x95c95e8)) called at (eval 422) line 16 main::setup(main=HASH(0x95c95e8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a728), "testing with main", CODE(0x95cb070)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95cb070)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/20-prefetch.t line 109 t/20-prefetch.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Prefetch ===== # prefetch on item # GET /cd/1?prefetch=artist,genre ok 1 ok 2 - response is a ref ok 3 - data isn't a hash ok 4 - set has less than 1 attributes ok 5 - data isn't a hash ok 6 - _embedded isn't hash ok 7 - set has less than 2 attributes ok 8 - set has more than 2 attributes ok 9 - has embedded genreid ok 10 - genreid matches ok 11 - has embedded artistid ok 12 - artistid matches # prefetch on set # GET /cd?rows=2&page=1&prefetch=artist,genre ok 13 ok 14 - response is a ref ok 15 - has _embedded hash ok 16 - _embedded has cd ok 17 - set has at least 2 items ok 18 - set has at most 2 items ok 19 - data isn't a hash ok 20 - _embedded isn't hash ok 21 - set has less than 2 attributes ok 22 - set has more than 2 attributes ok 23 - has embedded genreid ok 24 - genreid matches ok 25 - has embedded person_id ok 26 - artistid matches ok 27 - data isn't a hash ok 28 - _embedded isn't hash ok 29 - set has less than 2 attributes ok 30 - set has more than 2 attributes ok 31 - has embedded genreid ok 32 - genreid matches ok 33 - has embedded person_id ok 34 - artistid matches # prefetch with query on ambiguous field # GET /cd?me.artist=1&prefetch=artist ok 35 ok 36 - response is a ref # prefetch on invalid name # GET /cd/1?prefetch=nonesuch ok 37 ok 38 - response is a ref # prefetch on item with partial response of prefetched item # GET /cd/1?prefetch=artist,genre&fields=cdid,artist.artistid,genre.genreid not ok 39 # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test at t/20-prefetch.t line 77. # status doesn't match, expected HTTP status code '200', got 400 # 400 Bad Request # Content-Length: 212 # Content-Type: application/json # # { # "errors" : [ # { # "parameter" : "invalid fields clause - can't refer to prefetch relations at the moment", # "_meta" : { # "fields" : "artist.artistid" # } # } # ] # } ok 40 - response is a ref # TODO partial response of prefetched items is not implemented yet ok 41 - data isn't a hash # TODO partial response of prefetched items is not implemented yet ok 42 - set has less than 1 attributes # TODO partial response of prefetched items is not implemented yet ok 43 - data isn't a hash # TODO partial response of prefetched items is not implemented yet not ok 44 - _embedded isn't hash # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test '_embedded isn't hash' # at t/20-prefetch.t line 79. # got: '' # expected: 'HASH' # HASH(0xa564950) not ok 45 - set has less than 2 attributes # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'set has less than 2 attributes' # at t/20-prefetch.t line 79. # '0' # >= # '2' ok 46 - set has more than 2 attributes # TODO partial response of prefetched items is not implemented yet not ok 47 - has embedded genreid # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'has embedded genreid' # at t/20-prefetch.t line 80. # got: '' # expected: 'HASH' ok 48 - genreid matches # TODO partial response of prefetched items is not implemented yet not ok 49 - has embedded artistid # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'has embedded artistid' # at t/20-prefetch.t line 82. # got: '' # expected: 'HASH' ok 50 - artist matches # TODO partial response of prefetched items is not implemented yet not ok 51 - only has id column # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'only has id column' # at t/20-prefetch.t line 85. # got: '0' # expected: '1' not ok 52 - only has id column # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'only has id column' # at t/20-prefetch.t line 86. # got: '0' # expected: '1' # prefetch on set with partial response of prefetched items # GET /cd?rows=2&page=1&prefetch=artist,genre&fields=id,genre.genreid,artist.artistid not ok 53 # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test at t/20-prefetch.t line 91. # status doesn't match, expected HTTP status code '200', got 400 # 400 Bad Request # Content-Length: 210 # Content-Type: application/json # # { # "errors" : [ # { # "parameter" : "invalid fields clause - can't refer to prefetch relations at the moment", # "_meta" : { # "fields" : "genre.genreid" # } # } # ] # } ok 54 - response is a ref # TODO partial response of prefetched items is not implemented yet not ok 55 - has _embedded hash # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'has _embedded hash' # at t/20-prefetch.t line 92. # got: '' # expected: 'HASH' not ok 56 - _embedded has cd # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test '_embedded has cd' # at t/20-prefetch.t line 92. # got: '' # expected: 'ARRAY' 1..56 ok 2 - ===== Prefetch ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9541540), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9541850), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9562708), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9562708), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x956a7b8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9353648)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x956a7b8), Moose::Meta::Instance=HASH(0x995dd10), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9353648), HASH(0x9354178)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x9910ec0), HASH(0x9354178)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x9910ec0), HASH(0x9354178)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x9910ec0), HASH(0x9354178)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95e4328)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95e4328)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95e4328)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95e33f8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95e33f8), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95e33f8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95cc0e8)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95cc0e8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95cc0e8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95cc0e8), "basic") called at t/30-ordering.t line 23 main::__ANON__(main=HASH(0x95cc0e8)) called at (eval 422) line 16 main::setup(main=HASH(0x95cc0e8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a7d0), "testing with main", CODE(0x95cd970)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95cd970)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/30-ordering.t line 117 t/30-ordering.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Ordering ===== # GET /cd?rows=1000&order=me.cdid ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has cd ok 5 - set has at least 2 items ok 6 - /cd includes 1 ok 7 - /cd includes 2 ok 8 - /cd includes 3 ok 9 - /cd data looks sane # GET /cd?rows=1000&order=me.cdid%20desc ok 10 ok 11 - response is a ref ok 12 - has _embedded hash ok 13 - _embedded has cd ok 14 - set has at least 2 items ok 15 - reversed ok 16 - ordered # GET /cd?rows=1000&order=me.title%20desc,cdid%20desc ok 17 ok 18 - response is a ref ok 19 - has _embedded hash ok 20 - _embedded has cd ok 21 - set has at least 2 items ok 22 - same set of rows returned ok 23 ok 24 - ordered # GET /cd?rows=1000&order=me.title,cdid%20asc ok 25 ok 26 - response is a ref ok 27 - has _embedded hash ok 28 - _embedded has cd ok 29 - set has at least 2 items ok 30 - same set of rows returned ok 31 ok 32 - ordered # ===== Ordering with prefetch ===== # GET /cd?prefetch=artist&order=artist.name ok 33 ok 34 - response is a ref ok 35 - has _embedded hash ok 36 - _embedded has cd ok 37 - set has at least 2 items ok 38 - ordered # GET /cd?prefetch=artist,genre&order=genre.name%20desc,artist.name%20asc ok 39 ok 40 - response is a ref ok 41 - has _embedded hash ok 42 - _embedded has cd ok 43 - set has at least 2 items ok 44 - matched sufficient records ok 45 - ordered 1..45 ok 2 - ===== Ordering ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9529cb0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9529fc0), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x954b0f8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x954b0f8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9558f30), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x933df78)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9558f30), Moose::Meta::Instance=HASH(0x9947090), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x933df78), HASH(0x933eaa8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x9912c58), HASH(0x933eaa8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x9912c58), HASH(0x933eaa8)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x9912c58), HASH(0x933eaa8)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95e75d0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95e75d0)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95e75d0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95cd6a8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95cd6a8), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95cd6a8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95b5bd8)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95b5bd8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95b5bd8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95b5bd8), "basic") called at t/50-modify.t line 21 main::__ANON__(main=HASH(0x95b5bd8)) called at (eval 422) line 16 main::setup(main=HASH(0x95b5bd8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a658), "testing with main", CODE(0x95caae8)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95caae8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/50-modify.t line 126 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x9bd6b80) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x9bd6dd0) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x9bd73c0) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x9bd7660) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x9bd7100) not handled yet t/50-modify.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Create - POST ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # plain post # POST /artist ok 10 ok 11 - has Location header ok 12 - no data returned without prefetch # GET /artist/7 ok 13 ok 14 - response is a ref ok 15 - new item has id ok 16 - new item has new id ok 17 ok 18 # post with prefetch=self # POST /artist?prefetch=self ok 19 ok 20 - has Location header ok 21 - response is a ref # GET /artist/8 ok 22 ok 23 - response is a ref ok 24 - new item has id ok 25 - new item has new id ok 26 ok 27 ok 28 - returned prefetch matches item at location # ===== Update - PUT ===== # put without prefetch=self # PUT /artist/8 ok 29 ok 30 - no response body # GET /artist/8 ok 31 ok 32 - response is a ref ok 33 # put with prefetch=self # PUT /artist/8?prefetch=self ok 34 ok 35 - response is a ref ok 36 - has response body ok 37 - prefetch response has updated rank # GET /artist/8 ok 38 ok 39 - response is a ref ok 40 - returned prefetch matches item at location # ===== Delete - DELETE ===== # DELETE /artist/7 ok 41 ok 42 - no response body # GET /person_types/7 ok 43 # DELETE /artist/8 ok 44 ok 45 - no response body # GET /person_types/8 ok 46 1..46 ok 2 - ===== Create - POST ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9526dc8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x95270d8), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9547ba8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9547ba8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9553a58), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9387df0)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9553a58), Moose::Meta::Instance=HASH(0x9942178), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9387df0), HASH(0x938eca8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x990f758), HASH(0x938eca8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x990f758), HASH(0x938eca8)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x990f758), HASH(0x938eca8)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cb8c8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cb8c8)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95cb8c8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c8848)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c8848), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c8848), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95b2710)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95b2710)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95b2710)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95b2710), "basic") called at t/52-post_rel.t line 18 main::__ANON__(main=HASH(0x95b2710)) called at (eval 422) line 16 main::setup(main=HASH(0x95b2710)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a3f0), "testing with main", CODE(0x95c7520)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c7520)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/52-post_rel.t line 88 TestSchema::Result::Track relationship cd_cref_cond cond value CODE(0x9bffdd8) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x9c00198) not handled yet t/52-post_rel.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Create item, with embedded items, by POST to set ===== # POST /track?rollback=1 ok 1 ok 2 - has Location header ok 3 - returns reasonable Location ok 4 - returns no data # POST /track?rollback=1&prefetch=self ok 5 ok 6 - has Location header ok 7 - response is a ref ok 8 - returns reasonable Location ok 9 - return data ok 10 - has trackid assigned ok 11 ok 12 ok 13 - has cd assigned ok 14 - has no _embedded # POST /track?rollback=1&prefetch=self,disc ok 15 ok 16 - has Location header ok 17 - response is a ref ok 18 - returns reasonable Location ok 19 - return data ok 20 - has trackid assigned ok 21 ok 22 ok 23 - has cd assigned ok 24 - has _embedded ok 25 ok 26 - has _embedded disc ok 27 - disc matches ok 28 - disc name matches 1..28 ok 2 - ===== Create item, with embedded items, by POST to set ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x95266f8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9526a08), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9547588), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9547588), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x95533b0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x93862e0)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x95533b0), Moose::Meta::Instance=HASH(0x9941998), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x93862e0), HASH(0x938d678)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x990f0d0), HASH(0x938d678)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x990f0d0), HASH(0x938d678)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x990f0d0), HASH(0x938d678)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cb230)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95cb230)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95cb230)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c81b0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c81b0), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c81b0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95b1718)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95b1718)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95b1718)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95b1718), "basic") called at t/53-put_rel.t line 18 main::__ANON__(main=HASH(0x95b1718)) called at (eval 422) line 16 main::setup(main=HASH(0x95b1718)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x829a2c0), "testing with main", CODE(0x95c6e88)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c6e88)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/53-put_rel.t line 91 TestSchema::Result::Track relationship cd_cref_cond cond value CODE(0x9bff758) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x9bffb18) not handled yet t/53-put_rel.t .......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Update a resource and related resources via PUT ===== # POST /track?prefetch=self ok 1 ok 2 - has Location header ok 3 - response is a ref # PUT /track/19?prefetch=self,disc ok 4 ok 5 - response is a ref ok 6 - return data ok 7 - has trackid assigned ok 8 ok 9 - has same position assigned ok 10 - has _embedded ok 11 - has embedded disc ok 12 ok 13 # recheck data as a separate request # GET /track/19?prefetch=self,disc ok 14 ok 15 - response is a ref ok 16 - has trackid assigned ok 17 ok 18 - has same position assigned ok 19 - has _embedded ok 20 - has embedded disc ok 21 ok 22 # DELETE /track/19 ok 23 1..23 ok 2 - ===== Update a resource and related resources via PUT ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x9524f10), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x9525220), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x9545cc8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x9545cc8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9551b40), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9385368)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x9551b40), Moose::Meta::Instance=HASH(0x9940008), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x9385368), HASH(0x938c008)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x98e15f8), HASH(0x938c008)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x98e15f8), HASH(0x938c008)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x98e15f8), HASH(0x938c008)) called at /home/fly1400/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c9890)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x95c9890)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x95c9890)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x95c6810)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x95c6810), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x95c6810), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x95afcb0)) called at (eval 429) line 18 TestRole::Schema::schema(main=HASH(0x95afcb0)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x95afcb0)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x95afcb0), "basic") called at t/60-invoke.t line 18 main::__ANON__(main=HASH(0x95afcb0)) called at (eval 422) line 16 main::setup(main=HASH(0x95afcb0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x8299e90), "testing with main", CODE(0x95c54e8)) called at /home/fly1400/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x95c54e8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/60-invoke.t line 71 Exception: DBIx::Class::Row::get_column(): No such column 'nonesuch' at /home/fly1400/var/cpan/build/WebAPI-DBIC-0.001004-LDwlkl/blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm line 56 t/60-invoke.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Invoke ===== # POST /artist/1/invoke/get_column ok 1 ok 2 - response is a ref ok 3 - returns expected data # POST /artist/1/invoke/get_column ok 4 ok 5 - response is a ref ok 6 # POST /artist/1/invoke/get_column ok 7 ok 8 - response is a ref ok 9 # POST /artist/1/invoke/get_column ok 10 ok 11 - response is a ref ok 12 # POST /artist/1/invoke/get_column ok 13 1..13 ok 2 - ===== Invoke ===== 1..2 ok 1 - testing with main 1..1 ok t/release-pod-syntax.t .. skipped: these tests are for release candidate testing All tests successful. Files=13, Tests=32, 68 wallclock secs ( 0.13 usr 0.01 sys + 47.48 cusr 0.90 csys = 48.52 CPU) Result: PASS TIMB/WebAPI-DBIC-0.001004.tar.gz make test TEST_VERBOSE=1 -- OK Tim Bunce <Tim.Bunce@pobox.com> A composable RESTful JSON+HAL API to DBIx::Class schemas using roles, Web::Machine and Path::Router >>> (cd /home/fly1400/var/cpan/build/WebAPI-DBIC-0.001004-LDwlkl && tar cvf - WebAPI-DBIC-0.001004.ppd blib) | gzip -c >/home/fly1400/var/REPO/T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz WebAPI-DBIC-0.001004.ppd blib/ blib/lib/ blib/lib/WebAPI/ blib/lib/WebAPI/DBIC/ blib/lib/WebAPI/DBIC/Resource/ blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/ blib/lib/WebAPI/DBIC/Resource/Role/Set.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib/lib/WebAPI/DBIC/Resource/Role/Item.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetRender.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm blib/lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Role/ blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm blib/lib/WebAPI/DBIC/Role/JsonParams.pm blib/lib/WebAPI/DBIC/Util.pm blib/lib/WebAPI/DBIC/WebApp.pm blib/lib/WebAPI/DBIC/Machine.pm blib/lib/WebAPI/HTTP/ blib/lib/WebAPI/HTTP/Throwable/ blib/lib/WebAPI/HTTP/Throwable/Role/ blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib/lib/WebAPI/HTTP/Throwable/Factory.pm blib/lib/WebAPI/DBIC.pm blib/lib/WebAPI/data_service_api.pod blib/lib/WebAPI/NOTES.pod blib/man3/ blib/man3/WebAPI::NOTES.3 blib/man3/WebAPI::data_service_api.3 blib/man3/WebAPI::DBIC.3 blib/man3/WebAPI::DBIC::Machine.3 blib/man3/WebAPI::DBIC::Resource::Base.3 blib/man3/WebAPI::DBIC::Resource::GenericItemDBIC.3 blib/man3/WebAPI::DBIC::Resource::GenericItemInvoke.3 blib/man3/WebAPI::DBIC::Resource::GenericSetDBIC.3 blib/man3/WebAPI::DBIC::Resource::Role::DBIC.3 blib/man3/WebAPI::DBIC::Resource::Role::DBICAuth.3 blib/man3/WebAPI::DBIC::Resource::Role::DBICException.3 blib/man3/WebAPI::DBIC::Resource::Role::DBICParams.3 blib/man3/WebAPI::DBIC::Resource::Role::Item.3 blib/man3/WebAPI::DBIC::Resource::Role::ItemInvoke.3 blib/man3/WebAPI::DBIC::Resource::Role::ItemWritable.3 blib/man3/WebAPI::DBIC::Resource::Role::Set.3 blib/man3/WebAPI::DBIC::Resource::Role::SetRender.3 blib/man3/WebAPI::DBIC::Resource::Role::SetWritable.3 blib/man3/WebAPI::DBIC::Role::JsonEncoder.3 blib/man3/WebAPI::DBIC::Role::JsonParams.3 blib/man3/WebAPI::DBIC::Util.3 blib/man3/WebAPI::DBIC::WebApp.3 blib/man3/WebAPI::HTTP::Throwable::Factory.3 blib/man3/WebAPI::HTTP::Throwable::Role::JSONBody.3 >>> mv /home/fly1400/var/cpan/build/WebAPI-DBIC-0.001004-LDwlkl/WebAPI-DBIC-0.001004.ppd /home/fly1400/var/REPO/T/TI/TIMB VmSize: 126292 kB Finished 2014-07-28T16:32:16