Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Module-API' version '0.01' Copying lib\Module\API\Queue.pm -> blib\lib\Module\API\Queue.pm Copying lib\Module\API\Server.pm -> blib\lib\Module\API\Server.pm Copying lib\Module\API\Plugin\Echo.pm -> blib\lib\Module\API\Plugin\Echo.pm Copying lib\Module\API\Request.pm -> blib\lib\Module\API\Request.pm Copying lib\Module\API\Payload.pm -> blib\lib\Module\API\Payload.pm Copying lib\Module\API\Handler.pm -> blib\lib\Module\API\Handler.pm Copying lib\Module\API.pm -> blib\lib\Module\API.pm Copying lib\Module\API\Base.pm -> blib\lib\Module\API\Base.pm Copying lib\Module\API\Encoder\YAML.pm -> blib\lib\Module\API\Encoder\YAML.pm Copying lib\Module\API\Encoder\Storable.pm -> blib\lib\Module\API\Encoder\Storable.pm Copying lib\Module\API\Response.pm -> blib\lib\Module\API\Response.pm Copying lib\Module\API\Listener.pm -> blib\lib\Module\API\Listener.pm Copying lib\Module\API\Message.pm -> blib\lib\Module\API\Message.pm Manifying blib\lib/Module/API/Response.pm -> blib\libdoc\Module.API.Response.3 Manifying blib\lib/Module/API/Encoder/Storable.pm -> blib\libdoc\Module.API.Encoder.Storable.3 Manifying blib\lib/Module/API/Request.pm -> blib\libdoc\Module.API.Request.3 Manifying blib\lib/Module/API/Queue.pm -> blib\libdoc\Module.API.Queue.3 Manifying blib\lib/Module/API/Plugin/Echo.pm -> blib\libdoc\Module.API.Plugin.Echo.3 Manifying blib\lib/Module/API/Handler.pm -> blib\libdoc\Module.API.Handler.3 Manifying blib\lib/Module/API/Message.pm -> blib\libdoc\Module.API.Message.3 Manifying blib\lib/Module/API/Base.pm -> blib\libdoc\Module.API.Base.3 Manifying blib\lib/Module/API/Encoder/YAML.pm -> blib\libdoc\Module.API.Encoder.YAML.3 Manifying blib\lib/Module/API.pm -> blib\libdoc\Module.API.3 HTMLifying blib\lib\Module\API\Response.pm -> blib\libhtml\site\lib\Module\API\Response.html HTMLifying blib\lib\Module\API\Encoder\Storable.pm -> blib\libhtml\site\lib\Module\API\Encoder\Storable.html HTMLifying blib\lib\Module\API\Request.pm -> blib\libhtml\site\lib\Module\API\Request.html HTMLifying blib\lib\Module\API\Queue.pm -> blib\libhtml\site\lib\Module\API\Queue.html HTMLifying blib\lib\Module\API\Plugin\Echo.pm -> blib\libhtml\site\lib\Module\API\Plugin\Echo.html HTMLifying blib\lib\Module\API\Handler.pm -> blib\libhtml\site\lib\Module\API\Handler.html HTMLifying blib\lib\Module\API\Message.pm -> blib\libhtml\site\lib\Module\API\Message.html HTMLifying blib\lib\Module\API\Base.pm -> blib\libhtml\site\lib\Module\API\Base.html HTMLifying blib\lib\Module\API\Encoder\YAML.pm -> blib\libhtml\site\lib\Module\API\Encoder\YAML.html HTMLifying blib\lib\Module\API.pm -> blib\libhtml\site\lib\Module\API.html t/00-load..............1..1 ok 1 - use Module::API; # Testing Module::API 0.01, Perl 5.010000, C:\cpanrun\build\5-10-0\bin\perl.exe ok t/config...............ok 1 - use Module::API::Base; ok 2 - config returns a hash ok 3 - values are correct ok 4 - Set value for api_class ok 5 - Got correct value for api_class ok 6 - Set value for server_url ok 7 - Got correct value for server_url ok 8 - Set value for token ok 9 - Got correct value for token ok 10 - Set value for encoding ok 11 - Got correct value for encoding ok 12 - config returns a hash ok 13 - values are correct ok 14 - tried to get 'bad' ok 15 - tried to set 'bad' ok 16 - tried to set 'arrayref' ok 17 - tried to set 'hashref' ok 18 - tried to set 'subref' ok 19 - tried to set 'undef' ok 20 - contents are the same ok 21 - but different hashrefs ok 22 - Got the ExtraFieldsTest object ok 23 - foo correct ok 24 - set 'foo' ok 25 - foo correct ok 26 - bar works too ok 27 - object not created ok 28 - got the error 1..28 ok t/defaults.............ok 1 - use Module::API; ok 2 - Got an Module::API object ok 3 - checking encoding ok 4 - checking server_url ok 5 - checking token ok 6 - Got an Module::API object ok 7 - checking encoding ok 8 - checking server_url ok 9 - checking token ok 10 - Got an Module::API object ok 11 - checking encoding ok 12 - checking server_url ok 13 - checking token ok 14 - did not get an Module::API object ok 15 - Got correct error 1..15 ok t/encoder/roundtrip....1..30 ok 1 - Will test for 'Module::API::Encoder::Storable' ok 2 - Will test for 'Module::API::Encoder::YAML' ok 3 - ---------- Running tests on 'Module::API::Encoder::Storable'. ---------- ok 4 - use Module::API::Encoder::Storable; ok 5 - want '1' for 'Module::API::Encoder::Storable->can_do_encoding('storable')' ok 6 - want '0' for 'Module::API::Encoder::Storable->can_do_encoding('yaml')' ok 7 - encoded data is a scalar for 'this tests file contents' ok 8 - roundtripping 'this tests file contents' data ok 9 - encoded data is a scalar for 'empty hashref' ok 10 - roundtripping 'empty hashref' data ok 11 - encoded data is a scalar for 'deep hash nesting' ok 12 - roundtripping 'deep hash nesting' data ok 13 - encoded data is a scalar for 'deep array nesting' ok 14 - roundtripping 'deep array nesting' data ok 15 - encoded data is a scalar for 'collection of all' ok 16 - roundtripping 'collection of all' data ok 17 - ---------- Running tests on 'Module::API::Encoder::YAML'. ---------- ok 18 - use Module::API::Encoder::YAML; ok 19 - want '0' for 'Module::API::Encoder::YAML->can_do_encoding('storable')' ok 20 - want '1' for 'Module::API::Encoder::YAML->can_do_encoding('yaml')' ok 21 - encoded data is a scalar for 'this tests file contents' ok 22 - roundtripping 'this tests file contents' data ok 23 - encoded data is a scalar for 'empty hashref' ok 24 - roundtripping 'empty hashref' data ok 25 - encoded data is a scalar for 'deep hash nesting' ok 26 - roundtripping 'deep hash nesting' data ok 27 - encoded data is a scalar for 'deep array nesting' ok 28 - roundtripping 'deep array nesting' data ok 29 - encoded data is a scalar for 'collection of all' ok 30 - roundtripping 'collection of all' data ok t/encoders.............ok 1 - use TestAPI; ok 2 - $api has correct class ok 3 - got the correct encoders ok 4 - got the correct encoder 1..4 ok t/handler/echo.........ok 1 - use Module::API; ok 2 - Got an Module::API object ok 3 - got a response ok 4 - The object isa Module::API::Response ok 5 - checking the result 1..5 ok t/payload..............ok 1 - use Module::API::Payload; ok 2 - got the payload ok 3 - No payload set yet ok 4 - error correct ok 5 - No encoding has been set ok 6 - croak if no encoding set ok 7 - error correct ok 8 - set hashref ok 9 - hashref correct ok 10 - croak if no encoding set ok 11 - encoding error correct ok 12 - set encoding ok 13 - encoder works ok 14 - as_string correct ok 15 - set encoding to storable ok 16 - got storable ok 17 - encoder works ok 18 - as_string correct ok 19 - clear the object ok 20 - set the encoding ok 21 - set the string ok 22 - get the hashref ok 23 - clear the object ok 24 - set the encoding ok 25 - set the string ok 26 - change the encoding to yaml ok 27 - get the hashref ok 28 - Check that the string changed 1..28 ok t/plugins..............ok 1 - use TestAPI; ok 2 - got the correct plugins ok 3 - got the correct encoder 1..3 ok t/pod..................1..13 ok 1 - blib\lib\Module\API.pm ok 2 - blib\lib\Module\API\Base.pm ok 3 - blib\lib\Module\API\Handler.pm ok 4 - blib\lib\Module\API\Listener.pm ok 5 - blib\lib\Module\API\Message.pm ok 6 - blib\lib\Module\API\Payload.pm ok 7 - blib\lib\Module\API\Queue.pm ok 8 - blib\lib\Module\API\Request.pm ok 9 - blib\lib\Module\API\Response.pm ok 10 - blib\lib\Module\API\Server.pm ok 11 - blib\lib\Module\API\Encoder\Storable.pm ok 12 - blib\lib\Module\API\Encoder\YAML.pm ok 13 - blib\lib\Module\API\Plugin\Echo.pm ok t/queue/basics.........ok 1 - use Module::API; ok 2 - use Module::API::Queue; ok 3 - Module::API->can(...) ok 4 - Module::API::Queue->can(...) ok 5 - got a queue ok 6 - The object isa Module::API::Queue ok 7 - Got the same queue again ok 8 - to_send_count == 0 ok 9 - in_progress_count == 0 ok 10 - to_return_count == 0 ok 11 - total_count == 0 ok 12 - next_response gives 'undef' ok 13 - default is correct ok 14 - slots can be changed. ok 15 - changes remain 1..15 ok t/queue/destroy........ok 1 - use Module::API; ok 2 - got the api object ok 3 - queue is empty ok 4 - no error produced ok 5 - got the api object HTTP::Server::Simple: You can connect to your server at http://localhost:12345/ ok 6 - send a nb_request ok 7 - It is in the system ok 8 - correct warning ok 9 - killed the server on '-6832' 1..9 ok t/queue/send-one.......ok 1 - use Module::API; ok 2 - got the api object HTTP::Server::Simple: You can connect to your server at http://localhost:12345/ ok 3 - sent a blocking request ok 4 - Data is correct ok 5 - send a nb_request ok 6 - It is in the system ok 7 - have 1 response to return ok 8 - The object isa Module::API::Response ok 9 - Data is correct ok 10 - killed the server on '-6832' 1..10 ok t/request..............ok 1 - use Module::API::Request; ok 2 - Got an Module::API request object ok 3 - got correct api_class ok 4 - got correct encoding ok 5 - got correct request_name ok 6 - got correct server_url ok 7 - got correct token ok 8 - Got an Module::API object ok 9 - Got an Module::API request object ok 10 - got correct api_class ok 11 - got correct encoding ok 12 - got correct request_name ok 13 - got correct server_url ok 14 - got correct token ok 15 - request not created with extra arg ok 16 - error correct ok 17 - correct fields in payload. ok 18 - field 'request_config' is a hashref ok 19 - field 'request_data' is a hashref ok 20 - change the payload ok 21 - change the encoding ok 22 - check encoding is correct ok 23 - Check that the data and payload match. ok 24 - change the data ok 25 - change reflected ok 26 - Got a msg ok 27 - The object isa HTTP::Request ok 28 - msg is correct ok 29 - msg is correct 1..29 ok t/response.............ok 1 - use Module::API::Response; ok 2 - Got an Module::API response object ok 3 - got correct api_class ok 4 - got correct encoding ok 5 - got correct request_name ok 6 - got correct server_url ok 7 - got correct token ok 8 - response not created with extra arg ok 9 - error correct ok 10 - correct fields in payload. ok 11 - field 'request_config' is a hashref ok 12 - field 'response_config' is a hashref ok 13 - field 'response_data' is a hashref ok 14 - change the payload ok 15 - change the encoding ok 16 - check encoding is correct ok 17 - Check that the data and payload match. ok 18 - change the data ok 19 - change reflected ok 20 - Got a msg ok 21 - The object isa HTTP::Response ok 22 - msg is correct ok 23 - msg is correct 1..23 ok t/server...............Can't locate Test/WWW/Mechanize.pm in @INC (@INC contains: C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\Module-API\blib\lib C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\Module-API\blib\arch C:/cpanrun/build/5-10-0/site/lib C:/cpanrun/build/5-10-0/lib . C:/cpanrun/build/5-10-0/site/lib C:/cpanrun/build/5-10-0/lib .) at t/server.t line 12, line 11. BEGIN failed--compilation aborted at t/server.t line 12, line 11. dubious Test returned status 2 (wstat 512, 0x200) t/token................ok 1 - use TestAPI; ok 2 - session token is '0' ok 3 - Call the increment token API call ok 4 - session token is '1' HTTP::Server::Simple: You can connect to your server at http://localhost:12345/ ok 5 - Call the increment token API call ok 6 - session token is '2' after send over net ok 7 - Call the increment token API call ok 8 - session token is '3' after send_nb ok 9 - killed the server on '-6092' 1..9 ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/server.t 2 512 ?? ?? ?? Failed 1/16 test scripts. 0/222 subtests failed. Files=16, Tests=222, 27 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/16 test programs. 0/222 subtests failed.