PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\cygwin\bin;C:\cpanfly-5.14\var\megalib\bin;C:\Perl64-5.14\site\bin;C:\Perl64-5.14\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\instantclient_11_2;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\mysql\bin Start 2013-11-15T03:09:31 ActivePerl-1400 CPAN-2.00 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:/CPANFL~1.14/var/libs/bin;C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\cygwin\bin;C:\CPANFL~1.14\var\megalib\bin;C:\Perl64-5.14\site\bin;C:\Perl64-5.14\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\INSTAN~1;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Reading 'C:\cpanfly-5.14\var\cpan\Metadata' Database was generated on Tue, 05 Nov 2013 20:53:02 GMT Running make for T/TO/TOKUHIROM/ThaiSchema-0.09.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/T/TO/TOKUHIROM/ThaiSchema-0.09.tar.gz Checksum for C:\cpanfly-5.14\var\cpan\sources\authors\id\T\TO\TOKUHIROM\ThaiSchema-0.09.tar.gz ok ThaiSchema-0.09/Build.PL ThaiSchema-0.09/Changes ThaiSchema-0.09/LICENSE ThaiSchema-0.09/META.json ThaiSchema-0.09/README.md ThaiSchema-0.09/cpanfile ThaiSchema-0.09/lib/Test/ThaiSchema.pm ThaiSchema-0.09/lib/ThaiSchema.pm ThaiSchema-0.09/lib/ThaiSchema/Base.pm ThaiSchema-0.09/lib/ThaiSchema/JSON.pm ThaiSchema-0.09/t/00_compile.t ThaiSchema-0.09/t/01_types.t ThaiSchema-0.09/t/02_match_schema.t ThaiSchema-0.09/t/03_json.t ThaiSchema-0.09/xt/02_perlcritic.t ThaiSchema-0.09/META.yml ThaiSchema-0.09/MANIFEST CPAN.pm: Building T/TO/TOKUHIROM/ThaiSchema-0.09.tar.gz >>> C:\Perl64-5.14\bin\perl.exe Build.PL compilet-Vkl6r.c Creating library compilet.lib and object compilet.exp Generating code Finished generating code Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'ThaiSchema' version '0.09' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json >>> C:\Perl64-5.14\bin\perl.exe ./Build Building ThaiSchema TOKUHIROM/ThaiSchema-0.09.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build -- OK Running Build test >>> C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 t\00_compile.t ....... 1..3 ok 1 - use ThaiSchema; ok 2 - use ThaiSchema::JSON; ok 3 - use Test::ThaiSchema; ok t\01_types.t ......... # Subtest: int ok 1 ok 2 - zero ok 3 ok 4 ok 5 - hoge ok 6 ok 7 - zero ok 8 ok 9 ok 10 1..10 ok 1 - int # Subtest: str ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 1..8 ok 2 - str # Subtest: type_number ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 1..10 ok 3 - type_number # Subtest: type_hash ok 1 ok 2 ok 3 # Subtest: does not allow extra ok 1 1..1 ok 4 - does not allow extra # Subtest: can allow extra, optionally ok 1 1..1 ok 5 - can allow extra, optionally # Subtest: can use complex data ok 1 1..1 ok 6 - can use complex data # Subtest: can detects missing key ok 1 1..1 ok 7 - can detects missing key 1..7 ok 4 - type_hash # Subtest: type_array ok 1 ok 2 1..2 ok 5 - type_array # Subtest: type_bool ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok 6 - type_bool 1..6 ok t\02_match_schema.t .. # Subtest: match_schema # Subtest: no error # Subtest: have no error ok 1 ok 2 1..2 ok 1 - have no error 1..1 ok 1 - no error # Subtest: have one error in hash element # Subtest: have no error ok 1 ok 2 1..2 ok 1 - have no error 1..1 ok 2 - have one error in hash element # Subtest: have one error in deep hash element # Subtest: have no error ok 1 ok 2 1..2 ok 1 - have no error 1..1 ok 3 - have one error in deep hash element # Subtest: have one error in array # Subtest: have no error ok 1 ok 2 1..2 ok 1 - have no error 1..1 ok 4 - have one error in array # Subtest: have one error in array, hash # Subtest: have no error ok 1 ok 2 1..2 ok 1 - have no error 1..1 ok 5 - have one error in array, hash 1..5 ok 1 - match_schema 1..1 ok t\03_json.t .......... # Subtest: ThaiSchema::JSON#new # Subtest: creates new object ok 1 - An object of class 'ThaiSchema::JSON' isa 'ThaiSchema::JSON' 1..1 ok 1 - creates new object 1..1 ok 1 - ThaiSchema::JSON\#new # Subtest: ThaiSchema::JSON#validate # Subtest: validate simple array # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # 'Unexpected array found. at line 1, offset 1' # ]; ok 1 1..1 ok 2 - can detects error 1..2 ok 1 - validate simple array # Subtest: validate simple hash # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # 'Unexpected object found. at line 1, offset 1' # ]; ok 1 1..1 ok 2 - can detects error 1..2 ok 2 - validate simple hash # Subtest: validate number in array # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # '[0]: Int is expected, but true is found' # ]; ok 1 # $VAR1 = [ # '[0]: Int is expected, but array is found', # '[0]: Unexpected array. at line 1, offset 2' # ]; ok 2 # $VAR1 = [ # '[0]: Int is expected, but object is found', # '[0]: Unexpected hash. at line 1, offset 2' # ]; ok 3 # $VAR1 = [ # '[0]: Int is expected, but string is found' # ]; ok 4 # $VAR1 = [ # '[0]: Int is expected, but null is found' # ]; ok 5 # $VAR1 = [ # '[0]: Int is expected, but false is found' # ]; ok 6 1..6 ok 2 - can detects error 1..2 ok 3 - validate number in array # Subtest: validate number in array in array # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # '[0][0]: Int is expected, but true is found' # ]; ok 1 1..1 ok 2 - can detects error 1..2 ok 4 - validate number in array in array # Subtest: validate boolean in array # Subtest: can detects no error ok 1 ok 2 1..2 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # '[0]: Bool is expected, but array is found', # '[0]: Unexpected array. at line 1, offset 2' # ]; ok 1 # $VAR1 = [ # '[0]: Bool is expected, but object is found', # '[0]: Unexpected hash. at line 1, offset 2' # ]; ok 2 # $VAR1 = [ # '[0]: Bool is expected, but string is found' # ]; ok 3 # $VAR1 = [ # '[0]: Bool is expected, but number is found' # ]; ok 4 # $VAR1 = [ # '[0]: Bool is expected, but null is found' # ]; ok 5 1..5 ok 2 - can detects error 1..2 ok 5 - validate boolean in array # Subtest: validate int in object # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # '.x: Int is expected, but string is found' # ]; ok 1 # $VAR1 = [ # '.x: Int is expected, but object is found', # '.x: Unexpected hash. at line 1, offset 6' # ]; ok 2 1..2 ok 2 - can detects error 1..2 ok 6 - validate int in object # Subtest: validate object in object # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # '.x.y: Bool is expected, but number is found' # ]; ok 1 1..1 ok 2 - can detects error 1..2 ok 7 - validate object in object # Subtest: validate extra keys in object # Subtest: allow extra ok 1 ok 2 ok 3 ok 4 1..4 ok 1 - allow extra # Subtest: not allow extra # $VAR1 = [ # '.y: There is extra key: y at line 1, offset 11' # ]; ok 1 1..1 ok 2 - not allow extra 1..2 ok 8 - validate extra keys in object # Subtest: missing key # $VAR1 = [ # 'There is missing keys: x' # ]; ok 1 1..1 ok 9 - missing key # Subtest: allow raw hashref ok 1 1..1 ok 10 - allow raw hashref # Subtest: allow raw arrayref ok 1 1..1 ok 11 - allow raw arrayref # Subtest: allow raw hashref in arrayref ok 1 1..1 ok 12 - allow raw hashref in arrayref # Subtest: validate int # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: can detects error # $VAR1 = [ # 'integer is expected, but you got 3.14' # ]; ok 1 1..1 ok 2 - can detects error 1..2 ok 13 - validate int # Subtest: maybe # Subtest: matched # Subtest: can detects no error ok 1 1..1 ok 1 - can detects no error # Subtest: allows null ok 1 1..1 ok 2 - allows null # Subtest: fails on error # $VAR1 = [ # '.x: Maybe[Int] is expected, but string is found' # ]; ok 1 1..1 ok 3 - fails on error 1..3 ok 1 - matched 1..1 ok 14 - maybe 1..14 ok 2 - ThaiSchema::JSON\#validate 1..2 ok All tests successful. Files=4, Tests=12, 1 wallclock secs ( 0.08 usr + 0.01 sys = 0.09 CPU) Result: PASS TOKUHIROM/ThaiSchema-0.09.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 -- OK Tokuhiro Matsuno <tokuhirom+cpan@gmail.com> Lightweight schema validator >>> (cd C:\cpanfly-5.14\var\cpan\build\ThaiSchema-0.09-dQUh4A && tar cvf - ThaiSchema-0.09.ppd blib) | gzip -c >C:/cpanfly-5.14/var/REPO/T/TO/TOKUHIROM/ThaiSchema-0.09.tar.gz ThaiSchema-0.09.ppd blib/ blib/lib/ blib/lib/Test/ blib/lib/Test/ThaiSchema.pm blib/lib/ThaiSchema/ blib/lib/ThaiSchema/Base.pm blib/lib/ThaiSchema/JSON.pm blib/lib/ThaiSchema.pm >>> mv C:\cpanfly-5.14\var\cpan\build\ThaiSchema-0.09-dQUh4A/ThaiSchema-0.09.ppd C:/cpanfly-5.14/var/REPO/T/TO/TOKUHIROM Finished 2013-11-15T03:09:40