# running Build.PL /Users/cpanrun/build/5.8.8/bin/perl Build.PL Creating custom builder _build/lib/Module/Build/FilterTests.pm in _build/lib/Module/Build Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Mail-Action' version '0.42' Unknown 'build_class', defaulting to 'Module::Build' /Users/cpanrun/build/5.8.8/bin/perl Build --makefile_env_macros 1 lib/Mail/Action.pm -> blib/lib/Mail/Action.pm lib/Mail/Action/Request.pm -> blib/lib/Mail/Action/Request.pm lib/Mail/Action/Address.pm -> blib/lib/Mail/Action/Address.pm lib/Mail/Action/StorageTest.pm -> blib/lib/Mail/Action/StorageTest.pm lib/Mail/Action/Test.pm -> blib/lib/Mail/Action/Test.pm lib/Mail/Action/AddressTest.pm -> blib/lib/Mail/Action/AddressTest.pm lib/Mail/Action/PodToHelp.pm -> blib/lib/Mail/Action/PodToHelp.pm lib/Mail/Action/Storage.pm -> blib/lib/Mail/Action/Storage.pm Manifying blib/lib/Mail/Action.pm -> blib/libdoc/Mail::Action.3 Manifying blib/lib/Mail/Action/Address.pm -> blib/libdoc/Mail::Action::Address.3 Manifying blib/lib/Mail/Action/Request.pm -> blib/libdoc/Mail::Action::Request.3 Manifying blib/lib/Mail/Action/Storage.pm -> blib/libdoc/Mail::Action::Storage.3 Manifying blib/lib/Mail/Action/Test.pm -> blib/libdoc/Mail::Action::Test.3 Manifying blib/lib/Mail/Action/PodToHelp.pm -> blib/libdoc/Mail::Action::PodToHelp.3 HTMLifying blib/lib/Mail/Action.pm -> blib/libhtml/site/lib/Mail/Action.html HTMLifying blib/lib/Mail/Action/Address.pm -> blib/libhtml/site/lib/Mail/Action/Address.html HTMLifying blib/lib/Mail/Action/Request.pm -> blib/libhtml/site/lib/Mail/Action/Request.html HTMLifying blib/lib/Mail/Action/Storage.pm -> blib/libhtml/site/lib/Mail/Action/Storage.html HTMLifying blib/lib/Mail/Action/Test.pm -> blib/libhtml/site/lib/Mail/Action/Test.html HTMLifying blib/lib/Mail/Action/PodToHelp.pm -> blib/libhtml/site/lib/Mail/Action/PodToHelp.html /Users/cpanrun/build/5.8.8/bin/perl Build --makefile_env_macros 1 test t/action...........1..46 Subroutine headers redefined at /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Email/Simple/Headers.pm line 10. ok 1 - use Mail::Action; ok 2 - use Mail::Action::WithStorage; ok 3 - Mail::Action::WithStorage->can('new') # # Mail::Action::Test->command_help ok 4 - Mail::Action::WithStorage->can('command_help') ok 5 - command_help() should reply to sender ok 6 - ... with appropriate subject ok 7 - ... with text extracted from passed-in POD # # Mail::Action::Test->copy_headers ok 8 - Mail::Action::WithStorage->can('copy_headers') ok 9 - copy_headers() should make a new hash ok 10 - ... cleaning header names ok 11 - ... removing mbox From header # # Mail::Action::Test->fetch_address ok 12 - Mail::Action::WithStorage->can('fetch_address') ok 13 - fetch_address() should return undef unless address exists ok 14 - ... or existing address, in scalar context ok 15 - ... or address and alias, in list context # # Mail::Action::Test->find_command ok 16 - Mail::Action::WithStorage->can('find_command') ok 17 - find_command() should return undef without a valid command ok 18 - ... or the name of the command sub, if it exists ok 19 - ... regardless of capitalization # # Mail::Action::Test->new_exception ok 20 - ... or an empty string if command does not match ok 21 - new() should throw exception without address directory # # Mail::Action::Test->new_from_fh ok 22 - new() should set message body from filehandle, given two arguments ok 23 - ... or from filehandle, when passed as Filehandle option ok 24 - ... or from string, when passed as Filehandle option (yow!) # # Mail::Action::Test->new_from_stdin ok 25 - new() should read from STDIN, given only one argument # # Mail::Action::Test->new_from_text ok 26 - Mail::Action::WithStorage->can('message') ok 27 - new() should set messsage from string given only two arguments # # Mail::Action::Test->new_with_storage ok 28 - Mail::Action::WithStorage->can('storage') ok 29 - new() should default to storage_class() storage object ok 30 - ... passing address directory ok 31 - ... or Addresses option ok 32 - ... preferring Storage option # # Mail::Action::Test->process_body ok 33 - Mail::Action::WithStorage->can('process_body') ok 34 - process_body() should return message without directives or sig ok 35 - ... calling directive found ok 36 - ... passing directive value found ok 37 - ... not calling unknown directive ok 38 - ... lowercasing directive name ok 39 - ... passing entire directive value found ok 40 - ... returning empty list with no body # # Mail::Action::Test->reply ok 41 - Mail::Action::WithStorage->can('reply') ok 42 - reply() should open a Mail::Mailer object ok 43 - ... passing headers ok 44 - ... printing body ok 45 - ... all lines passed ok 46 - ... closing message ok t/address..........1..27 ok 1 - use Mail::Action::Address; ok 2 - use Mail::Action::Address::Base; # # Mail::Action::AddressTest->test_description ok 3 - The object isa Mail::Action::Address::Base ok 4 - Mail::Action::Address::Base->can('description') ok 5 - description() should be blank unless set in constructor ok 6 - ... or whatever is set in constructor ok 7 - ... and should be able to set description # # Mail::Action::AddressTest->test_expires ok 8 - The object isa Mail::Action::Address::Base ok 9 - Mail::Action::Address::Base->can('expires') ok 10 - expires() should default to 0 unless set in constructor ok 11 - expires() should report expiration time from constructor ok 12 - ... and should set expiration ok 13 - ... parsing days correctly # # Mail::Action::AddressTest->test_name ok 14 - The object isa Mail::Action::Address::Base ok 15 - Mail::Action::Address::Base->can('name') ok 16 - name() should be undef unless set in constructor ok 17 - ... or whatever is set ok 18 - ... or cleaned name, if mutator # # Mail::Action::AddressTest->test_process_time ok 19 - The object isa Mail::Action::Address::Base ok 20 - Mail::Action::Address::Base->can('process_time') ok 21 - process_time() should return raw seconds directly ok 22 - ... processing days correctly ok 23 - ... processing weeks correctly ok 24 - ... processing hours correctly ok 25 - ... processing minutes correctly ok 26 - ... processing months correctly ok 27 - ... even in a nice list ok t/address_desc.....1..5 ok 1 - use Mail::Action::Address; ok 2 - Mail::Action::Address->can('description') ok 3 - description() should be blank unless set in constructor ok 4 - ... or whatever is set in constructor ok 5 - ... and should be able to set description ok t/address_roles....1..4 # apply the expires role # apply the named role ok 1 - use Mail::Action::Address; # apply the described role ok 2 - main->can(...) ok 3 - main->can('name') ok 4 - main->can('description') ok t/podtohelp........1..30 ok 1 - use Mail::Action::PodToHelp; ok 2 - Mail::Action::PodToHelp->can('start_head1') ok 3 - start_head1() should set in head1 flag ok 4 - ... calling parent method ok 5 - ... with args ok 6 - ... returning results ok 7 - Mail::Action::PodToHelp->can('start_item_bullet') ok 8 - start_item_bullet() should call parent ok 9 - ... with args ok 10 - ... returning results ok 11 - ... unless show flag is disabled ok 12 - Mail::Action::PodToHelp->can('end_item_bullet') ok 13 - end_item_bullet() should call parent ok 14 - ... with args ok 15 - ... returning results ok 16 - ... unless show flag is disabled ok 17 - Mail::Action::PodToHelp->can('show_headings') ok 18 - show_headings() should save passed in headings ok 19 - Mail::Action::PodToHelp->can('handle_text') ok 20 - handle_text() should return without show flag ok 21 - ... setting show flag if handling a showable heading ok 22 - ... any showable heading ok 23 - ... but not for anything else ok 24 - ... should call parent if show flag is set ok 25 - ... passing args ok 26 - ... returning results ok 27 - Mail::Action::PodToHelp->can('end_head1') ok 28 - end_head1() should unset in head1 flag ok 29 - ... calling parent method ok 30 - ... passing args ok t/request..........Subroutine headers redefined at /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Email/Simple/Headers.pm line 10. ok 1 - use Mail::Action::Request; 1..1 ok t/storage..........1..28 ok 1 - use Mail::Action::Storage; ok 2 - Mail::Action::Storage->can('new') # # Mail::Action::StorageTest->test_create ok 3 - The object isa Mail::Action::Storage # # Mail::Action::StorageTest->test_exists ok 4 - Mail::Action::Storage->can('create') ok 5 - The object isa Mail::Action::Storage ok 6 - Mail::Action::Storage->can('exists') ok 7 - exists() should return false unless stored object exists # # Mail::Action::StorageTest->test_fetch ok 8 - The object isa Mail::Action::Storage ok 9 - Mail::Action::Storage->can('fetch') ok 10 - fetch() should return loaded data # # Mail::Action::StorageTest->test_new_exception ok 11 - ... blessed into storage class isa Mail::Action::RealAddress ok 12 - The object isa Mail::Action::Storage ok 13 - new() should throw exception without directory given # # Mail::Action::StorageTest->test_save ok 14 - The object isa Mail::Action::Storage ok 15 - Mail::Action::Storage->can('save') # # Mail::Action::StorageTest->test_storage_dir ok 16 - save() should store file checkable with exists ok 17 - The object isa Mail::Action::Storage ok 18 - Mail::Action::Storage->can('storage_dir') # # Mail::Action::StorageTest->test_storage_extension ok 19 - storage_dir() should return directory set in constructor ok 20 - The object isa Mail::Action::Storage ok 21 - Mail::Action::Storage->can('storage_extension') ok 22 - storage_extension() should be mas # # Mail::Action::StorageTest->test_storage_file ok 23 - The object isa Mail::Action::Storage ok 24 - Mail::Action::Storage->can('storage_file') # # Mail::Action::StorageTest->test_stored_class ok 25 - storage_file() should return directory path of file with extension ok 26 - The object isa Mail::Action::Storage ok 27 - Mail::Action::Storage->can('stored_class') ok 28 - stored_class() should be blank ok All tests successful. Files=7, Tests=141, 2 wallclock secs ( 1.19 cusr + 0.30 csys = 1.49 CPU) /Users/cpanrun/build/5.8.8/bin/perl Build --makefile_env_macros 1 install Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/Address.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/AddressTest.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/PodToHelp.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/Request.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/Storage.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/StorageTest.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Mail/Action/Test.pm Installing /Users/cpanrun/build/5.8.8/man/man3/Mail::Action.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Mail::Action::Address.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Mail::Action::PodToHelp.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Mail::Action::Request.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Mail::Action::Storage.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Mail::Action::Test.3 Installing /Users/cpanrun/build/5.8.8/html/site/lib/Mail/Action.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Mail/Action/Address.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Mail/Action/PodToHelp.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Mail/Action/Request.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Mail/Action/Storage.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Mail/Action/Test.html Writing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/darwin-thread-multi-2level/auto/Mail/Action/.packlist