PATH=/usr/bin:/bin:/home/fly2000/var/megalib/bin Start 2015-03-02T08:18:55 ActivePerl-2000 CPAN-2.00 Reading '/home/fly2000/var/cpan/Metadata' Database was generated on Mon, 02 Mar 2015 14:29:02 GMT Running make for P/PR/PREACTION/Beam-Wire-1.011.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/P/PR/PREACTION/Beam-Wire-1.011.tar.gz Checksum for /home/fly2000/var/cpan/sources/authors/id/P/PR/PREACTION/Beam-Wire-1.011.tar.gz ok Beam-Wire-1.011/ Beam-Wire-1.011/Build.PL Beam-Wire-1.011/CHANGES Beam-Wire-1.011/CONTRIBUTING.md Beam-Wire-1.011/cpanfile Beam-Wire-1.011/lib/ Beam-Wire-1.011/LICENSE Beam-Wire-1.011/Makefile.PL Beam-Wire-1.011/MANIFEST Beam-Wire-1.011/META.yml Beam-Wire-1.011/README Beam-Wire-1.011/README.mkdn Beam-Wire-1.011/t/ Beam-Wire-1.011/t/00-compile.t Beam-Wire-1.011/t/00-report-prereqs.t Beam-Wire-1.011/t/01_exception.t Beam-Wire-1.011/t/10_service.t Beam-Wire-1.011/t/11_extends.t Beam-Wire-1.011/t/12_method.t Beam-Wire-1.011/t/13_lifecycle.t Beam-Wire-1.011/t/14_on_event.t Beam-Wire-1.011/t/15_config_service.t Beam-Wire-1.011/t/20_config.t Beam-Wire-1.011/t/21_inner.t Beam-Wire-1.011/t/30_refs.t Beam-Wire-1.011/t/lib/ Beam-Wire-1.011/t/share/ Beam-Wire-1.011/t/share/config/ Beam-Wire-1.011/t/share/file.json Beam-Wire-1.011/t/share/file.pl Beam-Wire-1.011/t/share/file.yml Beam-Wire-1.011/t/share/inner_file.yml Beam-Wire-1.011/t/share/inner_inline.yml Beam-Wire-1.011/t/share/with_config.yml Beam-Wire-1.011/t/share/config/config.yml Beam-Wire-1.011/t/lib/Foo.pm Beam-Wire-1.011/t/lib/Greeting.pm Beam-Wire-1.011/t/lib/My/ Beam-Wire-1.011/t/lib/My/Emitter.pm Beam-Wire-1.011/t/lib/My/Listener.pm Beam-Wire-1.011/lib/Beam/ Beam-Wire-1.011/lib/Beam/Wire.pm CPAN.pm: Building P/PR/PREACTION/Beam-Wire-1.011.tar.gz >>> /home/fly2000/ap2000-298540/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Beam::Wire Writing MYMETA.yml and MYMETA.json >>> make cp lib/Beam/Wire.pm blib/lib/Beam/Wire.pm Manifying 1 pod document PREACTION/Beam-Wire-1.011.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly2000/ap2000-298540/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ......... 1..1 ok 1 - Beam/Wire.pm loaded ok ok # # Versions for all modules listed in MYMETA.json (including optional ones): # Version Module # -------- ------------------------ # 0.007 Beam::Emitter # 2.143240 CPAN::Meta # 2.133 CPAN::Meta::Requirements # 0.24 Config::Any # 0.52 Data::DPath # 7.04 ExtUtils::MakeMaker # 3.47 File::Spec # 1.35 IO::Handle # 1.16 IPC::Open3 # 2.90 JSON # 0.4211 Module::Build # 0.014 Module::Runtime # 1.007000 Moo # 0.061 Path::Tiny # 0.115 Test::Deep # 0.63 Test::Differences # 0.38 Test::Exception # 0.002 Test::Lib # 1.001009 Test::More # 0.200012 Throwable # 1.000005 Types::Standard # 1.14 YAML t/00-report-prereqs.t .. 1..1 ok 1 ok t/01_exception.t ....... # Subtest: config file does not exist ok 1 - threw Beam::Wire::Exception::Constructor ok 2 - stringifies 1..2 ok 1 - config file does not exist # Subtest: get a service that doesn't exist ok 1 - threw Beam::Wire::Exception::NotFound ok 2 ok 3 - stringifies # Subtest: not found with file shows file name ok 1 - threw Beam::Wire::Exception::NotFound ok 2 ok 3 - stringifies 1..3 ok 4 - not found with file shows file name 1..4 ok 2 - get a service that doesn't exist # Subtest: extend a service that doesn't exist ok 1 - threw Beam::Wire::Exception::NotFound ok 2 ok 3 - stringifies 1..3 ok 3 - extend a service that doesn't exist # Subtest: service with both value and class/extends # Subtest: class + value ok 1 ok 2 - threw Beam::Wire::Exception::InvalidConfig ok 3 ok 4 - stringifies 1..4 ok 1 - class + value # Subtest: extends + value ok 1 ok 2 - threw Beam::Wire::Exception::InvalidConfig ok 3 ok 4 - stringifies 1..4 ok 2 - extends + value # Subtest: value in extended service ok 1 ok 2 - threw Beam::Wire::Exception::InvalidConfig ok 3 ok 4 - stringifies 1..4 ok 3 - value in extended service # Subtest: exception shows file name ok 1 ok 2 - threw Beam::Wire::Exception::InvalidConfig ok 3 ok 4 - stringifies 1..4 ok 4 - exception shows file name 1..4 ok 4 - service with both value and class/extends 1..4 ok t/10_service.t ......... # Subtest: value service: simple scalar ok 1 ok 2 - got a simple scalar ok 3 ok 4 ok 5 - An object of class 'Foo' isa 'Foo' ok 6 1..6 ok 1 - value service: simple scalar # Subtest: get() override factory (anonymous services) ok 1 - get() with overrides creates a new object ok 2 - get() with overrides does not save the object ok 3 - our override gave our new object a new bar 1..3 ok 2 - get() override factory (anonymous services) # Subtest: dies when service not found ok 1 1..1 ok 3 - dies when service not found 1..3 ok t/11_extends.t ......... # Subtest: scalar args # Subtest: extends scalar args, new args ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 1 - extends scalar args, new args # Subtest: extends scalar args, no changes ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 2 - extends scalar args, no changes # Subtest: extends scalar args, new method, extends another extends ok 1 ok 2 ok 3 - An object of class 'Foo' isa 'Foo' ok 4 1..4 ok 3 - extends scalar args, new method, extends another extends 1..3 ok 1 - scalar args # Subtest: array args # Subtest: extends array args, new args ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 1 - extends array args, new args # Subtest: extends array args, change to hash args ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 2 - extends array args, change to hash args 1..2 ok 2 - array args # Subtest: hash args # Subtest: extends hash args, new args ok 1 ok 2 - An object of class 'Greeting' isa 'Greeting' ok 3 ok 4 1..4 ok 1 - extends hash args, new args 1..1 ok 3 - hash args # Subtest: nested data structures # Subtest: extends arraynest, new args ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 1 - extends arraynest, new args # Subtest: extends hashnest, new args ok 1 ok 2 - An object of class 'Greeting' isa 'Greeting' ok 3 ok 4 1..4 ok 2 - extends hashnest, new args 1..2 ok 4 - nested data structures # Subtest: extended service does not exist ok 1 - creating a bad wire is fine ok 2 - getting a bad service is not 1..2 ok 5 - extended service does not exist 1..5 ok t/12_method.t .......... # Subtest: method ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - cons was called, not new ok 3 - args were passed 1..3 ok 1 - method # Subtest: multi method ok 1 1..1 ok 2 - multi method # Subtest: chain method ok 1 1..1 ok 3 - chain method 1..3 ok t/13_lifecycle.t ....... # Subtest: singleton lifecycle ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - same foo object is returned ok 3 - same foo object is given to bar 1..3 ok 1 - singleton lifecycle # Subtest: factory lifecycle ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - different foo object is returned ok 3 - different foo object is given to bar ok 4 - different foo object is given to bar 1..4 ok 2 - factory lifecycle # Subtest: eager lifecycle ok 1 - 'bar exists without calling get()' isa 'Foo' ok 2 - foo is also created, because bar depends on foo 1..2 ok 3 - eager lifecycle # Subtest: default lifecycle is singleton ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - same foo object is returned ok 3 - same foo object is given to bar 1..3 ok 4 - default lifecycle is singleton 1..4 ok t/14_on_event.t ........ # Subtest: single event listener ok 1 ok 2 - An object of class 'My::Emitter' isa 'My::Emitter' ok 3 1..3 ok 1 - single event listener # Subtest: multiple event listeners # Subtest: hash of arrays, the logical way, that we will keep ok 1 ok 2 - An object of class 'My::Emitter' isa 'My::Emitter' ok 3 ok 4 1..4 ok 1 - hash of arrays, the logical way, that we will keep # Subtest: array of hashes, less logical, to get around a YAML.pm bug ok 1 ok 2 - An object of class 'My::Emitter' isa 'My::Emitter' ok 3 ok 4 1..4 ok 2 - array of hashes, less logical, to get around a YAML.pm bug 1..2 ok 2 - multiple event listeners # Subtest: anonymous listeners # Subtest: $class ok 1 ok 2 - An object of class 'My::Emitter' isa 'My::Emitter' ok 3 1..3 ok 1 - $class # Subtest: $extends ok 1 ok 2 - An object of class 'My::Emitter' isa 'My::Emitter' ok 3 1..3 ok 2 - $extends 1..2 ok 3 - anonymous listeners 1..3 ok t/15_config_service.t .. # Subtest: yaml config file ok 1 ok 2 # Subtest: config is relative to container file location ok 1 ok 2 1..2 ok 3 - config is relative to container file location # Subtest: absolute path works ok 1 ok 2 1..2 ok 4 - absolute path works 1..4 ok 1 - yaml config file # Subtest: anonymous configs ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 # Subtest: use a config as all the arguments ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 4 - use a config as all the arguments 1..4 ok 2 - anonymous configs # Subtest: config references # Subtest: ref a config ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 1 - ref a config # Subtest: ref a path in a config ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 2 - ref a path in a config 1..2 ok 3 - config references 1..3 ok t/20_config.t .......... # Subtest: load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.json Path::Tiny ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - 'container gets buzz object' isa 'Buzz' ok 7 - container caches the object ok 8 - container gives array of arrayrefs ok 9 - 'container gets Fizz object' isa 'Fizz' ok 10 - container caches the object ok 11 - container gives hashref 1..11 ok 1 - load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.json Path::Tiny # Subtest: load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.json ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - 'container gets buzz object' isa 'Buzz' ok 7 - container caches the object ok 8 - container gives array of arrayrefs ok 9 - 'container gets Fizz object' isa 'Fizz' ok 10 - container caches the object ok 11 - container gives hashref 1..11 ok 2 - load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.json # Subtest: load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.pl Path::Tiny ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - 'container gets buzz object' isa 'Buzz' ok 7 - container caches the object ok 8 - container gives array of arrayrefs ok 9 - 'container gets Fizz object' isa 'Fizz' ok 10 - container caches the object ok 11 - container gives hashref 1..11 ok 3 - load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.pl Path::Tiny # Subtest: load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.pl ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - 'container gets buzz object' isa 'Buzz' ok 7 - container caches the object ok 8 - container gives array of arrayrefs ok 9 - 'container gets Fizz object' isa 'Fizz' ok 10 - container caches the object ok 11 - container gives hashref 1..11 ok 4 - load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.pl # Subtest: load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.yml Path::Tiny ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - 'container gets buzz object' isa 'Buzz' ok 7 - container caches the object ok 8 - container gives array of arrayrefs ok 9 - 'container gets Fizz object' isa 'Fizz' ok 10 - container caches the object ok 11 - container gives hashref 1..11 ok 5 - load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.yml Path::Tiny # Subtest: load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.yml ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - 'container gets buzz object' isa 'Buzz' ok 7 - container caches the object ok 8 - container gives array of arrayrefs ok 9 - 'container gets Fizz object' isa 'Fizz' ok 10 - container caches the object ok 11 - container gives hashref 1..11 ok 6 - load module from config - /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/t/share/file.yml 1..6 ok t/21_inner.t ........... # Subtest: container in services ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value 1..5 ok 1 - container in services # Subtest: container in file ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value ok 6 - An object of class 'Foo' isa 'Foo' ok 7 - container caches the object ok 8 - 'container injects Bar object' isa 'Bar' ok 9 - fizz takes the same bar as foo ok 10 - container caches Bar object ok 11 - container gives bar text value 1..11 ok 2 - container in file # Subtest: set inside subcontainer ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value 1..5 ok 3 - set inside subcontainer # Subtest: inner container file ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value 1..5 ok 4 - inner container file # Subtest: inner container get() overrides ok 1 - get() with overrides creates a new object ok 2 - get() with overrides does not save the object ok 3 - our override gave our new object a new bar 1..3 ok 5 - inner container get() overrides # Subtest: inner extends ok 1 - An object of class 'Foo' isa 'Foo' ok 2 - container caches the object ok 3 - 'container injects Bar object' isa 'Bar' ok 4 - container caches Bar object ok 5 - container gives bar text value 1..5 ok 6 - inner extends # Subtest: inner get_config ok 1 1..1 ok 7 - inner get_config 1..7 ok t/30_refs.t ............ # Subtest: method with no arguments ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 1 - method with no arguments # Subtest: method with one argument ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 2 - method with one argument # Subtest: method with arrayref of arguments ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 3 - method with arrayref of arguments # Subtest: a different method reference ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 4 - a different method reference # Subtest: path reference ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 1..3 ok 5 - path reference # Subtest: anonymous reference ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 - An object of class 'Foo' isa 'Foo' ok 4 1..4 ok 6 - anonymous reference # Subtest: anonymous extends ok 1 ok 2 - An object of class 'Foo' isa 'Foo' ok 3 - An object of class 'Foo' isa 'Foo' ok 4 1..4 ok 7 - anonymous extends 1..7 ok All tests successful. Files=12, Tests=47, 8 wallclock secs ( 0.12 usr 0.04 sys + 6.84 cusr 0.69 csys = 7.69 CPU) Result: PASS PREACTION/Beam-Wire-1.011.tar.gz make test TEST_VERBOSE=1 -- OK Doug Bell <preaction@cpan.org> Lightweight Dependency Injection Container >>> (cd /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy && tar cvf - Beam-Wire-1.011.ppd blib) | gzip -c >/home/fly2000/var/REPO/P/PR/PREACTION/Beam-Wire-1.011.tar.gz Beam-Wire-1.011.ppd blib/ blib/man3/ blib/man3/Beam::Wire.3 blib/lib/ blib/lib/Beam/ blib/lib/Beam/Wire.pm >>> mv /home/fly2000/var/cpan/build/Beam-Wire-1.011-RSu_Iy/Beam-Wire-1.011.ppd /home/fly2000/var/REPO/P/PR/PREACTION VmSize: 312480 kB Finished 2015-03-02T08:19:07