PATH=C:\mingw\bin;C:\cygwin\bin;C:\cpanfly-5.18\var\megalib\bin;C:\Perl-5.18\site\bin;C:\Perl-5.18\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-08-31T12:42:29 ActivePerl-1800 CPAN-2.00 LIB=C:\PROGRA~1\MICROS~3\VC98\Lib\PSDK PATH=C:/CPANFL~1.18/var/libs/bin;C:\mingw\bin;C:\cygwin\bin;C:\CPANFL~1.18\var\megalib\bin;C:\Perl-5.18\site\bin;C:\Perl-5.18\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.18\var\cpan\Metadata' Database was generated on Sun, 31 Aug 2014 18:53:20 GMT Running make for H/HI/HITODE/App-PRT-0.16.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/App-PRT-0.16.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/CHECKSUMS Checksum for C:\cpanfly-5.18\var\cpan\sources\authors\id\H\HI\HITODE\App-PRT-0.16.tar.gz ok App-PRT-0.16/Build.PL App-PRT-0.16/Changes App-PRT-0.16/LICENSE App-PRT-0.16/META.json App-PRT-0.16/README.md App-PRT-0.16/bin/prt App-PRT-0.16/cpanfile App-PRT-0.16/lib/App/PRT.pm App-PRT-0.16/lib/App/PRT/CLI.pm App-PRT-0.16/lib/App/PRT/Collector/AllFiles.pm App-PRT-0.16/lib/App/PRT/Collector/Files.pm App-PRT-0.16/lib/App/PRT/Collector/GitDirectory.pm App-PRT-0.16/lib/App/PRT/Command/AddMethod.pm App-PRT-0.16/lib/App/PRT/Command/AddUse.pm App-PRT-0.16/lib/App/PRT/Command/DeleteMethod.pm App-PRT-0.16/lib/App/PRT/Command/Help.pm App-PRT-0.16/lib/App/PRT/Command/MoveClassMethod.pm App-PRT-0.16/lib/App/PRT/Command/RenameClass.pm App-PRT-0.16/lib/App/PRT/Command/RenameNameSpace.pm App-PRT-0.16/lib/App/PRT/Command/ReplaceToken.pm App-PRT-0.16/lib/App/PRT/Util/DestinationFile.pm App-PRT-0.16/minil.toml App-PRT-0.16/t/App-PRT-CLI.t App-PRT-0.16/t/App-PRT-Collector-AllFiles.t App-PRT-0.16/t/App-PRT-Collector-Files.t App-PRT-0.16/t/App-PRT-Command-AddMethod.t App-PRT-0.16/t/App-PRT-Command-AddUse.t App-PRT-0.16/t/App-PRT-Command-DeleteMethod.t App-PRT-0.16/t/App-PRT-Command-Help.t App-PRT-0.16/t/App-PRT-Command-MoveClassMethod.t App-PRT-0.16/t/App-PRT-Command-RenameClass.t App-PRT-0.16/t/App-PRT-Command-RenameNameSpace.t App-PRT-0.16/t/App-PRT-Command-ReplaceToken.t App-PRT-0.16/t/App-PRT-Util-DestinationFile.t App-PRT-0.16/t/App-PRT.t App-PRT-0.16/t/App-Prt-Collector-GitDirectory.t App-PRT-0.16/t/data/contain_ignores/_build/Build.pm App-PRT-0.16/t/data/contain_ignores/app.psgi App-PRT-0.16/t/data/contain_ignores/blib/Blib.pm App-PRT-0.16/t/data/contain_ignores/cpanfile App-PRT-0.16/t/data/contain_ignores/eg/eg.pl App-PRT-0.16/t/data/contain_ignores/fatlib/Fatlib.pm App-PRT-0.16/t/data/contain_ignores/lib/Foo.pm App-PRT-0.16/t/data/contain_ignores/lib/Foo/Bar.pm App-PRT-0.16/t/data/contain_ignores/local/Local.pm App-PRT-0.16/t/data/contain_ignores/share/share.pl App-PRT-0.16/t/data/contain_ignores/t/test.t App-PRT-0.16/t/data/dinner/dinner.pl App-PRT-0.16/t/data/dinner/lib/My/Food.pm App-PRT-0.16/t/data/dinner/lib/My/Human.pm App-PRT-0.16/t/data/dinner/lib/Your/Food.pm App-PRT-0.16/t/data/dinner/t/001-my-food._t App-PRT-0.16/t/data/dinner/t/My-Food._t App-PRT-0.16/t/data/greeting/lib/Bye.pm App-PRT-0.16/t/data/greeting/lib/Greeting.pm App-PRT-0.16/t/data/greeting/lib/Hi.pm App-PRT-0.16/t/data/greeting/no_use.pl App-PRT-0.16/t/data/greeting/no_use_but_package.pl App-PRT-0.16/t/data/greeting/use_greeting.pl App-PRT-0.16/t/data/greeting/use_greeting_and_hi.pl App-PRT-0.16/t/data/hello_world/hello_world.pl App-PRT-0.16/t/data/inherit/inherit.pl App-PRT-0.16/t/data/method_call_with_whitespace/hello.pl App-PRT-0.16/t/data/method_with_comment/FoodWithComment.pm App-PRT-0.16/t/data/package_in_block/multi_packages.pl App-PRT-0.16/t/data/package_in_block/package_block_statement.pl App-PRT-0.16/t/data/package_in_block/package_in_block.pl App-PRT-0.16/t/data/readme/README.md App-PRT-0.16/t/test.pm App-PRT-0.16/t/test.t App-PRT-0.16/xt/perlcritic.t App-PRT-0.16/xt/perlcriticrc App-PRT-0.16/META.yml App-PRT-0.16/MANIFEST CPAN.pm: Building H/HI/HITODE/App-PRT-0.16.tar.gz >>> C:\Perl-5.18\bin\perl.exe Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-PRT' version '0.16' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json >>> C:\Perl-5.18\bin\perl.exe ./Build Building App-PRT HITODE/App-PRT-0.16.tar.gz C:\Perl-5.18\bin\perl.exe ./Build -- OK Running Build test >>> C:\Perl-5.18\bin\perl.exe ./Build test verbose=1 Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine App::PRT::Command::Help::execute redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 60. Subroutine App::PRT::Command::Help::execute redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. Subroutine App::PRT::Command::ReplaceToken::execute redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 60. Subroutine App::PRT::Command::ReplaceToken::execute redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. Subroutine App::PRT::Command::RenameNameSpace::execute_files redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 60. Subroutine App::PRT::Command::RenameNameSpace::execute_files redefined at C:\cpanfly-5.18\var\megalib/Test/Mock/Guard.pm line 141. t\App-PRT-CLI.t ...................... ok 1 - use App::PRT::CLI; ok 2 - ucfirst ok 3 - separate by _ ok 4 - An object of class 'App::PRT::CLI' isa 'App::PRT::CLI' # Subtest: when empty input ok 1 - parse ok 2 - 'default command is help' isa 'App::PRT::Command::Help' ok 3 - parse 1..3 ok 5 - when empty input # Subtest: when command specified, not a git directory ok 1 - ReplaceToken command loaded ok 2 - parse 1..2 ok 6 - when command specified, not a git directory # Subtest: when command specified, git directory ok 1 - ReplaceToken command loaded ok 2 - parse 1..2 ok 7 - when command specified, git directory # Subtest: when source, destination, target files specified ok 1 - ReplaceToken command loaded and foo => bar registered ok 2 - Files collector loaded and files are registered 1..2 ok 8 - when source, destination, target files specified # Subtest: when target ok 1 - ReplaceToken command loaded ok 2 - parse 1..2 ok 9 - when target # Subtest: when neither git directory or project root directory detected ok 1 - parse 1..1 ok 10 - when neither git directory or project root directory detected # Subtest: when invalid command specified ok 1 - parse 1..1 ok 11 - when invalid command specified # Subtest: command which doesn't handle files ok 1 - execute called 1..1 ok 12 - command which doesn't handle files # Subtest: command which handles files(execute) ok 1 - execute called ok 2 - called with file 1..2 ok 13 - command which handles files(execute) # Subtest: command which handles files(execute_files) ok 1 - execute_files called ok 2 - called with files 1..2 ok 14 - command which handles files(execute_files) 1..14 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Collector-AllFiles.t ....... ok 1 - use App::PRT::Collector::AllFiles; ok 2 - all files are returned # Subtest: not existing directory ok 1 - collect 1..1 ok 3 - not existing directory # Subtest: directory without cpanfile ok 1 - not found 1..1 ok 4 - directory without cpanfile # Subtest: directory with cpanfile ok 1 - found from root directory ok 2 - found from sub directory 1..2 ok 5 - directory with cpanfile # Subtest: not existing directory ok 1 - find project root directory 1..1 ok 6 - not existing directory ok 7 - An object of class 'App::PRT::Collector::AllFiles' isa 'App::PRT::Collector::AllFiles' ok 8 - instantiate 1..8 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Collector-Files.t .......... ok 1 - use App::PRT::Collector::Files; # Subtest: when files specified ok 1 - collect 1..1 ok 2 - when files specified # Subtest: when not existing file specified ok 1 - died 1..1 ok 3 - when not existing file specified ok 4 - specified files are returned ok 5 - An object of class 'App::PRT::Collector::Files' isa 'App::PRT::Collector::Files' 1..5 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-AddMethod.t ........ ok 1 - use App::PRT::Command::AddMethod; # Subtest: target file ok 1 - sub one added to last 1..1 ok 2 - target file # Subtest: target file ok 1 - sub one added to last 1..1 ok 3 - target file ok 4 - AddMethod handles files ok 5 - An object of class 'App::PRT::Command::AddMethod' isa 'App::PRT::Command::AddMethod' ok 6 - register 1..6 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-AddUse.t ........... ok 1 - use App::PRT::Command::AddUse; # Subtest: script with use statement, not using Hi ok 1 - File exists ok 2 - Hi was added 1..2 ok 2 - script with use statement, not using Hi # Subtest: script, already using Hi ok 1 - File exists ok 2 - Hi was not added 1..2 ok 3 - script, already using Hi # Subtest: script without any use, but with package statement ok 1 - File exists ok 2 - Hi was added after package statement 1..2 ok 4 - script without any use, but with package statement ok 5 - AddUse handles files ok 6 - An object of class 'App::PRT::Command::AddUse' isa 'App::PRT::Command::AddUse' # Subtest: package ok 1 - register 1..1 ok 7 - package # Subtest: package and arguments ok 1 - register 1..1 ok 8 - package and arguments 1..8 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-DeleteMethod.t ..... ok 1 - use App::PRT::Command::DeleteMethod; # Subtest: target file ok 1 - execute ok 2 - name removed ok 3 - deleted code stored 1..3 ok 2 - target file # Subtest: another file ok 1 - execute ok 2 - nothing happen 1..2 ok 3 - another file ok 4 - comment before method was deleted ok 5 - another comment was not deleted because previous token of sub name is whitespace ok 6 - DeleteMethod handles files ok 7 - An object of class 'App::PRT::Command::DeleteMethod' isa 'App::PRT::Command::DeleteMethod' # Subtest: when class and method specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 8 - when class and method specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 9 - when arguments are not enough ok 10 - register ok 11 - register 1..11 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-Help.t ............. ok 1 - use App::PRT::Command::Help; usage: prt Examples: prt replace_token foo bar *.pm replace tokens with content 'foo' with 'bar' in *.pm. prt rename_class Foo Bar lib/*.pm Rename Foo class to Bar. This command will rename lib/Foo.pm to lib/Bar.pm. prt rename_name_space Foo Bar Rename Foo and Foo::* classes to Bar and Bar::* classes. prt delete_method Food eat Delete eat method from Food class prt move_class_method 'Class#method' 'AnotherClass#another_method' Move Class#method to AnotherClass#another_method ok 2 - execute ok 3 - Help doesn't handle files ok 4 - An object of class 'App::PRT::Command::Help' isa 'App::PRT::Command::Help' ok 5 - NOP 1..5 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-MoveClassMethod.t .. ok 1 - use App::PRT::Command::MoveClassMethod; ok 2 - source file exists ok 3 - use was Added, $class->good was replaced # Subtest: client script with use Greeting ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, use Hi was added 1..2 ok 4 - client script with use Greeting # Subtest: client script with use Greeting and Hi ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was not added 1..2 ok 5 - client script with use Greeting and Hi # Subtest: client script without Greeting or Hi ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was added after last use 1..2 ok 6 - client script without Greeting or Hi # Subtest: client script without Greeting or Hi, with package statement ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was added after package statement 1..2 ok 7 - client script without Greeting or Hi, with package statement ok 8 - README exists ok 9 - File exists ok 10 - hi method was removed ok 11 - method body stored ok 12 - destination method prepared ok 13 - destination file exists ok 14 - hello method was added, use GoodAfternoon was added because it may be necessary ok 15 - source file exists ok 16 - destination file exists ok 17 - hello was added, uses are copied ok 18 - destination file exists ok 19 - method and comment was added ok 20 - MoveClassMethod handles files ok 21 - An object of class 'App::PRT::Command::MoveClassMethod' isa 'App::PRT::Command::MoveClassMethod' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse arguments ok 4 - parse arguments ok 5 - parse_arguments returns rest arguments 1..5 ok 22 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 23 - when arguments are not enough # Subtest: valid rule ok 1 - register rule ok 2 - register rule ok 3 - register rule ok 4 - register rule 1..4 ok 24 - valid rule # Subtest: when destination method name is same ok 1 - register rule ok 2 - register rule ok 3 - register rule ok 4 - register rule 1..4 ok 25 - when destination method name is same # Subtest: invalid syntax ok 1 - (?^:invalid format) ok 2 - (?^:invalid format) 1..2 ok 26 - invalid syntax 1..26 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. # Failed test 'returns destination file when success' # at t\App-PRT-Command-RenameClass.t line 38. # (in t::App::PRT::Command::RenameClass->execute) # got: 'C:\cpanfly-5.18\var\tmp\5fE21fSg3r\lib\My\Meal.pm' # expected: 'C:\cpanfly-5.18\var\tmp\5fE21fSg3r/lib/My/Meal.pm' # Looks like you failed 1 test of 4. # Failed test 'target class' # at t\App-PRT-Command-RenameClass.t line 67. # (in t::App::PRT::Command::RenameClass->execute) Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. # Failed test 'success' # at t\App-PRT-Command-RenameClass.t line 230. # (in t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory) # got: 'C:\cpanfly-5.18\var\tmp\lP9TNx5jNz\lib\My\Special\Great\Food.pm' # expected: 'C:\cpanfly-5.18\var\tmp\lP9TNx5jNz/lib/My/Special/Great/Food.pm' # Looks like you failed 1 test of 3. # Failed test 'target class' # at t\App-PRT-Command-RenameClass.t line 234. # (in t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory) Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. # Looks like you failed 2 tests of 19. t\App-PRT-Command-RenameClass.t ...... ok 1 - use App::PRT::Command::RenameClass; # Subtest: target class not ok 1 - returns destination file when success ok 2 - Food.pm doesn't exists ok 3 - Meal.pm exists ok 4 - package statement was rewritten 1..4 not ok 2 - target class # Subtest: client file ok 1 - returns source file when success and not moved ok 2 - dinner.pl exists ok 3 - use statement and class-method invocation were rewritten 1..3 ok 3 - client file ok 4 - README exists # Subtest: { package } style ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 5 - { package } style # Subtest: package { } style ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 6 - package { } style # Subtest: multi packages ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 7 - multi packages # Subtest: target class not ok 1 - success ok 2 - Food.pm doesn't exists ok 3 - Special::Great::Food.pm exists 1..3 not ok 8 - target class ok 9 - Food._t doesn't exists ok 10 - Meal._t exists ok 11 - package statement replaced ok 12 - test replaced # Subtest: target class ok 1 - script file exists ok 2 - use parent, use base statements were rewritten 1..2 ok 13 - target class ok 14 - RenameClass handles files ok 15 - An object of class 'App::PRT::Command::RenameClass' isa 'App::PRT::Command::RenameClass' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 16 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 17 - when arguments are not enough ok 18 - register rule ok 19 - register rule 1..19 Dubious, test returned 2 (wstat 512, 0x200) Failed 2/19 subtests Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-RenameNameSpace.t .. ok 1 - use App::PRT::Command::RenameNameSpace; ok 2 - classes under My:: are collected ok 3 - converted ok 4 - not match ok 5 - not match ok 6 - script exists ok 7 - My:: was moved to Our:: ok 8 - My::Food doesn't exist ok 9 - My::Human doesn't exist ok 10 - Our::Food exist ok 11 - Our::Human exist ok 12 - target class replaced ok 13 - not changed ok 14 - RenameNameSpace handles files ok 15 - An object of class 'App::PRT::Command::RenameNameSpace' isa 'App::PRT::Command::RenameNameSpace' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 16 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 17 - when arguments are not enough ok 18 - register rule ok 19 - register rule 1..19 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT-Command-ReplaceToken.t ..... ok 1 - use App::PRT::Command::ReplaceToken; # Subtest: nothing happen when no rules are specified ok 1 - fails ok 2 - nothing changed 1..2 ok 2 - nothing happen when no rules are specified # Subtest: tokens will be replaced when a rules is specified ok 1 - success ok 2 - changed 1..2 ok 3 - tokens will be replaced when a rules is specified ok 4 - README exists ok 5 - execute replace token sequences ok 6 - new( in statement with My::Food was replaced # Subtest: only statement with My::Food was replaced ok 1 - execute with replace only statement which has token 1..1 ok 7 - only statement with My::Food was replaced # Subtest: only statement with My::Food was replaced ok 1 - target is `my ($class, $name) = @_;`, not subroutine 1..1 ok 8 - only statement with My::Food was replaced ok 9 - all hello are replaced ok 10 - ReplaceToken handles files ok 11 - An object of class 'App::PRT::Command::ReplaceToken' isa 'App::PRT::Command::ReplaceToken' # Subtest: when source and destination specified ok 1 - registered ok 2 - parse_arguments returns rest arguments 1..2 ok 12 - when source and destination specified # Subtest: when source, destination, and --in-statement specified ok 1 - registered ok 2 - parse_arguments returns rest arguments 1..2 ok 13 - when source, destination, and --in-statement specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 14 - when arguments are not enough # Subtest: single token ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 15 - single token # Subtest: multi tokens ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 16 - multi tokens # Subtest: replace_only_statement_which_has_token ok 1 - register rules ok 2 - register rules 1..2 ok 17 - replace_only_statement_which_has_token 1..17 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. # Failed test 'without directory' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with directory' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with extname' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.txt' # expected: './Bar.txt' # Failed test 'move deeper' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Foo\Bazz.pm' # expected: 'Foo/Bazz.pm' # Failed test 'move lighter' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Foo\Bar.pm' # expected: 'Foo/Bar.pm' # Failed test 'absolute path' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: '\tmp\lib\Foo\Bar.pm' # expected: '/tmp/lib/Foo/Bar.pm' # Failed test 't/lib' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 't\lib\Test\Foo\Bar.pm' # expected: 't/lib/Test/Foo/Bar.pm' # Failed test 'test file' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 't\Bar.t' # expected: 't/Bar.t' # Failed test 'separated with -, _' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'D-E_F.pm' # expected: './D-E_F.pm' # Failed test 'separated with -, _, move deeper' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'A-B-C-D.pm' # expected: './A-B-C-D.pm' # Failed test 'separated with -, _, move lighter' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'A-B.pm' # expected: './A-B.pm' # Failed test 'separated with -, _, mixed with directory' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'D\E-F-G.pm' # expected: 'D/E-F-G.pm' # Looks like you failed 12 tests of 13. t\App-PRT-Util-DestinationFile.t ..... ok 1 - use App::PRT::Util::DestinationFile; not ok 2 - without directory not ok 3 - with directory not ok 4 - with extname not ok 5 - move deeper not ok 6 - move lighter not ok 7 - absolute path not ok 8 - t/lib not ok 9 - test file not ok 10 - separated with -, _ not ok 11 - separated with -, _, move deeper not ok 12 - separated with -, _, move lighter not ok 13 - separated with -, _, mixed with directory 1..13 Dubious, test returned 12 (wstat 3072, 0xc00) Failed 12/13 subtests Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. t\App-PRT.t .......................... ok 1 - use App::PRT; ok 2 - welcome 1..2 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.18\var\megalib/Test/Class.pm line 289. # Failed test 'all files in directory are returned' # at t\App-Prt-Collector-GitDirectory.t line 53. # (in t::App::Prt::Collector::GitDirectory->collect) # Comparing $data as a Bag # Missing: 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz/dinner.pl', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz/lib/My/Food.pm', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz/lib/My/Human.pm', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz/lib/Your/Food.pm', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz/t/001-my-food._t', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz/t/My-Food._t' # Extra: 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz\dinner.pl', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz\lib\My\Food.pm', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz\lib\My\Human.pm', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz\lib\Your\Food.pm', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz\t\001-my-food._t', 'C:\cpanfly-5.18\var\tmp\OczrPLn5hz\t\My-Food._t' # Failed test 'collector can collect' # at t\App-Prt-Collector-GitDirectory.t line 43. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Structures begin differing at: # $got->[0] = 'C:\cpanfly-5.18\var\tmp\LktEADWgUF\hello_world.pl' # $expected->[0] = 'C:\cpanfly-5.18\var\tmp\LktEADWgUF/hello_world.pl' # Looks like you failed 1 test of 3. # Failed test 'can initialize with git repository' # at t\App-Prt-Collector-GitDirectory.t line 44. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Looks like you failed 2 tests of 10. t\App-Prt-Collector-GitDirectory.t ... ok 1 - use App::PRT::Collector::GitDirectory; not ok 2 - all files in directory are returned # Subtest: when not a git directory ok 1 - collect 1..1 ok 3 - when not a git directory ok 4 - not a git directory ok 5 - find from root directory ok 6 - find from sub directory ok 7 - dies when not existing directory ok 8 - directory required ok 9 - existing directory required # Subtest: can initialize with git repository ok 1 - An object of class 'App::PRT::Collector::GitDirectory' isa 'App::PRT::Collector::GitDirectory' ok 2 - collector has directory not ok 3 - collector can collect 1..3 not ok 10 - can initialize with git repository 1..10 Dubious, test returned 2 (wstat 512, 0x200) Failed 2/10 subtests t\data\contain_ignores\t\test.t ...... ok 1 - dummy 1..1 ok t\test.t ............................. ok 1 - .git directory exists # Subtest: valid input ok 1 - prepare test code ok 2 - directory exists ok 3 - hello_world.pl exists 1..3 ok 2 - valid input # Subtest: valid input ok 1 - dies when specified code is not prepared 1..1 ok 3 - valid input 1..3 ok Test Summary Report ------------------- t\App-PRT-Command-RenameClass.t (Wstat: 512 Tests: 19 Failed: 2) Failed tests: 2, 8 Non-zero exit status: 2 t\App-PRT-Util-DestinationFile.t (Wstat: 3072 Tests: 13 Failed: 12) Failed tests: 2-13 Non-zero exit status: 12 t\App-Prt-Collector-GitDirectory.t (Wstat: 512 Tests: 10 Failed: 2) Failed tests: 2, 10 Non-zero exit status: 2 Files=16, Tests=167, 16 wallclock secs ( 0.09 usr + 0.05 sys = 0.14 CPU) Result: FAIL Failed 3/16 test programs. 16/167 subtests failed. HITODE/App-PRT-0.16.tar.gz C:\Perl-5.18\bin\perl.exe ./Build test verbose=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports HITODE/App-PRT-0.16.tar.gz Finished 2014-08-31T12:42:59