# running Build.PL C:\cpanrun\build\5-10-0\bin\perl.exe Build.PL ./lib/REST/Resource.pm: $VERSION => '0.5.2.4' ./lib/REST/Request.pm: $VERSION => '0.5.2.4' ./lib/REST/RequestFast.pm: $VERSION => '0.5.2.4' ./eg/cgi_server/parts.cgi: $VERSION => '0.5.2.4' ./eg/fcgi_server/parts.fcgi: $VERSION => '0.5.2.4' Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'REST-Resource' version '0.5.2.4' 'pl2bat' is not recognized as an internal or external command, operable program or batch file. Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe Build --makefile_env_macros 1 Copying lib\REST\Request.pm -> blib\lib\REST\Request.pm Copying lib\REST\Resource.pm -> blib\lib\REST\Resource.pm Copying lib\REST\RequestFast.pm -> blib\lib\REST\RequestFast.pm Copying bin\release.sh -> blib\script\release.sh Manifying blib\lib/REST/RequestFast.pm -> blib\libdoc\REST.RequestFast.3 Manifying blib\lib/REST/Request.pm -> blib\libdoc\REST.Request.3 Manifying blib\lib/REST/Resource.pm -> blib\libdoc\REST.Resource.3 HTMLifying blib\lib\REST\RequestFast.pm -> blib\libhtml\site\lib\REST\RequestFast.html HTMLifying blib\lib\REST\Request.pm -> blib\libhtml\site\lib\REST\Request.html HTMLifying blib\lib\REST\Resource.pm -> blib\libhtml\site\lib\REST\Resource.html Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe Build --makefile_env_macros 1 test t\01-module_load...............1..2 ok 1 - use REST::Resource; ok 2 - use REST::Request; ok t\02_methods...................1..50 ok 1 - Constructor works via class name. ok 2 - Construct works via instance. ok 3 - Expected exception thrown. ok 4 - Expected exception thrown. ok 5 - Expected exception thrown. ok 6 - GET handler matches expectation ok 7 - GET description matches expectation ok 8 - PUT handler matches expectation ok 9 - PUT description matches expectation ok 10 - POST handler matches expectation ok 11 - POST description matches expectation ok 12 - DELETE handler matches expectation ok 13 - DELETE description matches expectation ok 14 - HEAD handler matches expectation ok 15 - HEAD description matches expectation ok 16 - TRACE handler matches expectation ok 17 - TRACE description matches expectation ok 18 - authenticate handler matches expectation ok 19 - authenticate description matches expectation ok 20 - Method [api] returned status [200], expected status [200] ok 21 - Method [authenticate] returned status [200], expected status [200] ok 22 - Method [unimplemented] returned status [200], expected status [200] ok 23 - html handler matches expectation ok 24 - text/html handler matches expectation ok 25 - text handler matches expectation ok 26 - text/plain handler matches expectation ok 27 - non-existent handler matches expectation ok 28 - html description matches expectation ok 29 - text/html description matches expectation ok 30 - Accept: text/html; induced correct default format detection. ok 31 - Accept: text/plain; induced correct default format detection. ok 32 - Gecko browser defaults to html. ok 33 - Gecko browser defaults to html. ok 34 - Opera browser defaults to html. ok 35 - MSIE browser defaults to html. ok 36 - Konqueror browser defaults to html.text/html ok 37 - ?format=html; induced correct default format detection. ok 38 - ?format=text; induced correct default format detection. ok 39 - Lowercase environment variable extraction. ok 40 - Uppercase environment variable extraction. ok 41 - Non-existent variable extraction. ok 42 - REQUEST_METHOD state change is undetectable, as expected. ok 43 - REQUEST_METHOD state change is undetectable, as expected. ok 44 - REQUEST_METHOD state change is undetectable, as expected. ok 45 - REQUEST_METHOD state change is undetectable, as expected. ok 46 - quality 1.0 text/plain default format detected. ok 47 - quality 1.0 text/html default format detected. ok 48 - https semantics detected. $VAR1 = { # 'TRACE' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'TRACE: API identity / discoverability.' # }, # 'DELETE' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'DELETE: Unimplemented delete mutator.' # }, # 'version' => '0.5.2.4', # 'PUT' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'PUT: Unimplemented create mutator.' # }, # 'HEAD' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'HEAD: API identity / discoverability.' # }, # 'implementation' => 'REST::Resource', # 'POST' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'POST: Unimplemented update mutator.' # }, # 'authenticate' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'authenticate: Default no-authorization-required authentication control implementation.' # }, # 'GET' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'GET: Unimplemented read accessor.' # } # }; # ok 49 - No-REQUEST_URI semantics detected. $VAR1 = { # 'TRACE' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'TRACE: API identity / discoverability.' # }, # 'DELETE' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'DELETE: Unimplemented delete mutator.' # }, # 'version' => '0.5.2.4', # 'PUT' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'PUT: Unimplemented create mutator.' # }, # 'HEAD' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'HEAD: API identity / discoverability.' # }, # 'implementation' => 'REST::Resource', # 'POST' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'POST: Unimplemented update mutator.' # }, # 'authenticate' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'authenticate: Default no-authorization-required authentication control implementation.' # }, # 'GET' => { # 'url' => 'https://localhost/foo.pl', # 'description' => 'GET: Unimplemented read accessor.' # } # }; # ok 50 - /dummy/testing/uri detected. $VAR1 = { # 'TRACE' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'TRACE: API identity / discoverability.' # }, # 'DELETE' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'DELETE: Unimplemented delete mutator.' # }, # 'version' => '0.5.2.4', # 'PUT' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'PUT: Unimplemented create mutator.' # }, # 'HEAD' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'HEAD: API identity / discoverability.' # }, # 'implementation' => 'REST::Resource', # 'POST' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'POST: Unimplemented update mutator.' # }, # 'authenticate' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'authenticate: Default no-authorization-required authentication control implementation.' # }, # 'GET' => { # 'url' => 'https://localhost/dummy/testing/uri', # 'description' => 'GET: Unimplemented read accessor.' # } # }; # ok t\03_fcgi......................Reference found where even-sized list expected at t\03_fcgi.t line 29. 1..13 ok 1 - Lowercase environment variable extraction. ok 2 - Uppercase environment variable extraction. ok 3 - Non-existent variable extraction. ok 4 - REQUEST_METHOD state change is undetectable, as expected. ok 5 - REQUEST_METHOD state change is undetectable, as expected. ok 6 - REQUEST_METHOD state change is undetectable, as expected. ok 7 - REQUEST_METHOD state change is undetectable, as expected. ok 8 - Constructor works via class name. ok 9 - FCGI server ended in an expected timeframe. ok 10 - FCGI server ended in an expected timeframe. ok 11 - FCGI server ended in an expected timeframe. ok 12 - FCGI server ended in an expected timeframe. ok 13 - FCGI server ended in an expected timeframe. ok t\04_conditional_methods.......1..28 ok 1 - Constructor works via class name. ok 2 - Construct works via instance. ok 3 - xml handler matches expectation ok 4 - application/xml handler matches expectation ok 5 - json handler matches expectation ok 6 - text/javascript handler matches expectation ok 7 - xml description matches expectation ok 8 - application/xml description matches expectation ok 9 - json description matches expectation ok 10 - text/javascript description matches expectation ok 11 - text/javascript description matches expectation: foo ok 12 - format_xml() results match expectation. 'objToJson' will be obsoleted. Please use 'to_json' instead. at C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\REST-Resource\blib\lib/REST/Resource.pm line 739 ok 13 - format_json() results match expectation. ok 14 - Accept: application/xml; induced correct default format detection. ok 15 - Accept: text/javascript; induced correct default format detection. ok 16 - ?format=xml; induced correct default format detection. ok 17 - ?format=json; induced correct default format detection. ok 18 - Data::Dumper output detected in text/plain response. 'objToJson' will be obsoleted. Please use 'to_json' instead. at C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\REST-Resource\blib\lib/REST/Resource.pm line 739 ok 19 - JSON output detected in text/javascritp response.$VAR1 = bless( \*Symbol::GEN2, 'IO::String' ); # # Failed test 'HTML output detected in text/html response.$VAR1 = bless( \*Symbol::GEN3, 'IO::String' ); # ' # at t\04_conditional_methods.t line 221. not ok 20 - HTML output detected in text/html response.$VAR1 = bless( \*Symbol::GEN3, 'IO::String' ); # # Failed test 'XML output detected in application/xml response.$VAR1 = bless( \*Symbol::GEN4, 'IO::String' ); # ' # at t\04_conditional_methods.t line 228. not ok 21 - XML output detected in application/xml response.$VAR1 = bless( \*Symbol::GEN4, 'IO::String' ); # Use of uninitialized value in concatenation (.) or string at C:/cpanrun/build/5-10-0/site/lib/XML/Dumper.pm line 400. # Failed test 'XML output detected in spite of bad REQUEST_METHOD.$VAR1 = bless( \*Symbol::GEN5, 'IO::String' ); # ' # at t\04_conditional_methods.t line 235. not ok 22 - XML output detected in spite of bad REQUEST_METHOD.$VAR1 = bless( \*Symbol::GEN5, 'IO::String' ); # ok 23 - No failures executing handle_request with unauthorized behavior (weak test). ok 24 - quality 1.0 application/xml default format detected. ok 25 - default xml default format presumed. ok 26 - default xml default format presumed. ok 27 - quality 1.0 text/javascript default format detected. ok 28 - no accept header returns xml by default. # Looks like you failed 3 tests of 28. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 20-22 Failed 3/28 tests, 89.29% okay t\05-pod.......................1..3 ok 1 - lib/REST/Request.pm ok 2 - lib/REST/RequestFast.pm ok 3 - lib/REST/Resource.pm ok t\06-pod_coverage..............1..0 # Skip Test::Pod::Coverage required for testing pod coverage skipped all skipped: Test::Pod::Coverage required for testing pod coverage t\07_no_conditional_modules....1..4 ok 1 - XML::Dumper hooks not loaded when not available, as expected. ok 2 - XML::Dumper hooks not loaded when not available, as expected. ok 3 - JSON hooks not loaded when not available, as expected. ok 4 - JSON hooks not loaded when not available, as expected. ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t\04_conditional_methods.t 3 768 28 3 20-22 1 test skipped. Failed 1/7 test scripts. 3/100 subtests failed. Files=7, Tests=100, 3 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/7 test programs. 3/100 subtests failed. NMAKE : fatal error U1077: 'C:\cpanrun\build\5-10-0\bin\perl.exe' : return code '0xff' Stop.