PATH=/usr/bin:/bin:/home/fly1400/var/megalib/bin Start 2014-03-25T12:05:33 ActivePerl-1400 CPAN-2.00 Reading '/home/fly1400/var/cpan/Metadata' Database was generated on Tue, 25 Mar 2014 18:06:15 GMT Running make for H/HI/HITODE/App-PRT-0.04.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/App-PRT-0.04.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/CHECKSUMS Checksum for /home/fly1400/var/cpan/sources/authors/id/H/HI/HITODE/App-PRT-0.04.tar.gz ok App-PRT-0.04/Build.PL App-PRT-0.04/Changes App-PRT-0.04/LICENSE App-PRT-0.04/META.json App-PRT-0.04/README.md App-PRT-0.04/bin/prt App-PRT-0.04/cpanfile App-PRT-0.04/lib/App/PRT.pm App-PRT-0.04/lib/App/PRT/CLI.pm App-PRT-0.04/lib/App/PRT/Collector/Files.pm App-PRT-0.04/lib/App/PRT/Command/DeleteMethod.pm App-PRT-0.04/lib/App/PRT/Command/Help.pm App-PRT-0.04/lib/App/PRT/Command/RenameClass.pm App-PRT-0.04/lib/App/PRT/Command/ReplaceToken.pm App-PRT-0.04/minil.toml App-PRT-0.04/t/App-PRT-CLI.t App-PRT-0.04/t/App-PRT-Collector-Files.t App-PRT-0.04/t/App-PRT-Command-DeleteMethod.t App-PRT-0.04/t/App-PRT-Command-Help.t App-PRT-0.04/t/App-PRT-Command-RenameClass.t App-PRT-0.04/t/App-PRT-Command-ReplaceToken.t App-PRT-0.04/t/App-PRT.t App-PRT-0.04/t/data/dinner/dinner.pl App-PRT-0.04/t/data/dinner/lib/My/Food.pm App-PRT-0.04/t/data/dinner/lib/My/Human.pm App-PRT-0.04/t/data/dinner/t/001-my-food._t App-PRT-0.04/t/data/hello_world/hello_world.pl App-PRT-0.04/t/data/inherit/inherit.pl App-PRT-0.04/t/test.pm App-PRT-0.04/t/test.t App-PRT-0.04/xt/perlcritic.t App-PRT-0.04/xt/perlcriticrc App-PRT-0.04/META.yml /bin/tar: Read 4096 bytes from - App-PRT-0.04/MANIFEST CPAN.pm: Building H/HI/HITODE/App-PRT-0.04.tar.gz >>> /home/fly1400/ap1400/bin/perl-static Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-PRT' version '0.04' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json >>> ./Build Building App-PRT HITODE/App-PRT-0.04.tar.gz ./Build -- OK Running Build test >>> ./Build test verbose=1 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 ok 1 - ReplaceToken command loaded ok 2 - Files collector loaded 1..2 ok 6 - when command specified # Subtest: when source and destination specified ok 1 - ReplaceToken command loaded and foo => bar registered ok 2 - Files collector loaded 1..2 ok 7 - when source and destination specified # 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 invalid command specified ok 1 - died 1..1 ok 9 - when invalid command specified # Subtest: command which doesn't handle files ok 1 - execute called 1..1 ok 10 - command which doesn't handle files # Subtest: command which handles files ok 1 - execute called ok 2 - called with file 1..2 ok 11 - command which handles files 1..11 ok t/App-PRT-Collector-Files.t ....... ok 1 - use App::PRT::Collector::Files; # Subtest: when no files specified ok 1 - collect 1..1 ok 2 - when no files specified # Subtest: when files specified ok 1 - collect 1..1 ok 3 - when files specified # Subtest: when not existing file specified ok 1 - died 1..1 ok 4 - when not existing file specified ok 5 - specified files are returned ok 6 - An object of class 'App::PRT::Collector::Files' isa 'App::PRT::Collector::Files' 1..6 ok t/App-PRT-Command-DeleteMethod.t .. ok 1 - use App::PRT::Command::DeleteMethod; # Subtest: target file ok 1 - name removed 1..1 ok 2 - target file # Subtest: another file ok 1 - nothing happen 1..1 ok 3 - another file ok 4 - DeleteMethod handles files ok 5 - 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 6 - when class and method specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 7 - when arguments are not enough ok 8 - register ok 9 - register 1..9 ok 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. 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 t/App-PRT-Command-RenameClass.t ... ok 1 - use App::PRT::Command::RenameClass; ok 2 - without directory ok 3 - with directory ok 4 - move deeper ok 5 - move lighter ok 6 - absolute path ok 7 - t/lib # Subtest: target class ok 1 - Food.pm doesn't exists ok 2 - Meal.pm exists ok 3 - package statement was rewritten 1..3 ok 8 - target class # Subtest: client file ok 1 - dinner.pl exists ok 2 - use statement and class-method invocation were rewritten 1..2 ok 9 - client file ok 10 - test replaced # Subtest: target class ok 1 - script file exists ok 2 - use parent, use base statements were rewritten 1..2 ok 11 - target class ok 12 - RenameClass handles files ok 13 - 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 14 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 15 - when arguments are not enough ok 16 - register rule ok 17 - register rule 1..17 ok t/App-PRT-Command-ReplaceToken.t .. ok 1 - use App::PRT::Command::ReplaceToken; # Subtest: nothing happen when no rules are specified ok 1 - execute 1..1 ok 2 - nothing happen when no rules are specified # Subtest: tokens will be replaced when a rules is specified ok 1 - execute 1..1 ok 3 - tokens will be replaced when a rules is specified ok 4 - execute when many rules ok 5 - ReplaceToken handles files ok 6 - 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 7 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 8 - when arguments are not enough ok 9 - empty ok 10 - not registered ok 11 - registered ok 12 - registered ok 13 - updated ok 14 - added 1..14 ok t/App-PRT.t ....................... ok 1 - use App::PRT; ok 2 - welcome 1..2 ok t/test.t .......................... # Subtest: valid input ok 1 - prepare test code ok 2 - directory exists ok 3 - hello_world.pl exists 1..3 ok 1 - valid input # Subtest: valid input ok 1 - dies when specified code is not prepared 1..1 ok 2 - valid input 1..2 ok All tests successful. Files=8, Tests=66, 2 wallclock secs ( 0.06 usr 0.03 sys + 1.49 cusr 0.27 csys = 1.85 CPU) Result: PASS HITODE/App-PRT-0.04.tar.gz ./Build test verbose=1 -- OK hitode 909 <CENSORED> Command line Perl Refacoring Tool >>> (cd /home/fly1400/var/cpan/build/App-PRT-0.04-abfvs0 && tar cvf - App-PRT-0.04.ppd blib) | gzip -c >/home/fly1400/var/REPO/H/HI/HITODE/App-PRT-0.04.tar.gz App-PRT-0.04.ppd blib/ blib/lib/ blib/lib/App/ blib/lib/App/PRT/ blib/lib/App/PRT/Collector/ blib/lib/App/PRT/Collector/Files.pm blib/lib/App/PRT/Command/ blib/lib/App/PRT/Command/ReplaceToken.pm blib/lib/App/PRT/Command/RenameClass.pm blib/lib/App/PRT/Command/Help.pm blib/lib/App/PRT/Command/DeleteMethod.pm blib/lib/App/PRT/CLI.pm blib/lib/App/PRT.pm blib/script/ blib/script/prt >>> mv /home/fly1400/var/cpan/build/App-PRT-0.04-abfvs0/App-PRT-0.04.ppd /home/fly1400/var/REPO/H/HI/HITODE VmSize: 245080 kB Finished 2014-03-25T12:05:41