PATH=C:\Program Files\Microsoft Platform SDK\Bin;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\cygwin\bin;C:\cpanfly-5.14\var\megalib\bin;C:\Perl-5.14\site\bin;C:\Perl-5.14\bin;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\instantclient_11_2;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\mysql\bin Start 2014-07-21T02:49:25 ActivePerl-1400 CPAN-2.00 LIB=C:\PROGRA~1\MICROS~3\VC98\Lib\PSDK;C:\PROGRA~1\MICROS~2\Lib;C:\PROGRA~1\MICROS~3\VC98\Lib;C:\PROGRA~1\MICROS~3\VC98\MFC\Lib INCLUDE=C:\PROGRA~1\MICROS~2\Include;C:\PROGRA~1\MICROS~3\VC98\ATL\Include;C:\PROGRA~1\MICROS~3\VC98\Include;C:\PROGRA~1\MICROS~3\VC98\MFC\Include PATH=C:/CPANFL~1.14/var/libs/bin;C:\PROGRA~1\MICROS~2\Bin;C:\PROGRA~1\MICROS~2\Bin\WinNT;C:\PROGRA~1\MICROS~3\VC98\Bin;C:\PROGRA~1\MICROS~3\Common\MSDev98\Bin;C:\cygwin\bin;C:\CPANFL~1.14\var\megalib\bin;C:\Perl-5.14\site\bin;C:\Perl-5.14\bin;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\INSTAN~1;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\mysql\bin Reading 'C:\cpanfly-5.14\var\cpan\Metadata' Database was generated on Mon, 21 Jul 2014 08:17:02 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.14\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:\Perl-5.14\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:\Perl-5.14\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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22d4834), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22d4b44), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x230969c), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x230969c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231593c), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26d0e8c)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231593c), Moose::Meta::Instance=HASH(0x277a2b4), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26d0e8c), HASH(0x23c93ec)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26d15bc), HASH(0x23c93ec)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26d15bc), HASH(0x23c93ec)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26d15bc), HASH(0x23c93ec)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23c8e3c)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23c8e3c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23c8e3c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23c86ec)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23c86ec), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23c86ec), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x954f9c)) called at (eval 372) line 18 TestRole::Schema::schema(main=HASH(0x954f9c)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x954f9c)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x954f9c), "basic") called at t/10-basics.t line 19 main::__ANON__(main=HASH(0x954f9c)) called at (eval 363) line 16 main::setup(main=HASH(0x954f9c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xcbbcdc), "testing with main", CODE(0x23a33dc)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23a33dc)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/10-basics.t line 68 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x2d195fc) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x2d1984c) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x2d19e3c) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x2d2473c) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x2d19b7c) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22eb3d4), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22eb6e4), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x231e83c), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x231e83c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x23296b4), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26e9f14)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x23296b4), Moose::Meta::Instance=HASH(0x26fb344), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26e9f14), HASH(0x23bfdfc)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26ea644), HASH(0x23bfdfc)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26ea644), HASH(0x23bfdfc)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26ea644), HASH(0x23bfdfc)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23bf84c)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23bf84c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23bf84c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23bf0fc)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23bf0fc), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23bf0fc), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x23b9bec)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x23b9bec)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x23b9bec)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x23b9bec), "basic") called at t/11-paging.t line 21 main::__ANON__(main=HASH(0x23b9bec)) called at (eval 363) line 16 main::setup(main=HASH(0x23b9bec)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5fb64), "testing with main", CODE(0x23bb504)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23bb504)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/11-paging.t line 112 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x2d2d8bc) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x2d2db0c) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x2d2e0fc) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x2d38e04) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x2d2de3c) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22dee3c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22df14c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x23132ac), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x23132ac), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231e244), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26f401c)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231e244), Moose::Meta::Instance=HASH(0x27822fc), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26f401c), HASH(0x23b6cd4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26f474c), HASH(0x23b6cd4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26f474c), HASH(0x23b6cd4)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26f474c), HASH(0x23b6cd4)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23b6724)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23b6724)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23b6724)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23b5fd4)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23b5fd4), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23b5fd4), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x23ae85c)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x23ae85c)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x23ae85c)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x23ae85c), "basic") called at t/12-searching.t line 19 main::__ANON__(main=HASH(0x23ae85c)) called at (eval 363) line 16 main::setup(main=HASH(0x23ae85c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5f5ec), "testing with main", CODE(0x23af454)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23af454)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/12-searching.t line 77 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x2d21644) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x2d21894) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x2d21e84) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x2d2c28c) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x2d21bc4) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22dc7fc), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22dcb0c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x231167c), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x231167c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231cddc), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x277ee14)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231cddc), Moose::Meta::Instance=HASH(0x26f2fb4), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x277ee14), HASH(0x23d07a4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26dd134), HASH(0x23d07a4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26dd134), HASH(0x23d07a4)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26dd134), HASH(0x23d07a4)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d01f4)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d01f4)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23d01f4)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23abd3c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23abd3c), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23abd3c), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x954f7c)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x954f7c)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x954f7c)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x954f7c), "basic") called at t/13-fields.t line 21 main::__ANON__(main=HASH(0x954f7c)) called at (eval 363) line 16 main::setup(main=HASH(0x954f7c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5f2a4), "testing with main", CODE(0x23aa104)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23aa104)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/13-fields.t line 59 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x2d22aac) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x2d22cfc) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x2d232ec) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x2d2358c) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x2d2302c) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22d9cfc), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22da00c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x230eb7c), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x230eb7c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231af84), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x248b754)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231af84), Moose::Meta::Instance=HASH(0x26fc0d4), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x248b754), HASH(0x23cc9f4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26e5dcc), HASH(0x23cc9f4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26e5dcc), HASH(0x23cc9f4)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26e5dcc), HASH(0x23cc9f4)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23cc444)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23cc444)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23cc444)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23a8b1c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23a8b1c), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23a8b1c), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x1ffda6c)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x1ffda6c)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x1ffda6c)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x1ffda6c), "basic") called at t/14-distinct.t line 21 main::__ANON__(main=HASH(0x1ffda6c)) called at (eval 363) line 16 main::setup(main=HASH(0x1ffda6c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5f044), "testing with main", CODE(0x2390aac)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x2390aac)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22e50cc), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22e53dc), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x231adc4), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x231adc4), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x2326e1c), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x2709234)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x2326e1c), Moose::Meta::Instance=HASH(0x271e23c), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x2709234), HASH(0x23d95b4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x270fd14), HASH(0x23d95b4)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x270fd14), HASH(0x23d95b4)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x270fd14), HASH(0x23d95b4)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d9004)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d9004)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23d9004)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23b6a6c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23b6a6c), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23b6a6c), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2008654)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x2008654)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2008654)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2008654), "basic") called at t/20-prefetch.t line 21 main::__ANON__(main=HASH(0x2008654)) called at (eval 363) line 16 main::setup(main=HASH(0x2008654)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5fb84), "testing with main", CODE(0x23b3e8c)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23b3e8c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 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(0x39a5b24) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x230cb74), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x230ce84), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2342304), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2342304), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x234dbcc), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x2710c24)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x234dbcc), Moose::Meta::Instance=HASH(0x27b104c), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x2710c24), HASH(0x23e2e44)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2711354), HASH(0x23e2e44)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2711354), HASH(0x23e2e44)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2711354), HASH(0x23e2e44)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23e2894)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23e2894)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23e2894)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23e086c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23e086c), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23e086c), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x23dbd34)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x23dbd34)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x23dbd34)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x23dbd34), "basic") called at t/30-ordering.t line 23 main::__ANON__(main=HASH(0x23dbd34)) called at (eval 363) line 16 main::setup(main=HASH(0x23dbd34)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5fc54), "testing with main", CODE(0x23df534)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23df534)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22e3a1c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22e3d2c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x23187a4), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x23187a4), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x23218e4), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26c580c)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x23218e4), Moose::Meta::Instance=HASH(0x26d7444), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26c580c), HASH(0x23d9e5c)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26c5f3c), HASH(0x23d9e5c)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26c5f3c), HASH(0x23d9e5c)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26c5f3c), HASH(0x23d9e5c)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23b79b4)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23b79b4)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23b79b4)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23b7264)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23b7264), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23b7264), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x23aff54)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x23aff54)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x23aff54)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x23aff54), "basic") called at t/50-modify.t line 21 main::__ANON__(main=HASH(0x23aff54)) called at (eval 363) line 16 main::setup(main=HASH(0x23aff54)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5fa7c), "testing with main", CODE(0x23b45fc)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23b45fc)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/50-modify.t line 126 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x2d257f4) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x2d25a44) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x2d30c4c) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x2d30eec) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x2d25d74) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22e3944), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22e3c54), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2319204), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2319204), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x23225a4), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x24840dc)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x23225a4), Moose::Meta::Instance=HASH(0x27847bc), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x24840dc), HASH(0x23d6ecc)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x248480c), HASH(0x23d6ecc)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x248480c), HASH(0x23d6ecc)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x248480c), HASH(0x23d6ecc)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d691c)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d691c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23d691c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23b2f5c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23b2f5c), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23b2f5c), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2065944)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x2065944)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2065944)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2065944), "basic") called at t/52-post_rel.t line 18 main::__ANON__(main=HASH(0x2065944)) called at (eval 363) line 16 main::setup(main=HASH(0x2065944)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5f80c), "testing with main", CODE(0x23b1324)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23b1324)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/52-post_rel.t line 88 TestSchema::Result::Track relationship cd_cref_cond cond value CODE(0x2d61ab4) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x2d61e74) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22def8c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22df29c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x231312c), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x231312c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231d624), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x270408c)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231d624), Moose::Meta::Instance=HASH(0x2782234), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x270408c), HASH(0x23d36bc)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x27047bc), HASH(0x23d36bc)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x27047bc), HASH(0x23d36bc)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x27047bc), HASH(0x23d36bc)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d310c)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23d310c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23d310c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23aff94)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23aff94), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23aff94), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2000cc4)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x2000cc4)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2000cc4)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2000cc4), "basic") called at t/53-put_rel.t line 18 main::__ANON__(main=HASH(0x2000cc4)) called at (eval 363) line 16 main::setup(main=HASH(0x2000cc4)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5f6c4), "testing with main", CODE(0x23ae35c)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23ae35c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 Test::Roo::run_me() called at t/53-put_rel.t line 91 TestSchema::Result::Track relationship cd_cref_cond cond value CODE(0x2d5f004) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x2d5f3c4) 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.14/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x22dcdf4), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x22dd104), "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x231237c), "coerce", "TestSchema") called at C:/cpanfly-5.14/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x231237c), "TestSchema") called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231b51c), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26c48cc)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::5=HASH(0x231b51c), Moose::Meta::Instance=HASH(0x277f1ac), Moose::Meta::Class::__ANON__::SERIAL::6=HASH(0x26c48cc), HASH(0x23c5624)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x26c4ffc), HASH(0x23c5624)) called at C:/cpanfly-5.14/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x26c4ffc), HASH(0x23c5624)) called at C:/cpanfly-5.14/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x26c4ffc), HASH(0x23c5624)) called at C:/cpanfly-5.14/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23c5074)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::6", HASH(0x23c5074)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x23c5074)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x23adf2c)) called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x23adf2c), "Schema", "reset_schema") called at C:/cpanfly-5.14/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x23adf2c), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x200034c)) called at (eval 370) line 18 TestRole::Schema::schema(main=HASH(0x200034c)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x200034c)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x200034c), "basic") called at t/60-invoke.t line 18 main::__ANON__(main=HASH(0x200034c)) called at (eval 363) line 16 main::setup(main=HASH(0x200034c)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 50 Test::Roo::Class::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 eval {...} called at C:/cpanfly-5.14/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa5f38c), "testing with main", CODE(0x23ac2f4)) called at C:/cpanfly-5.14/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x23ac2f4)) called at C:/cpanfly-5.14/var/megalib/Test/Roo/Class.pm line 53 Test::Roo::Class::run_tests("main") called at C:/cpanfly-5.14/var/megalib/Test/Roo.pm line 46 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.14\var\cpan\build\WebAPI-DBIC-0.001003-BPyO1b\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, 63 wallclock secs ( 0.11 usr + 0.03 sys = 0.14 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.14\var\cpan\build\WebAPI-DBIC-0.001003-BPyO1b && tar cvf - WebAPI-DBIC-0.001003.ppd blib) | gzip -c >C:/cpanfly-5.14/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.14\var\cpan\build\WebAPI-DBIC-0.001003-BPyO1b/WebAPI-DBIC-0.001003.ppd C:/cpanfly-5.14/var/REPO/T/TI/TIMB Finished 2014-07-21T02:50:37