PATH=C:\MinGW-32\bin;C:\cygwin\bin;C:\cpanfly-5.22-32\var\megalib\bin;C:\Perl-5.22-32\site\bin;C:\Perl-5.22-32\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\cpanfly-5.22-32\var\megalib\bin;C:\Perl-5.22-64\site\bin;C:\Perl-5.22-64\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\cpanfly-5.22-32\var\megalib\bin;C:\Perl-5.22-64\site\bin;C:\Perl-5.22-64\bin;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\mysql-5.5.45-x64\bin;C:\mysql-5.5.45-x64\bin;=C:\mysql-5.5.45-win32\bin Start 2015-09-15T13:33:06 ActivePerl-2200 CPAN-2.00 PATH=C:\MinGW-32\bin;C:\cygwin\bin;C:\CPANFL~1.22-\var\megalib\bin;C:\PERL-5~1.22-\site\bin;C:\PERL-5~1.22-\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\CPANFL~1.22-\var\megalib\bin;C:\PERL-5~2.22-\site\bin;C:\PERL-5~2.22-\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\CPANFL~1.22-\var\megalib\bin;C:\PERL-5~2.22-\site\bin;C:\PERL-5~2.22-\bin;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WINDOW~1\v1.0\ Reading 'C:\cpanfly-5.22-32\var\cpan\Metadata' Database was generated on Tue, 15 Sep 2015 05:17:02 GMT Running make for B/BR/BRAINBUZ/String-Validator-0.97.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/B/BR/BRAINBUZ/String-Validator-0.97.tar.gz Checksum for C:\cpanfly-5.22-32\var\cpan\sources\authors\id\B\BR\BRAINBUZ\String-Validator-0.97.tar.gz ok String-Validator-0.97/ String-Validator-0.97/MANIFEST String-Validator-0.97/Changes String-Validator-0.97/lib/ String-Validator-0.97/lib/String/ String-Validator-0.97/lib/String/Validator.pm String-Validator-0.97/README String-Validator-0.97/Makefile.PL String-Validator-0.97/META.yml String-Validator-0.97/t/ String-Validator-0.97/t/manifest.t String-Validator-0.97/t/00-load.t String-Validator-0.97/META.json CPAN.pm: Building B/BR/BRAINBUZ/String-Validator-0.97.tar.gz >>> C:\Perl-5.22-32\bin\perl.exe Makefile.PL Warning: prerequisite String::Validator::Email 0.98 not found. Warning: prerequisite String::Validator::Password 0.94 not found. Warning: prerequisite String::Validator::Phone::NANP 0.96 not found. Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for String::Validator Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- BRAINBUZ/String-Validator-0.97.tar.gz ---- String::Validator::Email [requires] String::Validator::Phone::NANP [requires] String::Validator::Password [requires] Running make test Delayed until after prerequisites Running test for module 'String::Validator::Email' Running make for B/BR/BRAINBUZ/String-Validator-Email-0.98.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/B/BR/BRAINBUZ/String-Validator-Email-0.98.tar.gz Checksum for C:\cpanfly-5.22-32\var\cpan\sources\authors\id\B\BR\BRAINBUZ\String-Validator-Email-0.98.tar.gz ok String-Validator-Email-0.98/ String-Validator-Email-0.98/lib/ String-Validator-Email-0.98/lib/String/ String-Validator-Email-0.98/lib/String/Validator/ String-Validator-Email-0.98/lib/String/Validator/Email.pm String-Validator-Email-0.98/README String-Validator-Email-0.98/Makefile.PL String-Validator-Email-0.98/META.yml String-Validator-Email-0.98/Changes String-Validator-Email-0.98/META.json String-Validator-Email-0.98/MANIFEST String-Validator-Email-0.98/t/ String-Validator-Email-0.98/t/20-default.t String-Validator-Email-0.98/t/11-length.t String-Validator-Email-0.98/t/00-load.t String-Validator-Email-0.98/t/23-string.t String-Validator-Email-0.98/t/10-matches.t String-Validator-Email-0.98/t/21-options.t String-Validator-Email-0.98/t/22-mx.t CPAN.pm: Building B/BR/BRAINBUZ/String-Validator-Email-0.98.tar.gz >>> C:\Perl-5.22-32\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for String::Validator::Email Writing MYMETA.yml and MYMETA.json >>> dmake cp lib/String/Validator/Email.pm blib\lib\String\Validator\Email.pm BRAINBUZ/String-Validator-Email-0.98.tar.gz dmake -- OK Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.22-32\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/00-load.t ..... 1..3 ok 1 - use String::Validator::Email; ok 2 - New validator isa String::Validator::Email ok 3 - New validator isa String::Validator::Common ok # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/10-matches.t .. 1..6 ok 1 - use String::Validator::Email; ok 2 - New validator isa String::Validator::Email ok 3 - New validator isa String::Validator::Common ok 4 - A simple password that passes the default rules ok 5 - Mismatched passwords fail. ok 6 - Mismatched addresses fail via the Check Method. ok # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/11-length.t ... 1..16 ok 1 - use String::Validator::Email; # Checking length ok 2 - Short is too short. ok 3 - The error string should tell us it is too short. ok 4 - 31 character string passes. ok 5 - 32 character string passes. ok 6 - 33 character string fails. ok 7 - The error string should tell us it is too long. # min_len now 22 ok 8 - 22 character string PASS. ok 9 - 23 character string Pass. ok 10 - 19 character string FAIL. ok 11 - The error string should tell us it is too long. # max and min length are now both 22 ok 12 - 23 character string Fail. ok 13 - 22 character string PASS. ok 14 - 21 character string FAIL. # Check that setting both lenght vals to 0 turns the tests off. ok 15 - Null string passes when we dont check it. ok 16 - A long address in fake tld is also passing. ok # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe Use of uninitialized value in transliteration (tr///) at C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp\blib\lib/String/Validator/Email.pm line 104. t/20-default.t .. 1..14 ok 1 - use String::Validator::Email; ok 2 - Should have returned 1 error ok 3 - bad@email Error String should include fqdn. ok 4 - Should have returned 1 error ok 5 - bad-at-email.domain Error String should include rfc822. ok 6 - Should have returned 1 error ok 7 - bad@email.fakedomain Error String should include tldcheck. ok 8 - Expound tells us it didnt recognize tld. ok 9 - IP address not allowed for domain. not ok 10 - Expound tells us it didnt recognize tld. # TODO Need to replace Email::Valid for now skip tests. # Failed (TODO) test 'Expound tells us it didnt recognize tld.' # at t/20-default.t line 40. # '' # doesn't match '(?^:The TLD)' ok 11 - This string should be ok. ok 12 - This string should not be ok. but the error should not be fatal. ok 13 - aloitious@thealgonquin Failed for fqdn. ok 14 - expound method explained that it requires a Fully Qualified Domain Name ok # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/21-options.t .. 1..12 ok 1 - use String::Validator::Email; # Walk through each available non-default value singly ok 2 - Should have returned 1 error ok 3 - bad@email no fqdn should still fail with tldcheck off. ok 4 - bad@email.domain passes because tldcheck is off. ok 5 - my.account@[192.168.1.1] passes because allow_ip is on. ok 6 - bad@email no fqdn should still fail with tldcheck off. ok 7 - Allow ip and tld check off, 142.167.1.1 should fail ok 8 - Got fqdn Error message for 142.167.1.1 # Testing with fqdn off - to be meaningful tldcheck also off. ok 9 - 142.167.1.1 should fail ok 10 - Got IP Error message for 142.167.1.1 ok 11 - aloitious@algonquin.com should be ok. ok 12 - aloitious@algonquin should be ok because fqdn is off. ok # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/22-mx.t ....... 1..10 ok 1 - use String::Validator::Email; # Check that the mx check option is working. # Keys -tldcheck # Values 1 ok 2 - bad@email Should have returned fqdn error. ok 3 - This address should pass all except mxcheck ok 4 - Errstr tells us No MX. ok 5 - brainbuz.org If my email address isn't valid no one is maintaining this module! # ok 6 - Errstr should be empty. ok 7 - gmail If my email address isn't valid no one is maintaining this module! # ok 8 - ghost7mail.com made up address Is_Valid returns false ok 9 - ghost7mail.com made up address IsNot_Valid returns reason of MX ok 10 - Expounding after previous test tells us Mail Exchanger for ghost7mail.com is missing. ok # Testing String::Validator::Email 0.98, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/23-string.t ... ok 1 - use String::Validator::Email; # Check stringification. ok 2 - Jane Brown contains a valid email address # Jane Brown ok 3 - Even for this bad address Validator should know domain part is domain.com 1..3 ok All tests successful. Files=7, Tests=64, 5 wallclock secs ( 0.11 usr + 0.00 sys = 0.11 CPU) Result: PASS BRAINBUZ/String-Validator-Email-0.98.tar.gz dmake test TEST_VERBOSE=1 -- OK Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/B/BR/BRAINBUZ/CHECKSUMS John Karr <brainbuz@cpan.org> Check if a string is an email address. >>> (cd C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp && tar cvf - String-Validator-Email-0.98.ppd blib) | gzip -c >C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ/String-Validator-Email-0.98.tar.gz String-Validator-Email-0.98.ppd blib/ blib/lib/ blib/lib/String/ blib/lib/String/Validator/ blib/lib/String/Validator/Email.pm >>> mv C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/String-Validator-Email-0.98.ppd C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ Running test for module 'String::Validator::Phone::NANP' Running make for B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'get' Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz Checksum for C:\cpanfly-5.22-32\var\cpan\sources\authors\id\B\BR\BRAINBUZ\String-Validator-Phone-NANP-0.96.tar.gz ok String-Validator-Phone-NANP-0.96/ String-Validator-Phone-NANP-0.96/lib/ String-Validator-Phone-NANP-0.96/lib/String/ String-Validator-Phone-NANP-0.96/lib/String/Validator/ String-Validator-Phone-NANP-0.96/lib/String/Validator/Phone/ String-Validator-Phone-NANP-0.96/lib/String/Validator/Phone/NANP.pm String-Validator-Phone-NANP-0.96/README String-Validator-Phone-NANP-0.96/META.json String-Validator-Phone-NANP-0.96/t/ String-Validator-Phone-NANP-0.96/t/30-number-phone.t String-Validator-Phone-NANP-0.96/t/00-load.t String-Validator-Phone-NANP-0.96/t/21-alpha.t String-Validator-Phone-NANP-0.96/t/20-defaults.t String-Validator-Phone-NANP-0.96/t/22-format.t String-Validator-Phone-NANP-0.96/t/manifest.t String-Validator-Phone-NANP-0.96/t/11-clean.t String-Validator-Phone-NANP-0.96/META.yml String-Validator-Phone-NANP-0.96/MANIFEST String-Validator-Phone-NANP-0.96/Changes String-Validator-Phone-NANP-0.96/Makefile.PL Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'make' CPAN.pm: Building B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz >>> C:\Perl-5.22-32\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for String::Validator::Phone::NANP Writing MYMETA.yml and MYMETA.json >>> dmake cp lib/String/Validator/Phone/NANP.pm blib\lib\String\Validator\Phone\NANP.pm BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz dmake -- OK Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'test' Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.22-32\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Testing String::Validator::Phone::NANP 0.96, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/00-load.t .......... 1..3 ok 1 - use String::Validator::Phone::NANP; ok 2 - Created a String::Validator::Phone::NANP object ok 3 - Object is also a String::ValidatorCommon ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/11-clean.t ......... ok 1 - use String::Validator::Phone::NANP; ok 2 - ALPHA OFF +1 202 418 1440 >> 202-418-1440 ok 3 - +1 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 4 - ALPHA ON +1 202 418 1440 >> 202-418-1440 ok 5 - +1 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 6 - ALPHA OFF 1 202 418 1440 >> 202-418-1440 ok 7 - 1 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 8 - ALPHA ON 1 202 418 1440 >> 202-418-1440 ok 9 - 1 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 10 - ALPHA OFF 202 418 1440 >> 202-418-1440 ok 11 - 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 12 - ALPHA ON 202 418 1440 >> 202-418-1440 ok 13 - 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 14 - ALPHA OFF (202) 418-1440 >> 202-418-1440 ok 15 - (202) 418-1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 16 - ALPHA ON (202) 418-1440 >> 202-418-1440 ok 17 - (202) 418-1440 10 char check with alpha ON. 202-418-1440 - 1 ok 18 - ALPHA OFF (202)418-1440 >> 202-418-1440 ok 19 - (202)418-1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 20 - ALPHA ON (202)418-1440 >> 202-418-1440 ok 21 - (202)418-1440 10 char check with alpha ON. 202-418-1440 - 1 ok 22 - ALPHA OFF 202.418.1440 >> 202-418-1440 ok 23 - 202.418.1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 24 - ALPHA ON 202.418.1440 >> 202-418-1440 ok 25 - 202.418.1440 10 char check with alpha ON. 202-418-1440 - 1 ok 26 - ALPHA OFF 202-418-1440 >> 202-418-1440 ok 27 - 202-418-1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 28 - ALPHA ON 202-418-1440 >> 202-418-1440 ok 29 - 202-418-1440 10 char check with alpha ON. 202-418-1440 - 1 ok 30 - ALPHA OFF 202 418 1440 >> 202-418-1440 ok 31 - 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 32 - ALPHA ON 202 418 1440 >> 202-418-1440 ok 33 - 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 34 - ALPHA OFF 12024181440 >> 202-418-1440 ok 35 - 12024181440 10 char check with alpha OFF. 202-418-1440 - 1 ok 36 - ALPHA ON 12024181440 >> 202-418-1440 ok 37 - 12024181440 10 char check with alpha ON. 202-418-1440 - 1 ok 38 - ALPHA OFF 786-3162 >> 786-316-2 ok 39 - 786-3162 10 char check with alpha OFF. 786-316-2 - 0 ok 40 - ALPHA ON 786-3162 >> 786-316-2 ok 41 - 786-3162 10 char check with alpha ON. 786-316-2 - 0 ok 42 - ALPHA OFF 718-1786-3162 >> 718-178-63162 ok 43 - 718-1786-3162 10 char check with alpha OFF. 718-178-63162 - 0 ok 44 - ALPHA ON 718-1786-3162 >> 718-178-63162 ok 45 - 718-1786-3162 10 char check with alpha ON. 718-178-63162 - 0 ok 46 - ALPHA OFF 1 (212) MU7-WXYZ >> 212-7- ok 47 - 1 (212) MU7-WXYZ 10 char check with alpha OFF. 212-7- - 0 ok 48 - ALPHA ON 1 (212) MU7-WXYZ >> 212-687-9999 ok 49 - 1 (212) MU7-WXYZ 10 char check with alpha ON. 212-687-9999 - 1 ok 50 - ALPHA OFF 415-AKA-THEM >> 415-- ok 51 - 415-AKA-THEM 10 char check with alpha OFF. 415-- - 0 ok 52 - ALPHA ON 415-AKA-THEM >> 415-252-8436 ok 53 - 415-AKA-THEM 10 char check with alpha ON. 415-252-8436 - 1 ok 54 - ALPHA OFF 1-415-AKA-THEM >> 415-- ok 55 - 1-415-AKA-THEM 10 char check with alpha OFF. 415-- - 0 ok 56 - ALPHA ON 1-415-AKA-THEM >> 415-252-8436 ok 57 - 1-415-AKA-THEM 10 char check with alpha ON. 415-252-8436 - 1 ok 58 - ALPHA OFF +1 (609) Adi-JMPT >> 609-- ok 59 - +1 (609) Adi-JMPT 10 char check with alpha OFF. 609-- - 0 ok 60 - ALPHA ON +1 (609) Adi-JMPT >> 609-234-5678 ok 61 - +1 (609) Adi-JMPT 10 char check with alpha ON. 609-234-5678 - 1 ok 62 - ALPHA OFF 777-QRS-TUV8 >> 777-8- ok 63 - 777-QRS-TUV8 10 char check with alpha OFF. 777-8- - 0 ok 64 - ALPHA ON 777-QRS-TUV8 >> 777-777-8888 ok 65 - 777-QRS-TUV8 10 char check with alpha ON. 777-777-8888 - 1 1..65 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/20-defaults.t ...... ok 1 - use String::Validator::Phone::NANP; ok 2 - First test is a valid phone number ok 3 - String ok 4 - Second test is a valid phone number in different format. ok 5 - String ok 6 - 000.418.1440 has an invalid area code. ok 7 - bad area code. ok 8 - 221-321-ABC Check has 1 error ok 9 - 221-321-ABC !Is_Valid ok 10 - 221-321-ABC IsNot_Valid Not a 10 digit... ok 11 - After 221-321-ABC String() is null. ok 12 - After 221-321-ABC Original() is null. ok 13 - After 221-321-ABC International() is null. 1..13 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/21-alpha.t ......... ok 1 - use String::Validator::Phone::NANP; # Similar tests to defaults with alpha switched on. ok 2 - First test is a valid phone number +1 312 447 HELP ok 3 - +1 312 447 HELP -> 312-447-4357 ok 4 - Second test is a valid phone number in different format. 201.703.T0YS ok 5 - 201.703.T0YS -> 201-703-8097 ok 6 - Second test is a valid phone number in different format. 604-226-2321 ok 7 - 604.CAN.ADA1 -> 604-226-2321 ok 8 - 000.418.1440 has an invalid area code. ok 9 - bad area code. 1..9 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/22-format.t ........ ok 1 - use String::Validator::Phone::NANP; # Several methods for String return and formatting -- # * Original() the original string passed, # * String() returns AREA-EXCHANGE-NUMBER, # * International() 1-AREA-EXCHANGE-NUMBER, # * Parens() (AREA) EXCHANGE-NUMBER, # * Areacode() AREA, # * Local() EXCHANGE-NUMBER. ok 2 - Original() +1 202 418 1440 ok 3 - String() 202-418-1440 ok 4 - International() 1-202-418-1440 ok 5 - Areacode() 202 ok 6 - Exchange() 418 ok 7 - Local() 1440 ok 8 - Parens() (202) 418-1440 ok 9 - Original() 1 (212) MU7-WXYZ ok 10 - String() 212-687-9999 ok 11 - International() 1-212-687-9999 ok 12 - Areacode() 212 ok 13 - Exchange() 687 ok 14 - Local() 9999 ok 15 - Parens() (212) 687-9999 ok 16 - Original() 415-AKA-THEM ok 17 - String() 415-252-8436 ok 18 - International() 1-415-252-8436 ok 19 - Areacode() 415 ok 20 - Exchange() 252 ok 21 - Local() 8436 ok 22 - Parens() (415) 252-8436 ok 23 - Original() +1 (609) Adi-JMPT ok 24 - String() 609-234-5678 ok 25 - International() 1-609-234-5678 ok 26 - Areacode() 609 ok 27 - Exchange() 234 ok 28 - Local() 5678 ok 29 - Parens() (609) 234-5678 1..29 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/30-number-phone.t .. ok 1 - use String::Validator::Phone::NANP; # We can create a Number::Phone::NANP object. It is tested to prove this works # and because a major todo is to completely encapsulate Number::Phone within # String::Validator::Phone. # Testing phone object creation for +1 202 418 1440 ok 2 - Created a Number::Phone::NANP object ok 3 - +1 202 418 1440 Number_Phone is_valid should be true. ok 4 - +1 202 418 1440 areacode. ok 5 - +1 202 418 1440 Country: US # Testing phone object creation for 1 (212) MU7-WXYZ ok 6 - Created a Number::Phone::NANP object ok 7 - 1 (212) MU7-WXYZ Number_Phone is_valid should be true. ok 8 - 1 (212) MU7-WXYZ areacode. ok 9 - 1 (212) MU7-WXYZ Country: US # Testing phone object creation for 415-AKA-THEM ok 10 - Created a Number::Phone::NANP object ok 11 - 415-AKA-THEM Number_Phone is_valid should be true. ok 12 - 415-AKA-THEM areacode. ok 13 - 415-AKA-THEM Country: US # Testing phone object creation for 609-234-5678 ok 14 - Created a Number::Phone::NANP object ok 15 - 609-234-5678 Number_Phone is_valid should be true. ok 16 - 609-234-5678 areacode. ok 17 - 609-234-5678 Country: US # Testing phone object creation for 441-323-3451 ok 18 - Created a Number::Phone::NANP object ok 19 - 441-323-3451 Number_Phone is_valid should be true. ok 20 - 441-323-3451 areacode. ok 21 - 441-323-3451 Country: BM # Testing phone object creation for 416-323-3451 ok 22 - Created a Number::Phone::NANP object ok 23 - 416-323-3451 Number_Phone is_valid should be true. ok 24 - 416-323-3451 areacode. ok 25 - 416-323-3451 Country: CA ok 26 - 221-321-ABC fails Is_Valid ok 27 - After 221-321-ABC cannot create a Number::Phone object. 1..27 ok t/manifest.t ......... skipped: Author tests not required for installation All tests successful. Files=7, Tests=146, 3 wallclock secs ( 0.11 usr + 0.05 sys = 0.16 CPU) Result: PASS BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz dmake test TEST_VERBOSE=1 -- OK John Karr <brainbuz@cpan.org> Check a Phone Number (North American Numbering Plan)! >>> (cd C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2 && tar cvf - String-Validator-Phone-NANP-0.96.ppd blib) | gzip -c >C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz String-Validator-Phone-NANP-0.96.ppd blib/ blib/lib/ blib/lib/String/ blib/lib/String/Validator/ blib/lib/String/Validator/Phone/ blib/lib/String/Validator/Phone/NANP.pm >>> mv C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/String-Validator-Phone-NANP-0.96.ppd C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ Running test for module 'String::Validator::Password' Running make for B/BR/BRAINBUZ/String-Validator-Password-0.94.tar.gz Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'get' Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/B/BR/BRAINBUZ/String-Validator-Password-0.94.tar.gz Checksum for C:\cpanfly-5.22-32\var\cpan\sources\authors\id\B\BR\BRAINBUZ\String-Validator-Password-0.94.tar.gz ok String-Validator-Password-0.94/ String-Validator-Password-0.94/lib/ String-Validator-Password-0.94/lib/String/ String-Validator-Password-0.94/lib/String/Validator/ String-Validator-Password-0.94/lib/String/Validator/Password.pm String-Validator-Password-0.94/README String-Validator-Password-0.94/META.json String-Validator-Password-0.94/t/ String-Validator-Password-0.94/t/21-password_length.t String-Validator-Password-0.94/t/24-password_min_types.t String-Validator-Password-0.94/t/00-load.t String-Validator-Password-0.94/t/22-require.t String-Validator-Password-0.94/t/20-defaults.t String-Validator-Password-0.94/t/manifest.t String-Validator-Password-0.94/t/32-IsValid.t String-Validator-Password-0.94/t/31-IsNotValid.t String-Validator-Password-0.94/t/10-matches.t String-Validator-Password-0.94/t/30-String.t String-Validator-Password-0.94/t/25-errorcheck.t String-Validator-Password-0.94/t/23-deny.t String-Validator-Password-0.94/META.yml String-Validator-Password-0.94/MANIFEST String-Validator-Password-0.94/Changes String-Validator-Password-0.94/Makefile.PL Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'make' CPAN.pm: Building B/BR/BRAINBUZ/String-Validator-Password-0.94.tar.gz >>> C:\Perl-5.22-32\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for String::Validator::Password Writing MYMETA.yml and MYMETA.json >>> dmake cp lib/String/Validator/Password.pm blib\lib\String\Validator\Password.pm BRAINBUZ/String-Validator-Password-0.94.tar.gz dmake -- OK Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'test' Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.22-32\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/00-load.t ................ 1..2 ok 1 - use String::Validator::Password; ok 2 - New validator isa String::Validator::Password ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/10-matches.t ............. 1..4 ok 1 - use String::Validator::Password; ok 2 - New validator isa String::Validator::Password ok 3 - A simple password that passes the default rules ok 4 - Mismatched passwords fail. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/20-defaults.t ............ 1..18 ok 1 - use String::Validator::Password; ok 2 - New validator isa String::Validator::Password ok 3 - A simple password that passes the default rules. # Checking against default min_types and check internal counters for types. ok 4 - 1234567689 fails types. # last test types found 1 ok 5 - Internal num_types counter should be 1. ok 6 - Internal num_num counter should be 10. ok 7 - num_lc counter should be 0. ok 8 - num_uc counter should be 0. ok 9 - num_punct counter should be 0. ok 10 - 1234567689X passes types. ok 11 - 1234567689z passes types. ok 12 - 1234567689^ passes types. # Checking length ok 13 - Short is too short. ok 14 - The error string should tell us it is too short. ok 15 - 31 character string passes. ok 16 - 32 character string passes. ok 17 - 33 character string fails. ok 18 - The error string should tell us it is too long. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/21-password_length.t ..... 1..14 ok 1 - use String::Validator::Password; # Checking length ok 2 - Short is too short. ok 3 - The error string should tell us it is too short. ok 4 - 31 character string passes. ok 5 - 32 character string passes. ok 6 - 33 character string fails. ok 7 - The error string should tell us it is too long. # min_len now 22 ok 8 - 22 character string PASS. ok 9 - 23 character string Pass. ok 10 - 19 character string FAIL. ok 11 - The error string should tell us it is too long. # max and min length are now both 22 ok 12 - 23 character string Fail. ok 13 - 22 character string PASS. ok 14 - 21 character string FAIL. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/22-require.t ............. 1..29 ok 1 - use String::Validator::Password; # Require_lc. ok 2 - lowercaseonly string passes. ok 3 - UPPERCASEONLY string fails. ok 4 - numeric string fails. ok 5 - allpunct string fails. ok 6 - oneofeach string passes. ok 7 - twoofeach string passes # Require_uc. ok 8 - lowercaseonly string fails. ok 9 - UPPERCASEONLY string passes. ok 10 - numeric string fails. ok 11 - allpunct string fails. ok 12 - oneofeach string passes. ok 13 - twoofeach string passes # Require_nums. ok 14 - lowercaseonly string fails. ok 15 - UPPERCASEONLY string fails. ok 16 - numeric string passes. ok 17 - allpunct string fails. ok 18 - oneofeach string passes. ok 19 - twoofeach string passes # Require_punct. ok 20 - lowercaseonly string fails. ok 21 - UPPERCASEONLY string fails. ok 22 - numeric string fails. ok 23 - allpunct string passes. ok 24 - oneofeach string passes. ok 25 - twoofeach string passes # Setting a require to a number greater than 1 sets that as a floor. ok 26 - require 4 nums 4 punct @()'*^1234 Passes. ok 27 - require 4 nums 4 punct @()'*^1234abc Passes. ok 28 - require 4 nums 4 punct + deny lc @()'*^1234 Passes. ok 29 - require 4 nums 4 punct + deny lc @()'*^1234abc Fails. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/23-deny.t ................ 1..27 ok 1 - use String::Validator::Password; # Deny_lc. ok 2 - lowercaseonly string rejected. ok 3 - UPPERCASEONLY string accepted. ok 4 - numeric string accepted. ok 5 - allpunct string accepted. ok 6 - oneofeach string rejected. ok 7 - twoofeach string rejected # Deny_uc. ok 8 - lowercaseonly string accepted. ok 9 - UPPERCASEONLY string rejected. ok 10 - numeric string accepted. ok 11 - allpunct string accepted. ok 12 - oneofeach string rejected. ok 13 - twoofeach string rejected # Deny_nums. ok 14 - lowercaseonly string fails. ok 15 - UPPERCASEONLY string fails. ok 16 - numeric string passes. ok 17 - allpunct string fails. ok 18 - oneofeach string passes. ok 19 - twoofeach string passes # Deny_punct. ok 20 - lowercaseonly string fails. ok 21 - UPPERCASEONLY string fails. ok 22 - numeric string fails. ok 23 - allpunct string passes. ok 24 - oneofeach string passes. ok 25 - twoofeach string passes # Setting deny_xx to a value greater than 1 should set that as the maximum ok 26 - num 4. numeric string rejected (10 digit). ok 27 - num 4. twoofeach string accepted. (2 digit) ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/24-password_min_types.t .. 1..19 ok 1 - use String::Validator::Password; # Changing the min_types parameter # min_types 0 means that even a null string would pass this test ok 2 - 1234567689 still passes with types set to 0. ok 3 - With min_len 0 a null string passes. # Testing with min_types = 1 ok 4 - 1234567689 passes with types set to 1. ok 5 - has2types2 passes with types set to 1. ok 6 - THREE3type passes with types set to 1. ok 7 - FOUR>4type passes with types set to 1. # Testing with min_types = 2. ok 8 - 1234567689 fails with types set to 2. ok 9 - has2types2 passes with types set to 2. ok 10 - THREE3type passes with types set to 2. ok 11 - FOUR>4type passes with types set to 2. ok 12 - 1234567689 fails with types set to 3. ok 13 - has2types fails with types set to 3. ok 14 - THREE3type passes with types set to 3. ok 15 - FOUR>4type passes with types set to 3. # Testing with min_types = 2. ok 16 - 1234567689 fails with types set to 4. ok 17 - has2types2 fails with types set to 4. ok 18 - THREE3type fails with types set to 4. ok 19 - FOUR>4type passes with types set to 4. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/25-errorcheck.t .......... 1..11 ok 1 - use String::Validator::Password; # Testing with these values: # min_types => 3, deny_punct => 2, max_len => 9 ok 2 - Created new String::Validator::Password. ok 3 - aBcD*123 has 8 chars all types, but only 1 is punct, PASS. ok 4 - aBcD^*123 has 9 chars all types, 2 punct, FAIL. # Raise punct limit to 3 to permit 2 puncts in previous string ok 5 - aBcD^*123 PASS with limit raised to 3. ok 6 - aBcD^&*123 has 10 chars all types, 3 punct, FAIL with 2 Errors. # Length of 10 Does not meet requirement: Max Length 9. # punct is limited to fewer than 3 ok 7 - The error string should tell us it is too long. ok 8 - punct is limited to fewer than 3 ok 9 - Check the errcnt method for 2 errors. # Testing with these values: # min_types => 2, # deny_punct => 1, # deny_num => 4, # require_lc => 2, # require_uc => 2, # max_len => 10 ok 10 - ABCde123 has 8 chars no punct, but only 2 are num, PASS. ok 11 - aBCD^*12345 is too long, has punct and two many digits not enoug uc, FAIL with 4. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/30-String.t .............. 1..5 ok 1 - use String::Validator::Password; ok 2 - This is a new Validator and has no value for String. ok 3 - Returns the last string. ok 4 - abcde is the last string evaluated and is returned even though it failed to validate. ok 5 - The only time it won't return the last string passed is Password Mismatch. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/31-IsNotValid.t .......... 1..4 ok 1 - use String::Validator::Password; ok 2 - New validator isa String::Validator::Password # Testing Method IsNot_Valid ok 3 - A simple password that passes the default rules ok 4 - Mismatched passwords fail. ok # Testing String::Validator::Password 0.94, Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/32-IsValid.t ............. 1..4 ok 1 - use String::Validator::Password; ok 2 - New validator isa String::Validator::Password ok 3 - A simple password that passes the default rules ok 4 - Mismatched passwords fail. ok t/manifest.t ............... skipped: Author tests not required for installation All tests successful. Files=12, Tests=137, 2 wallclock secs ( 0.20 usr + 0.08 sys = 0.28 CPU) Result: PASS BRAINBUZ/String-Validator-Password-0.94.tar.gz dmake test TEST_VERBOSE=1 -- OK John Karr <brainbuz@cpan.org> Check a string against a number of common password rules. >>> (cd C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR && tar cvf - String-Validator-Password-0.94.ppd blib) | gzip -c >C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ/String-Validator-Password-0.94.tar.gz String-Validator-Password-0.94.ppd blib/ blib/lib/ blib/lib/String/ blib/lib/String/Validator/ blib/lib/String/Validator/Password.pm >>> mv C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/String-Validator-Password-0.94.ppd C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ Running make for B/BR/BRAINBUZ/String-Validator-0.97.tar.gz Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory C:\cpanfly-5.22-32\var\cpan\build\String-Validator-0.97-xsZybe Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'make' CPAN.pm: Building B/BR/BRAINBUZ/String-Validator-0.97.tar.gz >>> dmake cp lib/String/Validator.pm blib\lib\String\Validator.pm BRAINBUZ/String-Validator-0.97.tar.gz dmake -- OK Prepending C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Password-0.94-eWvLMR/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Phone-NANP-0.96-Q24Oq2/blib/lib C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/arch C:\cpanfly-5.22-32\var\cpan\build\String-Validator-Email-0.98-pjGvQp/blib/lib to PERL5LIB for 'test' Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.22-32\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Testing String::Validator , Perl 5.022000, C:\Perl-5.22-32\bin\perl.exe t/00-load.t ... ok 1 - use String::Validator::Password; 1..1 ok t/manifest.t .. skipped: Author tests not required for installation All tests successful. Files=2, Tests=1, 1 wallclock secs ( 0.09 usr + 0.00 sys = 0.09 CPU) Result: PASS BRAINBUZ/String-Validator-0.97.tar.gz dmake test TEST_VERBOSE=1 -- OK John Karr <brainbuz@cpan.org> A Collection of String Validators. >>> (cd C:\cpanfly-5.22-32\var\cpan\build\String-Validator-0.97-xsZybe && tar cvf - String-Validator-0.97.ppd blib) | gzip -c >C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ/String-Validator-0.97.tar.gz String-Validator-0.97.ppd blib/ blib/lib/ blib/lib/String/ blib/lib/String/Validator.pm >>> mv C:\cpanfly-5.22-32\var\cpan\build\String-Validator-0.97-xsZybe/String-Validator-0.97.ppd C:/cpanfly-5.22-32/var/REPO/B/BR/BRAINBUZ Finished 2015-09-15T13:33:38