Start 2009-06-27T07:00:30 ActivePerl-1003 CPAN-1.94 Going to read '/Users/fly1003/var/cpan/Metadata' Database was generated on Sat, 27 Jun 2009 10:27:03 GMT Running make for S/SA/SARTAK/MooseX-AttributeHelpers-0.20.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/S/SA/SARTAK/MooseX-AttributeHelpers-0.20.tar.gz Checksum for /Users/fly1003/var/cpan/sources/authors/id/S/SA/SARTAK/MooseX-AttributeHelpers-0.20.tar.gz ok MooseX-AttributeHelpers-0.20/ MooseX-AttributeHelpers-0.20/ChangeLog MooseX-AttributeHelpers-0.20/inc/ MooseX-AttributeHelpers-0.20/inc/Module/ MooseX-AttributeHelpers-0.20/inc/Module/Install/ MooseX-AttributeHelpers-0.20/inc/Module/Install/Base.pm MooseX-AttributeHelpers-0.20/inc/Module/Install/Can.pm MooseX-AttributeHelpers-0.20/inc/Module/Install/Fetch.pm MooseX-AttributeHelpers-0.20/inc/Module/Install/Makefile.pm MooseX-AttributeHelpers-0.20/inc/Module/Install/Metadata.pm MooseX-AttributeHelpers-0.20/inc/Module/Install/Win32.pm MooseX-AttributeHelpers-0.20/inc/Module/Install/WriteAll.pm MooseX-AttributeHelpers-0.20/inc/Module/Install.pm MooseX-AttributeHelpers-0.20/lib/ MooseX-AttributeHelpers-0.20/lib/MooseX/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Bool.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Collection/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Collection/Array.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Collection/Bag.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Collection/Hash.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Collection/ImmutableHash.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Collection/List.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Counter.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Meta/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Meta/Method/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Meta/Method/Curried.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Meta/Method/Provided.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/Array.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/Bag.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/Bool.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/Counter.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/ImmutableHash.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/List.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/MethodProvider/String.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Number.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/String.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Base.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Bool.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection/ MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection/Array.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection/Hash.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection/ImmutableHash.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection/List.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Collection.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Counter.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/Number.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers/Trait/String.pm MooseX-AttributeHelpers-0.20/lib/MooseX/AttributeHelpers.pm MooseX-AttributeHelpers-0.20/Makefile.PL MooseX-AttributeHelpers-0.20/MANIFEST MooseX-AttributeHelpers-0.20/META.yml MooseX-AttributeHelpers-0.20/README MooseX-AttributeHelpers-0.20/t/ MooseX-AttributeHelpers-0.20/t/000_load.t MooseX-AttributeHelpers-0.20/t/001_basic_counter.t MooseX-AttributeHelpers-0.20/t/002_basic_array.t MooseX-AttributeHelpers-0.20/t/003_basic_hash.t MooseX-AttributeHelpers-0.20/t/004_basic_number.t MooseX-AttributeHelpers-0.20/t/005_basic_list.t MooseX-AttributeHelpers-0.20/t/006_basic_bag.t MooseX-AttributeHelpers-0.20/t/007_basic_string.t MooseX-AttributeHelpers-0.20/t/010_array_from_role.t MooseX-AttributeHelpers-0.20/t/011_counter_with_defaults.t MooseX-AttributeHelpers-0.20/t/012_basic_bool.t MooseX-AttributeHelpers-0.20/t/020_remove_attribute.t MooseX-AttributeHelpers-0.20/t/100_collection_with_roles.t MooseX-AttributeHelpers-0.20/t/201_trait_counter.t MooseX-AttributeHelpers-0.20/t/202_trait_array.t MooseX-AttributeHelpers-0.20/t/203_trait_hash.t MooseX-AttributeHelpers-0.20/t/204_trait_number.t MooseX-AttributeHelpers-0.20/t/205_trait_list.t MooseX-AttributeHelpers-0.20/t/206_trait_bag.t MooseX-AttributeHelpers-0.20/t/207_trait_string.t MooseX-AttributeHelpers-0.20/t/208_trait_bool.t MooseX-AttributeHelpers-0.20/t/pod.t MooseX-AttributeHelpers-0.20/t/pod_coverage.t CPAN.pm: Going to build S/SA/SARTAK/MooseX-AttributeHelpers-0.20.tar.gz >>> /Users/fly1003/bin/perl Makefile.PL Cannot determine perl version info from lib/MooseX/AttributeHelpers.pm Checking if your kit is complete... Looks good Writing Makefile for MooseX::AttributeHelpers >>> make cp lib/MooseX/AttributeHelpers/MethodProvider/ImmutableHash.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/ImmutableHash.pm cp lib/MooseX/AttributeHelpers/Counter.pm blib/lib/MooseX/AttributeHelpers/Counter.pm cp lib/MooseX/AttributeHelpers/MethodProvider/Bag.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Bag.pm cp lib/MooseX/AttributeHelpers/Trait/Collection/ImmutableHash.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/ImmutableHash.pm cp lib/MooseX/AttributeHelpers/Trait/Number.pm blib/lib/MooseX/AttributeHelpers/Trait/Number.pm cp lib/MooseX/AttributeHelpers/Meta/Method/Curried.pm blib/lib/MooseX/AttributeHelpers/Meta/Method/Curried.pm cp lib/MooseX/AttributeHelpers/MethodProvider/Array.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Array.pm cp lib/MooseX/AttributeHelpers/Trait/Collection/Hash.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/Hash.pm cp lib/MooseX/AttributeHelpers/Trait/Bool.pm blib/lib/MooseX/AttributeHelpers/Trait/Bool.pm cp lib/MooseX/AttributeHelpers/Trait/Counter.pm blib/lib/MooseX/AttributeHelpers/Trait/Counter.pm cp lib/MooseX/AttributeHelpers/String.pm blib/lib/MooseX/AttributeHelpers/String.pm cp lib/MooseX/AttributeHelpers/Trait/String.pm blib/lib/MooseX/AttributeHelpers/Trait/String.pm cp lib/MooseX/AttributeHelpers/Trait/Collection/List.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/List.pm cp lib/MooseX/AttributeHelpers/Collection/ImmutableHash.pm blib/lib/MooseX/AttributeHelpers/Collection/ImmutableHash.pm cp lib/MooseX/AttributeHelpers/Bool.pm blib/lib/MooseX/AttributeHelpers/Bool.pm cp lib/MooseX/AttributeHelpers/MethodProvider/Counter.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Counter.pm cp lib/MooseX/AttributeHelpers/MethodProvider/List.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/List.pm cp lib/MooseX/AttributeHelpers/Collection/Hash.pm blib/lib/MooseX/AttributeHelpers/Collection/Hash.pm cp lib/MooseX/AttributeHelpers/Trait/Collection/Array.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/Array.pm cp lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm cp lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm cp lib/MooseX/AttributeHelpers/MethodProvider/String.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/String.pm cp lib/MooseX/AttributeHelpers/Collection/Bag.pm blib/lib/MooseX/AttributeHelpers/Collection/Bag.pm cp lib/MooseX/AttributeHelpers/Number.pm blib/lib/MooseX/AttributeHelpers/Number.pm cp lib/MooseX/AttributeHelpers/Collection/Array.pm blib/lib/MooseX/AttributeHelpers/Collection/Array.pm cp lib/MooseX/AttributeHelpers.pm blib/lib/MooseX/AttributeHelpers.pm cp lib/MooseX/AttributeHelpers/Trait/Collection.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection.pm cp lib/MooseX/AttributeHelpers/Collection/List.pm blib/lib/MooseX/AttributeHelpers/Collection/List.pm cp lib/MooseX/AttributeHelpers/MethodProvider/Bool.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Bool.pm cp lib/MooseX/AttributeHelpers/Trait/Base.pm blib/lib/MooseX/AttributeHelpers/Trait/Base.pm cp lib/MooseX/AttributeHelpers/Meta/Method/Provided.pm blib/lib/MooseX/AttributeHelpers/Meta/Method/Provided.pm Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::ImmutableHash.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::Bag.3 Manifying blib/man3/MooseX::AttributeHelpers::Counter.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Collection::ImmutableHash.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Number.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Collection::Hash.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::Array.3 Manifying blib/man3/MooseX::AttributeHelpers::Meta::Method::Curried.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Counter.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Bool.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Collection::List.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::String.3 Manifying blib/man3/MooseX::AttributeHelpers::String.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::Counter.3 Manifying blib/man3/MooseX::AttributeHelpers::Bool.3 Manifying blib/man3/MooseX::AttributeHelpers::Collection::ImmutableHash.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::List.3 Manifying blib/man3/MooseX::AttributeHelpers::Collection::Hash.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Collection::Bag.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Collection::Array.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::Hash.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::String.3 Manifying blib/man3/MooseX::AttributeHelpers::Collection::Bag.3 Manifying blib/man3/MooseX::AttributeHelpers::Number.3 Manifying blib/man3/MooseX::AttributeHelpers::Collection::Array.3 Manifying blib/man3/MooseX::AttributeHelpers.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Collection.3 Manifying blib/man3/MooseX::AttributeHelpers::Collection::List.3 Manifying blib/man3/MooseX::AttributeHelpers::MethodProvider::Bool.3 Manifying blib/man3/MooseX::AttributeHelpers::Trait::Base.3 Manifying blib/man3/MooseX::AttributeHelpers::Meta::Method::Provided.3 SARTAK/MooseX-AttributeHelpers-0.20.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly1003/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/000_load.t ................... 1..1 ok 1 - use MooseX::AttributeHelpers; ok t/001_basic_counter.t .......... 1..18 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa MyHomePage ok 3 - MyHomePage->can('dec_counter') ok 4 - MyHomePage->can('inc_counter') ok 5 - MyHomePage->can('reset_counter') ok 6 - MyHomePage->can('set_counter') ok 7 - ... got the default value ok 8 - ... got the incremented value ok 9 - ... got the incremented value (again) ok 10 - ... got the decremented value ok 11 - ... got the original value ok 12 - ... set the value ok 13 - ... increment by arg ok 14 - ... decrement by arg ok 15 - The object isa MooseX::AttributeHelpers::Counter ok 16 - ... got the expected helper type ok 17 - ... got the expected type constraint ok 18 - ... got the right provides methods ok t/002_basic_array.t ............ 1..69 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('add_options') ok 4 - Stuff->can('remove_last_option') ok 5 - Stuff->can('remove_first_option') ok 6 - Stuff->can('insert_options') ok 7 - Stuff->can('get_option_at') ok 8 - Stuff->can('set_option_at') ok 9 - Stuff->can('num_options') ok 10 - Stuff->can('clear_options') ok 11 - Stuff->can('has_options') ok 12 - Stuff->can('sort_options_in_place') ok 13 - Stuff->can('option_accessor') ok 14 - ... got options ok 15 - ... we have options ok 16 - ... got 2 options ok 17 - ... removed the last option ok 18 - ... removed the last option ok 19 - ... no options anymore ok 20 - ... no options ok 21 - ... got no options ok 22 - ... set the option okay ok 23 - ... got options now ok 24 - ... no options ok 25 - ... got 3 options ok 26 - ... get option at index 0 ok 27 - ... get option at index 1 ok 28 - ... get option at index 2 ok 29 - ... set the option okay ok 30 - ... get option at index 1 ok 31 - ... set the option okay ok 32 - ... got more options now ok 33 - ... got 5 options ok 34 - ... removed the last option ok 35 - ... got 4 options ok 36 - ... got diff options now ok 37 - ... set the option okay ok 38 - ... got 6 options ok 39 - ... got diff options now ok 40 - ... get option at index 0 ok 41 - ... get option at index 1 ok 42 - ... get option at index 3 ok 43 - ... getting the first option ok 44 - ... got 5 options ok 45 - ... get option at index 0 ok 46 - ... clear options ok 47 - ... sort options in place (default sort order) ok 48 - ... sort options in place (descending order) ok 49 - ... curried sort in place lives ok ok 50 - ... sort currying ok 51 - error when sort_in_place receives a non-coderef argument ok 52 - ... set the options okay ok 53 - ... add options with speed okay ok 54 - check options after add_options_with_speed ok 55 - ... add prerequisite options okay ok 56 - ... splice_options works ok 57 - splice added expected option ok 58 ok 59 ok 60 - ... bad constructor params ok 61 - ... rejects push of an invalid type ok 62 - ... rejects unshift of an invalid type ok 63 - ... rejects set of an invalid type ok 64 - ... sort rejects arg of invalid type ok 65 - ... accessor rejects 0 args ok 66 - ... accessor rejects 3 args ok 67 - The object isa MooseX::AttributeHelpers::Collection::Array ok 68 - ... got the right provides mapping ok 69 - ... got the right container type ok t/003_basic_hash.t ............. 1..50 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('set_option') ok 4 - Stuff->can('get_option') ok 5 - Stuff->can('has_options') ok 6 - Stuff->can('num_options') ok 7 - Stuff->can('delete_option') ok 8 - Stuff->can('clear_options') ok 9 - Stuff->can('is_defined') ok 10 - Stuff->can('has_option') ok 11 - Stuff->can('quantity') ok 12 - Stuff->can('option_accessor') ok 13 - ... we have no options ok 14 - ... we have no options ok 15 - ... no options yet ok 16 - ... we have no foo option ok 17 - ... set the option okay ok 18 - ... foo is defined ok 19 - ... we have options ok 20 - ... we have 1 option(s) ok 21 - ... we have a foo option ok 22 - ... got options now ok 23 - ... set the option okay ok 24 - ... we have 2 option(s) ok 25 - ... got more options now ok 26 - ... got the right option ok 27 - get multiple options at once ok 28 - ... set the option okay ok 29 - 4 options ok 30 - get multiple options at once ok 31 - ... deleted the option okay ok 32 - ... deleted the option okay ok 33 - ... deleted the option okay ok 34 - ... we have 1 option(s) ok 35 - ... got more options now ok 36 - ... cleared options ok 37 - ... options added okay with defaults ok 38 - reader part of curried accessor works ok 39 - ... returns what we expect ok 40 - ... good constructor params ok 41 - ... could not add a hash ref where an string is expected ok 42 - ... bad constructor params ok 43 - ... accessor dies on 0 args ok 44 - ... accessor dies on 3 args ok 45 - ... accessor dies on 4 args ok 46 - The object isa MooseX::AttributeHelpers::Collection::Hash ok 47 - ... got the right provides mapping ok 48 - ... got the right container type ok 49 - ... got the right key value pairs ok 50 - ... got the right hash elements ok t/004_basic_number.t ........... 1..26 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Real ok 3 - Real->can('set') ok 4 - Real->can('add') ok 5 - Real->can('sub') ok 6 - Real->can('mul') ok 7 - Real->can('div') ok 8 - Real->can('mod') ok 9 - Real->can('abs') ok 10 - Real->can('inc') ok 11 - Real->can('dec') ok 12 - Real->can('odd') ok 13 - Real->can('cut_in_half') ok 14 - Default to five ok 15 - Add ten for fithteen ok 16 - Subtract three for 12 ok 17 - Set to ten ok 18 - divide by 2 ok 19 - multiplied by 2 ok 20 - Mod by 2 ok 21 - Mod by 5 ok 22 - abs 1 ok 23 - inc 12 ok 24 - dec 13 ok 25 - The object isa MooseX::AttributeHelpers::Number ok 26 - ... got the right provides mapping ok t/005_basic_list.t ............. 1..35 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('_options') ok 4 - Stuff->can('num_options') ok 5 - Stuff->can('has_options') ok 6 - Stuff->can('map_options') ok 7 - Stuff->can('filter_options') ok 8 - Stuff->can('find_option') ok 9 - Stuff->can('options') ok 10 - Stuff->can('join_options') ok 11 - Stuff->can('get_option_at') ok 12 - Stuff->can('sorted_options') ok 13 - ... got options ok 14 - ... we have options ok 15 - ... got 2 options ok 16 - ... get option 0 ok 17 - ... get first ok 18 - ... get last ok 19 - ... got the right filtered values ok 20 - ... got the right mapped values ok 21 - .. found the right option ok 22 - ... got the list of options ok 23 - ... joined the list of options by : ok 24 - ... got sorted options (default sort order) ok 25 - ... got sorted options (descending sort order) ok 26 - error when sort receives a non-coderef argument ok 27 ok 28 ok 29 ok 30 - returns all elements with double length of string "fish" ok 31 ok 32 - The object isa MooseX::AttributeHelpers::Collection::List ok 33 - ... got the right provides mapping ok 34 - ... got the right container type ok 35 - ... sort rejects arg of invalid type ok t/006_basic_bag.t .............. 1..20 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('add_word') ok 4 - Stuff->can('get_count_for') ok 5 - Stuff->can('has_any_words') ok 6 - Stuff->can('num_words') ok 7 - Stuff->can('delete_word') ok 8 - ... we have no words ok 9 - ... we have no words ok 10 - ... set the words okay ok 11 - ... we have words ok 12 - ... we have 1 word(s) ok 13 - ... got words now ok 14 - ... set the words okay ok 15 - ... we still have 1 word(s) ok 16 - ... got words now ok 17 - ... got words now ok 18 - ... got words now ok 19 - The object isa MooseX::AttributeHelpers::Collection::Bag ok 20 - ... got the right provides mapping ok t/007_basic_string.t ........... 1..27 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa MyHomePage ok 3 - ... got the default value ok 4 - ... got the incremented value ok 5 - ... got the incremented value (again) ok 6 - appended to string ok 7 - chomped string ok 8 - chomped is noop ok 9 - chopped string ok 10 - prepended to string ok 11 - match ok 12 - substitution ok 13 - exclaim! ok 14 - substr(offset) ok 15 - substr(offset, length) ok 16 - substr(offset, length, replacement) ok 17 - replacement got inserted ok 18 - curried substr ok 19 - replacement got inserted ok 20 - capitalize last ok 21 - string "isn't an invalid number ok 22 - string an invalid number ok 23 - clear ok 24 - The object isa MooseX::AttributeHelpers::String ok 25 - ... got the expected helper type ok 26 - ... got the expected type constraint ok 27 - ... got the right provides methods ok t/010_array_from_role.t ........ 1..3 ok 1 - use MooseX::AttributeHelpers; ok 2 - ... this should work correctly ok 3 - ... this should work correctly ok t/011_counter_with_defaults.t .. 1..14 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa MyHomePage ok 3 - MyHomePage->can('dec_counter') ok 4 - MyHomePage->can('inc_counter') ok 5 - MyHomePage->can('reset_counter') ok 6 - ... got the default value ok 7 - ... got the incremented value ok 8 - ... got the incremented value (again) ok 9 - ... got the decremented value ok 10 - ... got the original value ok 11 - The object isa MooseX::AttributeHelpers::Counter ok 12 - ... got the expected helper type ok 13 - ... got the expected default type constraint ok 14 - ... got the right default provides methods ok t/012_basic_bool.t ............. 1..8 ok 1 - set is_lit to 1 using ->illuminate ok 2 - check if is_dark does the right thing ok 3 - set is_lit to 0 using ->darken ok 4 - check if is_dark does the right thing ok 5 - toggle is_lit back to 1 using ->flip_switch ok 6 - check if is_dark does the right thing ok 7 - toggle is_lit back to 0 again using ->flip_switch ok 8 - check if is_dark does the right thing ok t/020_remove_attribute.t ....... 1..12 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa MyHomePage ok 3 - MyHomePage->can('counter') ok 4 - MyHomePage->can('dec_counter') ok 5 - MyHomePage->can('inc_counter') ok 6 - MyHomePage->can('reset_counter') ok 7 - ... removed the counter attribute okay ok 8 - ... no longer has the attribute ok 9 - ... our class no longer has the counter method ok 10 - ... our class no longer has the dec_counter method ok 11 - ... our class no longer has the inc_counter method ok 12 - ... our class no longer has the reset_counter method ok t/100_collection_with_roles.t .. 1..29 ok 1 - use MooseX::AttributeHelpers; ok 2 - add_observer method added ok 3 - count_observers method added ok 4 - inc_counter method added ok 5 - dec_counter method added ok 6 - Only one observer ok 7 - Default to zero ok 8 - Observed number 1 ok 9 - Increment to one ok 10 - Observed number 2 ok 11 - Observed number 3 ok 12 - Observed number 4 ok 13 - Observed number 5 ok 14 - Observed number 6 ok 15 - Observed number 7 ok 16 - Increment up to seven ok 17 - Observed number 6 ok 18 - Decrement to 6 ok 19 - Observed number 5 ok 20 - Observed number 4 ok 21 - Observed number 3 ok 22 - Observed number 2 ok 23 - Observed number 1 ok 24 - Decrement to 1 ok 25 - Observed number 0 ok 26 - Observed number -1 ok 27 - Negative numbers ok 28 - Observed number 0 ok 29 - Back to zero ok t/201_trait_counter.t .......... 1..14 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa MyHomePage ok 3 - MyHomePage->can('dec_counter') ok 4 - MyHomePage->can('inc_counter') ok 5 - MyHomePage->can('reset_counter') ok 6 - ... got the default value ok 7 - ... got the incremented value ok 8 - ... got the incremented value (again) ok 9 - ... got the decremented value ok 10 - ... got the original value ok 11 - The object does MooseX::AttributeHelpers::Trait::Counter ok 12 - ... got the expected helper type ok 13 - ... got the expected type constraint ok 14 - ... got the right provides methods ok t/202_trait_array.t ............ 1..51 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('add_options') ok 4 - Stuff->can('remove_last_option') ok 5 - Stuff->can('remove_first_option') ok 6 - Stuff->can('insert_options') ok 7 - Stuff->can('get_option_at') ok 8 - Stuff->can('set_option_at') ok 9 - Stuff->can('num_options') ok 10 - Stuff->can('clear_options') ok 11 - Stuff->can('has_options') ok 12 - ... got options ok 13 - ... we have options ok 14 - ... got 2 options ok 15 - ... removed the last option ok 16 - ... removed the last option ok 17 - ... no options anymore ok 18 - ... no options ok 19 - ... got no options ok 20 - ... set the option okay ok 21 - ... got options now ok 22 - ... no options ok 23 - ... got 3 options ok 24 - ... get option at index 0 ok 25 - ... get option at index 1 ok 26 - ... get option at index 2 ok 27 - ... set the option okay ok 28 - ... get option at index 1 ok 29 - ... set the option okay ok 30 - ... got more options now ok 31 - ... got 5 options ok 32 - ... removed the last option ok 33 - ... got 4 options ok 34 - ... got diff options now ok 35 - ... set the option okay ok 36 - ... got 6 options ok 37 - ... got diff options now ok 38 - ... get option at index 0 ok 39 - ... get option at index 1 ok 40 - ... get option at index 3 ok 41 - ... getting the first option ok 42 - ... got 5 options ok 43 - ... get option at index 0 ok 44 - ... clear options ok 45 - ... could not add an array ref where an int is expected ok 46 - ... could not add an undef where an int is expected ok 47 - ... could not add a hash ref where an int is expected ok 48 - ... bad constructor params ok 49 - The object does MooseX::AttributeHelpers::Trait::Collection::Array ok 50 - ... got the right provies mapping ok 51 - ... got the right container type ok t/203_trait_hash.t ............. 1..35 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('set_option') ok 4 - Stuff->can('get_option') ok 5 - Stuff->can('has_options') ok 6 - Stuff->can('num_options') ok 7 - Stuff->can('delete_option') ok 8 - Stuff->can('clear_options') ok 9 - ... we have no options ok 10 - ... we have no options ok 11 - ... no options yet ok 12 - ... set the option okay ok 13 - ... we have options ok 14 - ... we have 1 option(s) ok 15 - ... got options now ok 16 - ... set the option okay ok 17 - ... we have 2 option(s) ok 18 - ... got more options now ok 19 - ... got the right option ok 20 - get multiple options at once ok 21 - ... set the option okay ok 22 - 4 options ok 23 - get multiple options at once ok 24 - ... deleted the option okay ok 25 - ... deleted the option okay ok 26 - ... deleted the option okay ok 27 - ... we have 1 option(s) ok 28 - ... got more options now ok 29 - ... cleared options ok 30 - ... good constructor params ok 31 - ... could not add a hash ref where an string is expected ok 32 - ... bad constructor params ok 33 - The object does MooseX::AttributeHelpers::Trait::Collection::Hash ok 34 - ... got the right provies mapping ok 35 - ... got the right container type ok t/204_trait_number.t ........... 1..20 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Real ok 3 - Real->can('set') ok 4 - Real->can('add') ok 5 - Real->can('sub') ok 6 - Real->can('mul') ok 7 - Real->can('div') ok 8 - Real->can('mod') ok 9 - Real->can('abs') ok 10 - Default to five ok 11 - Add ten for fithteen ok 12 - Subtract three for 12 ok 13 - Set to ten ok 14 - divide by 2 ok 15 - multiplied by 2 ok 16 - Mod by 2 ok 17 - Mod by 5 ok 18 - abs 1 ok 19 - The object does MooseX::AttributeHelpers::Trait::Number ok 20 - ... got the right provides mapping ok t/205_trait_list.t ............. 1..21 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('_options') ok 4 - Stuff->can('num_options') ok 5 - Stuff->can('has_options') ok 6 - Stuff->can('map_options') ok 7 - Stuff->can('filter_options') ok 8 - Stuff->can('find_option') ok 9 - Stuff->can('options') ok 10 - Stuff->can('join_options') ok 11 - ... got options ok 12 - ... we have options ok 13 - ... got 2 options ok 14 - ... got the right filtered values ok 15 - ... got the right mapped values ok 16 - .. found the right option ok 17 - ... got the list of options ok 18 - ... joined the list of options by : ok 19 - The object does MooseX::AttributeHelpers::Trait::Collection::List ok 20 - ... got the right provies mapping ok 21 - ... got the right container type ok t/206_trait_bag.t .............. 1..20 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa Stuff ok 3 - Stuff->can('add_word') ok 4 - Stuff->can('get_count_for') ok 5 - Stuff->can('has_any_words') ok 6 - Stuff->can('num_words') ok 7 - Stuff->can('delete_word') ok 8 - ... we have no words ok 9 - ... we have no words ok 10 - ... set the words okay ok 11 - ... we have words ok 12 - ... we have 1 word(s) ok 13 - ... got words now ok 14 - ... set the words okay ok 15 - ... we still have 1 word(s) ok 16 - ... got words now ok 17 - ... got words now ok 18 - ... got words now ok 19 - The object does MooseX::AttributeHelpers::Trait::Collection::Bag ok 20 - ... got the right provides mapping ok t/207_trait_string.t ........... 1..17 ok 1 - use MooseX::AttributeHelpers; ok 2 - The object isa MyHomePage ok 3 - ... got the default value ok 4 - ... got the incremented value ok 5 - ... got the incremented value (again) ok 6 - appended to string ok 7 - chomped string ok 8 - chomped is noop ok 9 - chopped string ok 10 - prepended to string ok 11 - match ok 12 - substitution ok 13 - clear ok 14 - The object does MooseX::AttributeHelpers::Trait::String ok 15 - ... got the expected helper type ok 16 - ... got the expected type constraint ok 17 - ... got the right provides methods ok t/208_trait_bool.t ............. 1..8 ok 1 - set is_lit to 1 using ->illuminate ok 2 - check if is_dark does the right thing ok 3 - set is_lit to 0 using ->darken ok 4 - check if is_dark does the right thing ok 5 - toggle is_lit back to 1 using ->flip_switch ok 6 - check if is_dark does the right thing ok 7 - toggle is_lit back to 0 again using ->flip_switch ok 8 - check if is_dark does the right thing ok t/pod.t ........................ skipped: Pod tests run only authors t/pod_coverage.t ............... skipped: Pod tests run only authors All tests successful. Files=23, Tests=498, 23 wallclock secs ( 0.38 usr 0.32 sys + 19.12 cusr 2.76 csys = 22.58 CPU) Result: PASS SARTAK/MooseX-AttributeHelpers-0.20.tar.gz make test TEST_VERBOSE=1 -- OK Shawn M Moore <sartak@gmail.com> Extend your attribute interfaces >>> (cd /Users/fly1003/var/cpan/build/MooseX-AttributeHelpers-0.20-KoJ0a2 && tar cvf - MooseX-AttributeHelpers-0.20.ppd blib) | gzip -c >/Users/fly1003/var/REPO/S/SA/SARTAK/MooseX-AttributeHelpers-0.20.tar.gz MooseX-AttributeHelpers-0.20.ppd blib/ blib/lib/ blib/lib/MooseX/ blib/lib/MooseX/AttributeHelpers/ blib/lib/MooseX/AttributeHelpers/Bool.pm blib/lib/MooseX/AttributeHelpers/Collection/ blib/lib/MooseX/AttributeHelpers/Collection/Array.pm blib/lib/MooseX/AttributeHelpers/Collection/Bag.pm blib/lib/MooseX/AttributeHelpers/Collection/Hash.pm blib/lib/MooseX/AttributeHelpers/Collection/ImmutableHash.pm blib/lib/MooseX/AttributeHelpers/Collection/List.pm blib/lib/MooseX/AttributeHelpers/Counter.pm blib/lib/MooseX/AttributeHelpers/Meta/ blib/lib/MooseX/AttributeHelpers/Meta/Method/ blib/lib/MooseX/AttributeHelpers/Meta/Method/Curried.pm blib/lib/MooseX/AttributeHelpers/Meta/Method/Provided.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/ blib/lib/MooseX/AttributeHelpers/MethodProvider/Array.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Bag.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Bool.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Counter.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/ImmutableHash.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/List.pm blib/lib/MooseX/AttributeHelpers/MethodProvider/String.pm blib/lib/MooseX/AttributeHelpers/Number.pm blib/lib/MooseX/AttributeHelpers/String.pm blib/lib/MooseX/AttributeHelpers/Trait/ blib/lib/MooseX/AttributeHelpers/Trait/Base.pm blib/lib/MooseX/AttributeHelpers/Trait/Bool.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/ blib/lib/MooseX/AttributeHelpers/Trait/Collection/Array.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/Hash.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/ImmutableHash.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection/List.pm blib/lib/MooseX/AttributeHelpers/Trait/Collection.pm blib/lib/MooseX/AttributeHelpers/Trait/Counter.pm blib/lib/MooseX/AttributeHelpers/Trait/Number.pm blib/lib/MooseX/AttributeHelpers/Trait/String.pm blib/lib/MooseX/AttributeHelpers.pm blib/man3/ blib/man3/MooseX::AttributeHelpers.3 blib/man3/MooseX::AttributeHelpers::Bool.3 blib/man3/MooseX::AttributeHelpers::Collection::Array.3 blib/man3/MooseX::AttributeHelpers::Collection::Bag.3 blib/man3/MooseX::AttributeHelpers::Collection::Hash.3 blib/man3/MooseX::AttributeHelpers::Collection::ImmutableHash.3 blib/man3/MooseX::AttributeHelpers::Collection::List.3 blib/man3/MooseX::AttributeHelpers::Counter.3 blib/man3/MooseX::AttributeHelpers::Meta::Method::Curried.3 blib/man3/MooseX::AttributeHelpers::Meta::Method::Provided.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::Array.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::Bag.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::Bool.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::Counter.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::Hash.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::ImmutableHash.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::List.3 blib/man3/MooseX::AttributeHelpers::MethodProvider::String.3 blib/man3/MooseX::AttributeHelpers::Number.3 blib/man3/MooseX::AttributeHelpers::String.3 blib/man3/MooseX::AttributeHelpers::Trait::Base.3 blib/man3/MooseX::AttributeHelpers::Trait::Bool.3 blib/man3/MooseX::AttributeHelpers::Trait::Collection.3 blib/man3/MooseX::AttributeHelpers::Trait::Collection::Array.3 blib/man3/MooseX::AttributeHelpers::Trait::Collection::Bag.3 blib/man3/MooseX::AttributeHelpers::Trait::Collection::Hash.3 blib/man3/MooseX::AttributeHelpers::Trait::Collection::ImmutableHash.3 blib/man3/MooseX::AttributeHelpers::Trait::Collection::List.3 blib/man3/MooseX::AttributeHelpers::Trait::Counter.3 blib/man3/MooseX::AttributeHelpers::Trait::Number.3 blib/man3/MooseX::AttributeHelpers::Trait::String.3 >>> mv /Users/fly1003/var/cpan/build/MooseX-AttributeHelpers-0.20-KoJ0a2/MooseX-AttributeHelpers-0.20.ppd /Users/fly1003/var/REPO/S/SA/SARTAK Finished 2009-06-27T07:01:03