PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\cygwin\bin;C:\cpanfly-5.16\var\megalib\bin;C:\Perl64-5.16\site\bin;C:\Perl64-5.16\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\PROGRA~2\Perforce;C:\instantclient_11_2;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Start 2014-07-21T04:05:25 ActivePerl-1600 CPAN-2.00 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:/CPANFL~1.16/var/libs/bin;C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\cygwin\bin;C:\CPANFL~1.16\var\megalib\bin;C:\Perl64-5.16\site\bin;C:\Perl64-5.16\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\INSTAN~1;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Reading 'C:\cpanfly-5.16\var\cpan\Metadata' Database was generated on Mon, 21 Jul 2014 09:06:15 GMT Running make for T/TI/TIMB/WebAPI-DBIC-0.001003.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001003.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/CHECKSUMS Checksum for C:\cpanfly-5.16\var\cpan\sources\authors\id\T\TI\TIMB\WebAPI-DBIC-0.001003.tar.gz ok WebAPI-DBIC-0.001003 WebAPI-DBIC-0.001003/README WebAPI-DBIC-0.001003/LICENSE WebAPI-DBIC-0.001003/cpanfile WebAPI-DBIC-0.001003/dist.ini WebAPI-DBIC-0.001003/META.yml WebAPI-DBIC-0.001003/MANIFEST WebAPI-DBIC-0.001003/NOTES.pod WebAPI-DBIC-0.001003/README.md WebAPI-DBIC-0.001003/META.json WebAPI-DBIC-0.001003/Makefile.PL WebAPI-DBIC-0.001003/t WebAPI-DBIC-0.001003/t/10-basics.t WebAPI-DBIC-0.001003/t/11-paging.t WebAPI-DBIC-0.001003/t/13-fields.t WebAPI-DBIC-0.001003/t/50-modify.t WebAPI-DBIC-0.001003/t/60-invoke.t WebAPI-DBIC-0.001003/t/00-compile.t WebAPI-DBIC-0.001003/t/53-put_rel.t WebAPI-DBIC-0.001003/t/14-distinct.t WebAPI-DBIC-0.001003/t/20-prefetch.t WebAPI-DBIC-0.001003/t/30-ordering.t WebAPI-DBIC-0.001003/t/52-post_rel.t WebAPI-DBIC-0.001003/t/lib WebAPI-DBIC-0.001003/t/lib/TestDS.pm WebAPI-DBIC-0.001003/t/12-searching.t WebAPI-DBIC-0.001003/lib/WebAPI WebAPI-DBIC-0.001003/lib/WebAPI/DBIC.pm WebAPI-DBIC-0.001003/t/lib/TestSchema.pm WebAPI-DBIC-0.001003/data_service_api.pod WebAPI-DBIC-0.001003/webapi-dbic-any.psgi WebAPI-DBIC-0.001003/t/lib/DummySchema.pm WebAPI-DBIC-0.001003/webapi-dbic-demo.psgi WebAPI-DBIC-0.001003/hal-browser WebAPI-DBIC-0.001003/hal-browser/README.md WebAPI-DBIC-0.001003/hal-browser/js WebAPI-DBIC-0.001003/hal-browser/js/hal.js WebAPI-DBIC-0.001003/hal-browser/styles.css WebAPI-DBIC-0.001003/t/release-pod-syntax.t WebAPI-DBIC-0.001003/lib/WebAPI/DBIC WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Util.pm WebAPI-DBIC-0.001003/hal-browser/browser.html WebAPI-DBIC-0.001003/t/lib/TestRole WebAPI-DBIC-0.001003/t/lib/TestRole/Schema.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/WebApp.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Machine.pm WebAPI-DBIC-0.001003/t/lib/DummyLoadedSchema.pm WebAPI-DBIC-0.001003/hal-browser/MIT-LICENSE.txt WebAPI-DBIC-0.001003/hal-browser/js/hal WebAPI-DBIC-0.001003/hal-browser/js/hal/browser.js WebAPI-DBIC-0.001003/t/lib/TestSchema/Result WebAPI-DBIC-0.001003/t/lib/TestSchema/Result/CD.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/resource.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Base.pm WebAPI-DBIC-0.001003/t/lib/TestSchema/Result/Genre.pm WebAPI-DBIC-0.001003/t/lib/TestSchema/Result/Track.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/http WebAPI-DBIC-0.001003/hal-browser/js/hal/http/client.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views WebAPI-DBIC-0.001003/hal-browser/js/hal/views/links.js WebAPI-DBIC-0.001003/hal-browser/vendor/js WebAPI-DBIC-0.001003/hal-browser/vendor/js/backbone.js WebAPI-DBIC-0.001003/t/lib/TestSchema/Result/Artist.pm WebAPI-DBIC-0.001003/hal-browser/vendor/js/bootstrap.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Role WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Role/JsonParams.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/browser.js WebAPI-DBIC-0.001003/hal-browser/vendor/js/underscore.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Role/JsonEncoder.pm WebAPI-DBIC-0.001003/t/lib/TestSchema/Result/Producer.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/explorer.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/resource.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/response.js WebAPI-DBIC-0.001003/hal-browser/vendor/css WebAPI-DBIC-0.001003/hal-browser/vendor/css/bootstrap.css WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/Set.pm WebAPI-DBIC-0.001003/lib/WebAPI/HTTP/Throwable WebAPI-DBIC-0.001003/lib/WebAPI/HTTP/Throwable/Factory.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/inspector.js WebAPI-DBIC-0.001003/hal-browser/vendor/js/uritemplates.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/DBIC.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/Item.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/navigation.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/properties.js WebAPI-DBIC-0.001003/hal-browser/vendor/img WebAPI-DBIC-0.001003/hal-browser/vendor/img/ajax-loader.gif WebAPI-DBIC-0.001003/hal-browser/vendor/js/jquery-1.10.2.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/location_bar.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/documentation.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/response_body.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm WebAPI-DBIC-0.001003/t/lib/TestSchema/Result/CD_to_Producer.pm WebAPI-DBIC-0.001003/hal-browser/vendor/js/jquery-1.10.2.min.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/SetRender.pm WebAPI-DBIC-0.001003/lib/WebAPI/HTTP/Throwable/Role WebAPI-DBIC-0.001003/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/request_headers.js WebAPI-DBIC-0.001003/hal-browser/vendor/js/jquery-1.10.2.min.map WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/query_uri_dialog.js WebAPI-DBIC-0.001003/hal-browser/js/hal/views/response_headers.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/embedded_resource.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm WebAPI-DBIC-0.001003/hal-browser/js/hal/views/embedded_resources.js WebAPI-DBIC-0.001003/lib/WebAPI/DBIC/Resource/Role/DBICException.pm WebAPI-DBIC-0.001003/hal-browser/vendor/css/bootstrap-responsive.css WebAPI-DBIC-0.001003/hal-browser/vendor/img/glyphicons-halflings.png WebAPI-DBIC-0.001003/hal-browser/js/hal/views/non_safe_request_dialog.js WebAPI-DBIC-0.001003/hal-browser/vendor/img/glyphicons-halflings-white.png CPAN.pm: Building T/TI/TIMB/WebAPI-DBIC-0.001003.tar.gz >>> C:\Perl64-5.16\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Generating a nmake-style Makefile Writing Makefile for WebAPI::DBIC Writing MYMETA.yml and MYMETA.json >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp lib/WebAPI/DBIC/Resource/Role/Item.pm blib\lib\WebAPI\DBIC\Resource\Role\Item.pm cp lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib\lib\WebAPI\DBIC\Resource\Role\DBICParams.pm cp lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib\lib\WebAPI\DBIC\Resource\GenericItemInvoke.pm cp lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm blib\lib\WebAPI\DBIC\Resource\GenericItemDBIC.pm cp NOTES.pod blib\lib\WebAPI\NOTES.pod cp lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib\lib\WebAPI\DBIC\Resource\Role\ItemWritable.pm cp lib/WebAPI/DBIC/Resource/Base.pm blib\lib\WebAPI\DBIC\Resource\Base.pm cp lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm blib\lib\WebAPI\DBIC\Resource\GenericSetDBIC.pm cp lib/WebAPI/DBIC.pm blib\lib\WebAPI\DBIC.pm cp lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib\lib\WebAPI\DBIC\Resource\Role\DBICException.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/Machine.pm blib\lib\WebAPI\DBIC\Machine.pm cp lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib\lib\WebAPI\HTTP\Throwable\Role\JSONBody.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/Role/JsonEncoder.pm blib\lib\WebAPI\DBIC\Role\JsonEncoder.pm cp lib/WebAPI/HTTP/Throwable/Factory.pm blib\lib\WebAPI\HTTP\Throwable\Factory.pm cp lib/WebAPI/DBIC/Resource/Role/Set.pm blib\lib\WebAPI\DBIC\Resource\Role\Set.pm cp lib/WebAPI/DBIC/WebApp.pm blib\lib\WebAPI\DBIC\WebApp.pm cp lib/WebAPI/DBIC/Role/JsonParams.pm blib\lib\WebAPI\DBIC\Role\JsonParams.pm TIMB/WebAPI-DBIC-0.001003.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\Perl64-5.16\bin\perl.exe "-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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4e05b88), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4e06dc8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e16c98), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e16c98), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e24a78), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e2ab68)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e24a78), Moose::Meta::Instance=HASH(0x4e163f8), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e2ab68), HASH(0x5545a90)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x5547930), HASH(0x5545a90)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x5547930), HASH(0x5545a90)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x5547930), HASH(0x5545a90)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f28150)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f28150)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f28150)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f1f138)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f1f138), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f1f138), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f1a1d8)) called at (eval 433) line 18 TestRole::Schema::schema(main=HASH(0x4f1a1d8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f1a1d8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f1a1d8), "basic") called at t/10-basics.t line 19 main::__ANON__(main=HASH(0x4f1a1d8)) called at (eval 424) line 16 main::setup(main=HASH(0x4f1a1d8)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x211ffd0), "testing with main", CODE(0x4f1dba0)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f1dba0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x6012ea8) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x6014268) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x6014b50) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x6014f40) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x6014730) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4e3fc70), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4e3fe68), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e50d80), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e50d80), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e5eb60), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e66c70)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e5eb60), Moose::Meta::Instance=HASH(0x4e504e0), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e66c70), HASH(0x557b6e8)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x557e598), HASH(0x557b6e8)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x557e598), HASH(0x557b6e8)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x557e598), HASH(0x557b6e8)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f4e578)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f4e578)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f4e578)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f46558)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f46558), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f46558), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f41a30)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f41a30)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f41a30)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f41a30), "basic") called at t/11-paging.t line 21 main::__ANON__(main=HASH(0x4f41a30)) called at (eval 424) line 16 main::setup(main=HASH(0x4f41a30)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e62840), "testing with main", CODE(0x4f44f88)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f44f88)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x60248f0) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x6024c68) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x6026598) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x6026988) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x6025130) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4d51c10), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4d51e08), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4d63d30), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4d63d30), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4add660), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4ae5770)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4add660), Moose::Meta::Instance=HASH(0x4d62448), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4ae5770), HASH(0x568c270)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x568e110), HASH(0x568c270)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x568e110), HASH(0x568c270)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x568e110), HASH(0x568c270)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f37810)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f37810)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f37810)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f33848)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f33848), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f33848), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f2fd50)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f2fd50)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f2fd50)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f2fd50), "basic") called at t/12-searching.t line 19 main::__ANON__(main=HASH(0x4f2fd50)) called at (eval 424) line 16 main::setup(main=HASH(0x4f2fd50)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e65290), "testing with main", CODE(0x4f322b0)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f322b0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x5f39178) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x5f3a538) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x5f3ae20) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x5f3b210) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x5f3aa00) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4d7b018), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4d7c258), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4d8c128), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4d8c128), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4d09b18), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4d0fc08)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4d09b18), Moose::Meta::Instance=HASH(0x4d8b888), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4d0fc08), HASH(0x552d7c0)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x5530670), HASH(0x552d7c0)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x5530670), HASH(0x552d7c0)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x5530670), HASH(0x552d7c0)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f40d90)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f40d90)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f40d90)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f37d78)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f37d78), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f37d78), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f33238)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f33238)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f33238)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f33238), "basic") called at t/13-fields.t line 21 main::__ANON__(main=HASH(0x4f33238)) called at (eval 424) line 16 main::setup(main=HASH(0x4f33238)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e6e530), "testing with main", CODE(0x4f367e0)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f367e0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x5f81c98) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x5f82010) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x5f83940) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x5f83d30) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x5f83520) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4e289c0), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4e28bb8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e39ad0), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e39ad0), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e478b0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e4d9a0)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e478b0), Moose::Meta::Instance=HASH(0x4e39230), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e4d9a0), HASH(0x5562848)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x55656f8), HASH(0x5562848)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x55656f8), HASH(0x5562848)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x55656f8), HASH(0x5562848)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f6d8b8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f6d8b8)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f6d8b8)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f648a0)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f648a0), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f648a0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f5fd60)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f5fd60)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f5fd60)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f5fd60), "basic") called at t/14-distinct.t line 21 main::__ANON__(main=HASH(0x4f5fd60)) called at (eval 424) line 16 main::setup(main=HASH(0x4f5fd60)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e68680), "testing with main", CODE(0x4f632d0)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f632d0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4e590c8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4e592c0), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e6b1e8), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e6b1e8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e78fc8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e810d8)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e78fc8), Moose::Meta::Instance=HASH(0x4e69900), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e810d8), HASH(0x5529cc8)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x552bb68), HASH(0x5529cc8)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x552bb68), HASH(0x5529cc8)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x552bb68), HASH(0x5529cc8)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f596e8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f596e8)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f596e8)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f55720)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f55720), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f55720), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f51c28)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f51c28)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f51c28)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f51c28), "basic") called at t/20-prefetch.t line 21 main::__ANON__(main=HASH(0x4f51c28)) called at (eval 424) line 16 main::setup(main=HASH(0x4f51c28)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e67560), "testing with main", CODE(0x4f54188)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f54188)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x77e6238) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4dbfd40), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4dc0f80), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e7ccd0), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e7ccd0), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e8bac0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e92bc0)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e8bac0), Moose::Meta::Instance=HASH(0x4e7c430), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e92bc0), HASH(0x55c4538)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x51959c8), HASH(0x55c4538)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x51959c8), HASH(0x55c4538)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x51959c8), HASH(0x55c4538)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x509c978)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x509c978)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x509c978)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4eb2898)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4eb2898), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4eb2898), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4eacd90)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4eacd90)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4eacd90)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4eacd90), "basic") called at t/30-ordering.t line 23 main::__ANON__(main=HASH(0x4eacd90)) called at (eval 424) line 16 main::setup(main=HASH(0x4eacd90)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e62570), "testing with main", CODE(0x4eb1300)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4eb1300)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4dd9130), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4dd9328), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4dea240), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4dea240), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4d30f80), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4d39090)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4d30f80), Moose::Meta::Instance=HASH(0x4de9968), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4d39090), HASH(0x56df028)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x56e0ec8), HASH(0x56df028)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x56e0ec8), HASH(0x56df028)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x56e0ec8), HASH(0x56df028)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f1dbe8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f1dbe8)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f1dbe8)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f14bd0)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f14bd0), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f14bd0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f110a0)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f110a0)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f110a0)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f110a0), "basic") called at t/50-modify.t line 21 main::__ANON__(main=HASH(0x4f110a0)) called at (eval 424) line 16 main::setup(main=HASH(0x4f110a0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e67830), "testing with main", CODE(0x4f13600)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f13600)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x5f97640) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x5f979b8) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x5f982a0) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x5f986c8) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x5f97e80) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4e268d8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4e26ad0), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e389f8), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e389f8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e45790), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e4b880)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e45790), Moose::Meta::Instance=HASH(0x4e37110), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e4b880), HASH(0x5690c68)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x5694b28), HASH(0x5690c68)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x5694b28), HASH(0x5690c68)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x5694b28), HASH(0x5690c68)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f34298)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f34298)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f34298)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f302d0)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f302d0), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f302d0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f2b7c0)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f2b7c0)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f2b7c0)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f2b7c0), "basic") called at t/52-post_rel.t line 18 main::__ANON__(main=HASH(0x4f2b7c0)) called at (eval 424) line 16 main::setup(main=HASH(0x4f2b7c0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e69560), "testing with main", CODE(0x4f2ed38)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f2ed38)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x50ca010) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x50ca688) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4e28f70), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4e29168), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4e3b090), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4e3b090), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e47e28), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e50f80)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4e47e28), Moose::Meta::Instance=HASH(0x4e397a8), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4e50f80), HASH(0x569bb10)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x569e9c0), HASH(0x569bb10)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x569e9c0), HASH(0x569bb10)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x569e9c0), HASH(0x569bb10)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4d67700)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4d67700)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4d67700)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4d63738)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4d63738), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4d63738), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4d5fc70)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4d5fc70)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4d5fc70)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4d5fc70), "basic") called at t/53-put_rel.t line 18 main::__ANON__(main=HASH(0x4d5fc70)) called at (eval 424) line 16 main::setup(main=HASH(0x4d5fc70)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e69830), "testing with main", CODE(0x4d621a0)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4d621a0)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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(0x5119428) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x5119aa0) 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 C:/cpanfly-5.16/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x4ddaf98), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x4ddb190), "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x4ded0b8), "coerce", "TestSchema") called at C:/cpanfly-5.16/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x4ded0b8), "TestSchema") called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4d52bd0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4d59cd0)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x4d52bd0), Moose::Meta::Instance=HASH(0x4deb7d0), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x4d59cd0), HASH(0x569bba8)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x569ea58), HASH(0x569bba8)) called at C:/cpanfly-5.16/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x569ea58), HASH(0x569bba8)) called at C:/cpanfly-5.16/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x569ea58), HASH(0x569bba8)) called at C:/cpanfly-5.16/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f0fc08)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x4f0fc08)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x4f0fc08)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x4f0bc40)) called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x4f0bc40), "Schema", "reset_schema") called at C:/cpanfly-5.16/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x4f0bc40), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x4f07130)) called at (eval 431) line 18 TestRole::Schema::schema(main=HASH(0x4f07130)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x4f07130)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x4f07130), "basic") called at t/60-invoke.t line 18 main::__ANON__(main=HASH(0x4f07130)) called at (eval 424) line 16 main::setup(main=HASH(0x4f07130)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.16/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x1e6e530), "testing with main", CODE(0x4f0a6a8)) called at C:/cpanfly-5.16/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x4f0a6a8)) called at C:/cpanfly-5.16/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.16/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 C:\cpanfly-5.16\var\cpan\build\WebAPI-DBIC-0.001003-lLX7LE\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, 91 wallclock secs ( 0.14 usr + 0.03 sys = 0.17 CPU) Result: PASS TIMB/WebAPI-DBIC-0.001003.tar.gz nmake 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 C:\cpanfly-5.16\var\cpan\build\WebAPI-DBIC-0.001003-lLX7LE && tar cvf - WebAPI-DBIC-0.001003.ppd blib) | gzip -c >C:/cpanfly-5.16/var/REPO/T/TI/TIMB/WebAPI-DBIC-0.001003.tar.gz WebAPI-DBIC-0.001003.ppd blib/ blib/lib/ blib/lib/WebAPI/ blib/lib/WebAPI/data_service_api.pod blib/lib/WebAPI/DBIC/ blib/lib/WebAPI/DBIC/Machine.pm blib/lib/WebAPI/DBIC/Resource/ blib/lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm 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/DBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib/lib/WebAPI/DBIC/Resource/Role/Item.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/Set.pm blib/lib/WebAPI/DBIC/Resource/Role/SetRender.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.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.pm blib/lib/WebAPI/HTTP/ blib/lib/WebAPI/HTTP/Throwable/ blib/lib/WebAPI/HTTP/Throwable/Factory.pm blib/lib/WebAPI/HTTP/Throwable/Role/ blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib/lib/WebAPI/NOTES.pod >>> mv C:\cpanfly-5.16\var\cpan\build\WebAPI-DBIC-0.001003-lLX7LE/WebAPI-DBIC-0.001003.ppd C:/cpanfly-5.16/var/REPO/T/TI/TIMB Finished 2014-07-21T04:07:10