Checking if your kit is complete... Looks good Writing Makefile for Class::Meta::Declare cp lib/Class/Meta/Declare.pm blib/lib/Class/Meta/Declare.pm Manifying blib/man3/Class::Meta::Declare.3 PERL_DL_NONLAZY=1 /home/cpanrun/tmp/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-load...............1..1 ok 1 - use Class::Meta::Declare; # Testing Class::Meta::Declare 0.04, Perl 5.010000, /home/cpanrun/tmp/5.10.0/bin/perl ok t/10-constants..........1..35 ok 1 - use Class::Meta::Declare; ok 2 - acc PERL should be correct ok 3 - acc AFFORDANCE should be correct ok 4 - acc SEMI_AFFORDANCE should be correct ok 5 - authz READ should be correct ok 6 - authz WRITE should be correct ok 7 - authz RDWR should be correct ok 8 - authz NONE should be correct ok 9 - view PUBLIC should be correct ok 10 - view PRIVATE should be correct ok 11 - view TRUSTED should be correct ok 12 - view PROTECTED should be correct ok 13 - context CLASS should be correct ok 14 - context OBJECT should be correct ok 15 - create GET should be correct ok 16 - create SET should be correct ok 17 - create GETSET should be correct ok 18 - create NONE should be correct ok 19 - type 'scalar' should be correct ok 20 - type 'scalarref' should be correct ok 21 - type 'array' should be correct ok 22 - type 'arrayref' should be correct ok 23 - type 'hash' should be correct ok 24 - type 'hashref' should be correct ok 25 - type 'code' should be correct ok 26 - type 'coderef' should be correct ok 27 - type 'closure' should be correct ok 28 - type 'string' should be correct ok 29 - type 'boolean' should be correct ok 30 - type 'bool' should be correct ok 31 - type 'whole' should be correct ok 32 - type 'integer' should be correct ok 33 - type 'decimal' should be correct ok 34 - type 'real' should be correct ok 35 - type 'float' should be correct ok t/20-build-class........1..39 ok 1 - use Class::Meta::Declare; ok 2 - Class::Meta::Declare->can('installed_types') ok 3 - ... and calling it should succeed ok 4 - ... and calling it should return the installed types ok 5 - ... and it should verify a given type ok 6 - ... and verify uninstalled types ok 7 - MyApp::Thingy->can('new') ok 8 - ... and we should be able to create a new object ok 9 - ... and the object it returns isa MyApp::Thingy ok 10 - MyApp::Thingy->can('id') ok 11 - ... and fetching the id should succeed ok 12 - ... and it should return a correct default value ok 13 - ... and trying to reset the id should fail ok 14 - ... but trying to call an instance method as a class method should fail ok 15 - MyApp::Thingy->can('name') ok 16 - ... and it should have the correct default value ok 17 - ... setting it should succeed ok 18 - ... and now it should return the correct value ok 19 - MyApp::Thingy->can('age') ok 20 - ... and its initial value should be undefined ok 21 - ... setting to a non-integer value should fail ok 22 - MyApp::Thingy->can('pi') ok 23 - Class methods should return the correct value ok 24 - ... even when called as instance methods ok 25 - MyApp::Thingy->can('some_method') ok 26 - ... and calling it should succeed ok 27 - ... and return the correct results ok 28 - MyApp::Thingy->can('my_class') ok 29 - ... and calling it should succeed ok 30 - ... and the object it returns isa Class::Meta::Class ok 31 - ... and it should return the correct constructors ok 32 - ... and the correct attributes ok 33 - ... and the correct methods ok 34 - We should be able to override the default package ok 35 - ... and the package containing the declaration should not be altered ok 36 - Calling new() should succeed ok 37 - ... and the object it returns isa MyApp::Thingy2 ok 38 - ... and we should be able to fetch instance data ok 39 - ... and generally have the class behave like it should ok t/30-semi-affordance....1..42 ok 1 - use Class::Meta::Declare; ok 2 - Class::Meta::Declare->can('installed_types') ok 3 - ... and calling it should succeed ok 4 - ... and calling it should return the installed types ok 5 - ... and it should verify a given type ok 6 - ... and verify uninstalled types ok 7 - MyApp::Thingy->can('new') ok 8 - ... and we should be able to create a new object ok 9 - ... and the object it returns isa MyApp::Thingy ok 10 - MyApp::Thingy->can('id') ok 11 - ... and fetching the id should succeed ok 12 - ... and it should return a correct default value ok 13 - ... and no mutator should be created for read-only values ok 14 - ... but trying to call an instance method as a class method should fail ok 15 - MyApp::Thingy->can('name') ok 16 - ... and it should have the correct default value ok 17 - MyApp::Thingy->can('set_name') ok 18 - ... setting it should succeed ok 19 - ... and now it should return the correct value ok 20 - MyApp::Thingy->can('age') ok 21 - ... and its initial value should be undefined ok 22 - MyApp::Thingy->can('set_age') ok 23 - ... setting to a non-integer value should fail ok 24 - MyApp::Thingy->can('pi') ok 25 - Class methods should return the correct value ok 26 - ... even when called as instance methods ok 27 - MyApp::Thingy->can('some_method') ok 28 - ... and calling it should succeed ok 29 - ... and return the correct results ok 30 - MyApp::Thingy->can('my_class') ok 31 - ... and calling it should succeed ok 32 - ... and the object it returns isa Class::Meta::Class ok 33 - ... and it should return the correct constructors ok 34 - ... and the correct attributes ok 35 - ... and the correct methods ok 36 - We should be able to override the default package ok 37 - ... and the package containing the declaration should not be altered ok 38 - Calling new() should succeed ok 39 - ... and the object it returns isa MyApp::Thingy2 ok 40 - ... and we should be able to fetch instance data ok 41 - We should not need to redeclare our accessor type ok 42 - ... and generally have the class behave like it should ok t/40-affordance.........1..37 ok 1 - use Class::Meta::Declare; ok 2 - MyApp::Thingy->can('new') ok 3 - ... and we should be able to create a new object ok 4 - ... and the object it returns isa MyApp::Thingy ok 5 - MyApp::Thingy->can('get_id') ok 6 - ... and fetching the id should succeed ok 7 - ... and it should return a correct default value ok 8 - ... and no mutator should be created for read-only values ok 9 - ... but trying to call an instance method as a class method should fail ok 10 - MyApp::Thingy->can('get_name') ok 11 - ... and it should have the correct default value ok 12 - MyApp::Thingy->can('set_name') ok 13 - ... setting it should succeed ok 14 - ... and now it should return the correct value ok 15 - MyApp::Thingy->can('get_age') ok 16 - ... and its initial value should be undefined ok 17 - MyApp::Thingy->can('set_age') ok 18 - ... setting to a non-integer value should fail ok 19 - MyApp::Thingy->can('get_pi') ok 20 - Class methods should return the correct value ok 21 - ... even when called as instance methods ok 22 - MyApp::Thingy->can('some_method') ok 23 - ... and calling it should succeed ok 24 - ... and return the correct results ok 25 - MyApp::Thingy->can('my_class') ok 26 - ... and calling it should succeed ok 27 - ... and the object it returns isa Class::Meta::Class ok 28 - ... and it should return the correct constructors ok 29 - ... and the correct attributes ok 30 - ... and the correct methods ok 31 - We should be able to override the default package ok 32 - ... and the package containing the declaration should not be altered ok 33 - Calling new() should succeed ok 34 - ... and the object it returns isa MyApp::Thingy2 ok 35 - ... and we should be able to fetch instance data ok 36 - We should not need to redeclare our accessor type ok 37 - ... and generally have the class behave like it should ok t/50-create.............1..37 ok 1 - use Class::Meta::Declare; ok 2 - Class::Meta::Declare->can('installed_types') ok 3 - ... and calling it should succeed ok 4 - ... and calling it should return the installed types ok 5 - ... and it should verify a given type ok 6 - ... and verify uninstalled types ok 7 - The class should not be built until we tell it to be built ok 8 - Class::Meta::Declare->can('cm') ok 9 - ... and calling it should succeed ok 10 - ... and the object it returns isa Class::Meta ok 11 - MyApp::Thingy->can('new') ok 12 - ... and we should be able to create a new object ok 13 - ... and the object it returns isa MyApp::Thingy ok 14 - MyApp::Thingy->can('id') ok 15 - ... and fetching the id should succeed ok 16 - ... and it should return a correct default value ok 17 - ... and trying to reset the id should fail ok 18 - ... but trying to call an instance method as a class method should fail ok 19 - MyApp::Thingy->can('name') ok 20 - ... and it should have the correct default value ok 21 - ... setting it should succeed ok 22 - ... and now it should return the correct value ok 23 - MyApp::Thingy->can('age') ok 24 - ... and its initial value should be undefined ok 25 - ... setting to a non-integer value should fail ok 26 - MyApp::Thingy->can('pi') ok 27 - Class methods should return the correct value ok 28 - ... even when called as instance methods ok 29 - MyApp::Thingy->can('some_method') ok 30 - ... and calling it should succeed ok 31 - ... and return the correct results ok 32 - MyApp::Thingy->can('my_class') ok 33 - ... and calling it should succeed ok 34 - ... and the object it returns isa Class::Meta::Class ok 35 - ... and it should return the correct constructors ok 36 - ... and the correct attributes ok 37 - ... and the correct methods ok t/60-constructors.......1..43 ok 1 - use Class::Meta::Declare; ok 2 - Class::Meta::Declare->can('installed_types') ok 3 - ... and calling it should succeed ok 4 - ... and calling it should return the installed types ok 5 - ... and it should verify a given type ok 6 - ... and verify uninstalled types ok 7 - MyApp::Thingy->can('new') ok 8 - ... and we should be able to create a new object ok 9 - ... and the object it returns isa MyApp::Thingy ok 10 - MyApp::Thingy->can('anon') ok 11 - ... and we should be able to call the extra constructor ok 12 - ... and the object it returns isa MyApp::Thingy ok 13 - ... but it should be its own subclass ok 14 - MyApp::Thingy->can('id') ok 15 - ... and fetching the id should succeed ok 16 - ... and it should return a correct default value ok 17 - ... and trying to reset the id should fail ok 18 - ... but trying to call an instance method as a class method should fail ok 19 - MyApp::Thingy->can('name') ok 20 - ... and it should have the correct default value ok 21 - ... setting it should succeed ok 22 - ... and now it should return the correct value ok 23 - MyApp::Thingy->can('age') ok 24 - ... and its initial value should be undefined ok 25 - ... setting to a non-integer value should fail ok 26 - MyApp::Thingy->can('pi') ok 27 - Class methods should return the correct value ok 28 - ... even when called as instance methods ok 29 - MyApp::Thingy->can('some_method') ok 30 - ... and calling it should succeed ok 31 - ... and return the correct results ok 32 - MyApp::Thingy->can('my_class') ok 33 - ... and calling it should succeed ok 34 - ... and the object it returns isa Class::Meta::Class ok 35 - ... and it should return the correct constructors ok 36 - ... and the correct attributes ok 37 - ... and the correct methods ok 38 - We should be able to override the default package ok 39 - ... and the package containing the declaration should not be altered ok 40 - Calling new() should succeed ok 41 - ... and the object it returns isa MyApp::Thingy2 ok 42 - ... and we should be able to fetch instance data ok 43 - ... and generally have the class behave like it should ok t/70-bare...............1..10 ok 1 - use Class::Meta::Declare; ok 2 - MyApp::Thingy->can('new') ok 3 - ... and we should be able to create a new object ok 4 - ... and the object it returns isa MyApp::Thingy ok 5 - MyApp::Thingy->can('foo') ok 6 - ... and its initial value should be undefined ok 7 - ... but we should be able to set it ok 8 - ... and get the value back ok 9 - MyApp::Thingy->can('inc') ok 10 - ... and it should behave correctly ok t/80-options............1..5 ok 1 - use Class::Meta::Declare; ok 2 - Trying to use a non-existent class as the building class should fail ok 3 - ... but specifying an alternate build class should succeed ok 4 - The building class isa Class::Meta::Subclass ok 5 - ... and we should be able to build the class ok t/90-types..............1..8 ok 1 - use Class::Meta::Declare; ok 2 - Using a non-standard type should fail ok 3 - ... with an appropriate error message ok 4 - Loading a non-standard type should succeed if the class is loaded ok 5 - ... and we should be able to create a new object ok 6 - Setting the non-standard type attribute to the wrong type should fail ok 7 - ... with an appropriate error message ok 8 - ... but setting it to a valid type should succeed ok t/pod-coverage..........1..0 # Skip Test::Pod::Coverage 1.04 required for testing POD coverage skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod...................1..1 ok 1 - blib/lib/Class/Meta/Declare.pm ok All tests successful, 1 test skipped. Files=12, Tests=258, 2 wallclock secs ( 1.40 cusr + 0.32 csys = 1.72 CPU) Installing /home/cpanrun/build/5.10.0/html/site/lib/Class/Meta/Declare.html Installing /home/cpanrun/build/5.10.0/site/lib/Class/Meta/Declare.pm Installing /home/cpanrun/build/5.10.0/site/man/man3/Class::Meta::Declare.3 Appending installation info to /home/cpanrun/build/5.10.0/lib/perllocal.pod