Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\cpanrun-5.8\build\5-8-0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t\010_IOC_test.t t\020_IOC_Container_test.t t\021_IOC_Container_MethodResolution_test.t t\022_IOC_Container_SubContainers_test.t t\023_IOC_Container_Visitors_test.t t\024_IOC_Container_Proxy_test.t t\025_IOC_Container_cyclical_test.t t\030_IOC_Service_test.t t\031_IOC_Service_ConstructorInjection_test.t t\032_IOC_Service_SetterInjection_test.t t\033_IOC_Service_Prototype_test.t t\034_IOC_Service_Prototype_ConstructorInjection_test.t t\035_IOC_Service_Prototype_SetterInjection_test.t t\036_IOC_Service_Literal_test.t t\040_IOC_Registry_test.t t\041_IOC_Registry_aliasing_test.t t\050_IOC_Proxy_test.t t\051_IOC_Proxy_edge_case_test.t t\055_IOC_Proxy_Interfaces_test.t t\060_IOC_Config_XML_test.t t\061_IOC_Config_XML_edge_tests.t t\062_IOC_Config_XML_error_test.t t\063_IOC_Config_XML_include_test.t t\070_IOC_Parameterized.t t\071_IOC_Parameterized_w_Registry.t t\100_Test_IOC.t t\pod.t t\pod_coverage.t t\010_IOC_test...........................................1..20 ok 1 - use IOC; ok 2 - use IOC::Exceptions; ok 3 - use IOC::Interfaces; ok 4 - use IOC::Registry; ok 5 - use IOC::Container; ok 6 - use IOC::Container::MethodResolution; ok 7 - use IOC::Service; ok 8 - use IOC::Service::ConstructorInjection; ok 9 - use IOC::Service::SetterInjection; ok 10 - use IOC::Service::Literal; ok 11 - use IOC::Service::Prototype; ok 12 - use IOC::Service::Prototype::ConstructorInjection; ok 13 - use IOC::Service::Prototype::SetterInjection; ok 14 - use IOC::Proxy; ok 15 - use IOC::Proxy::Interfaces; ok 16 - use IOC::Visitor::ServiceLocator; ok 17 - use IOC::Visitor::SearchForService; ok 18 - use IOC::Visitor::SearchForContainer; ok 19 - ... our simple example ran successfully ok 20 - ... our complex example ran successfully ok t\020_IOC_Container_test.................................1..32 ok 1 - use IOC::Container; ok 2 - use IOC::Service; ok 3 - IOC::Container->can('new') ok 4 - The object isa IOC::Container ok 5 - IOC::Container->can('name') ok 6 - IOC::Container->can('register') ok 7 - IOC::Container->can('get') ok 8 - IOC::Container->can('find') ok 9 - ... our container is named default ok 10 - ... cannot register without a service object ok 11 - ... cannot register without a service object ok 12 - ... cannot register without a service object ok 13 - ... cannot register without a service object ok 14 - The object isa IOC::Service ok 15 - ... service registered successfully ok 16 - ... cannot register duplicate named service ok 17 - ... cannot get without a service without a name ok 18 - ... cannot get without a service that does not exist ok 19 - ... got the service successfully ok 20 - ... we got a fetched service ok 21 - ... and it is the service instance we expected ok 22 - ... got the service successfully ok 23 - ... we got a fetched service ok 24 - ... and it is the service instance we expected ok 25 - ... these are the services we have ok 26 - ... got the error we expected ok 27 - ... got the error we expected ok 28 - IOC::Container->can('unregister') ok 29 - ... got the error we expected ok 30 - ... got the error we expected ok 31 - ... removed the logger successfully ok 32 - ... there are no more services installed ok t\021_IOC_Container_MethodResolution_test................1..17 ok 1 - use IOC::Container::MethodResolution; ok 2 - use IOC::Service; ok 3 - IOC::Container::MethodResolution->can('new') ok 4 - The object isa IOC::Container::MethodResolution ok 5 - The object isa IOC::Container ok 6 - IOC::Container::MethodResolution->can('register') ok 7 - IOC::Container::MethodResolution->can('name') ok 8 - ... the name is as we expect it to be ok 9 - ... the method resolved correctly ok 10 - ... and the value is as we expected ok 11 - ... the service must exists or we get an exception ok 12 - ... the method resolved correctly ok 13 - ... and the value is as we expected ok 14 - The object isa IOC::Container::MethodResolution ok 15 - The object isa IOC::Container ok 16 - ... the method resolved correctly ok 17 - ... and the value is as we expected ok t\022_IOC_Container_SubContainers_test...................1..37 ok 1 - use IOC::Container; ok 2 - use IOC::Service; ok 3 - IOC::Container->can('new') ok 4 - The object isa IOC::Container ok 5 - IOC::Container->can('setParentContainer') ok 6 - IOC::Container->can('getParentContainer') ok 7 - IOC::Container->can('isRootContainer') ok 8 - IOC::Container->can('addSubContainer') ok 9 - IOC::Container->can('addSubContainers') ok 10 - IOC::Container->can('hasSubContainers') ok 11 - IOC::Container->can('getSubContainerList') ok 12 - IOC::Container->can('getSubContainer') ok 13 - IOC::Container->can('getAllSubContainers') ok 14 - The object isa IOC::Container ok 15 - The object isa IOC::Container ok 16 - The object isa IOC::Container ok 17 - The object isa IOC::Container ok 18 - ... we do not have any subcontainers ok 19 - ... we do have subcontainers now ok 20 - ... this is our first sub container ok 21 - ... this is our second sub container ok 22 - ... this is our third sub container ok 23 - ... this is our fourth sub container ok 24 - ... we have the same sub_containers ok 25 - ... we have the same sub_container names ok 26 - ... got the error we expected ok 27 - ... got the error we expected ok 28 - ... got the error we expected ok 29 - ... got the error we expected ok 30 - ... got the error we expected ok 31 - ... got the error we expected ok 32 - ... got the error we expected ok 33 - ... got the error we expected ok 34 - ... got the error we expected ok 35 - ... got the error we expected ok 36 - ... got the error we expected ok 37 - ... got the error we expected ok t\023_IOC_Container_Visitors_test........................1..53 ok 1 - use IOC::Container; ok 2 - use IOC::Service; ok 3 - use IOC::Visitor::ServiceLocator; ok 4 - use IOC::Visitor::SearchForService; ok 5 - use IOC::Visitor::SearchForContainer; ok 6 - IOC::Container->can('new') ok 7 - IOC::Visitor::ServiceLocator->can('new') ok 8 - The object isa IOC::Container ok 9 - IOC::Container->can('accept') ok 10 - IOC::Container->can('find') ok 11 - The object isa IOC::Visitor::ServiceLocator ok 12 - ... it worked ok 13 - ... we got a service ok 14 - ... got our expected service ok 15 - The object isa IOC::Visitor::ServiceLocator ok 16 - ... it worked ok 17 - ... we got a service ok 18 - ... got our expected service ok 19 - The object isa IOC::Visitor::ServiceLocator ok 20 - ... it worked ok 21 - ... we got a service ok 22 - ... got our expected service ok 23 - The object isa IOC::Visitor::ServiceLocator ok 24 - ... it worked ok 25 - ... we got a service ok 26 - ... got our expected service ok 27 - The object isa IOC::Visitor::ServiceLocator ok 28 - ... got the error we expected ok 29 - The object isa IOC::Visitor::ServiceLocator ok 30 - ... got the error we expected ok 31 - ... got the error we expected ok 32 - ... got the error we expected ok 33 - ... got the error we expected ok 34 - ... got the error we expected ok 35 - ... got the error we expected ok 36 - ... got the error we expected ok 37 - The object isa IOC::Visitor::ServiceLocator ok 38 - ... got the error we expected ok 39 - ... got the error we expected ok 40 - ... got the error we expected ok 41 - ... got the error we expected ok 42 - ... got the error we expected ok 43 - The object isa IOC::Visitor::SearchForService ok 44 - ... got the error we expected ok 45 - ... got the error we expected ok 46 - ... got the error we expected ok 47 - ... got the error we expected ok 48 - ... got the error we expected ok 49 - The object isa IOC::Visitor::SearchForContainer ok 50 - ... got the error we expected ok 51 - ... got the error we expected ok 52 - ... got the error we expected ok 53 - ... got the error we expected ok t\024_IOC_Container_Proxy_test...........................1..27 ok 1 - use IOC::Container; ok 2 - use IOC::Service; ok 3 - use IOC::Proxy; ok 4 - The object isa IOC::Container ok 5 - ... registered the first service ok ok 6 - The object isa Test::Proxy::One ok 7 - ... we are not proxied yet ok 8 - ... got the result we expected ok 9 - The object isa IOC::Proxy ok 10 - ... added proxy to the first service ok ok 11 - The object isa Test::Proxy::One::_::Proxy ok 12 - The object isa Test::Proxy::One ok 13 - ... got the result we expected ok 14 - ... got the method calls we expected ok 15 - ... we are not being double proxied ok 16 - The object isa IOC::Proxy ok 17 - ... registered the second service ok ok 18 - The object isa Test::Proxy::Two::_::Proxy ok 19 - The object isa Test::Proxy::Two ok 20 - ... got the result we expected ok 21 - ... got the method calls we expected ok 22 - ... got the error we expected ok 23 - ... got the error we expected ok 24 - ... got the error we expected ok 25 - ... got the error we expected ok 26 - ... got the error we expected ok 27 - ... got the error we expected ok t\025_IOC_Container_cyclical_test........................1..65 ok 1 - use IOC::Container; ok 2 - use IOC::Service::SetterInjection; ok 3 - ... we got our A object ok ok 4 - The object isa A ok 5 - The object isa B ok 6 - ... and it is actually a B object too ok 7 - ... make sure our B object works as expected ok 8 - The object isa A ok 9 - ... but this it is actually a IOC::Service::Deferred object ok 10 - ... this should inflate our deferred A object ok 11 - ... now this should be an A object ok 12 - ... and our A instances are both the same since they are singletons ok 13 - ... we got our C object ok ok 14 - The object isa C ok 15 - The object isa D ok 16 - ... and it is actually a D object too ok 17 - The object isa E ok 18 - ... and it is actually a E object too ok 19 - The object isa F ok 20 - ... and it is actually a F object too ok 21 - The object isa C ok 22 - ... however this is actually an IOC::Service::Deferred object ok 23 - The object isa D ok 24 - ... but now we have been infalted into a proper C object ok 25 - ... we got our G object ok ok 26 - The object isa G ok 27 - The object isa H ok 28 - ... and it is actually a H object too ok 29 - The object isa I ok 30 - ... and it is actually a I object too ok 31 - The object isa J ok 32 - ... and it is actually a J object too ok 33 - The object isa G ok 34 - ... and it is actually an IOC::Service::Deferred object ok 35 - The object isa H ok 36 - ... and it is actually the inflated G object now ok 37 - The object isa K ok 38 - ... and it is actually a K object too ok 39 - ... and this is our L string ok 40 - ... we got a deferred M ok 41 - ... and we got the right output ok 42 - ... we got our M object ok ok 43 - The object isa M ok 44 - The object isa N ok 45 - ... this an IOC::Service::Deferred instance ok 46 - ... make sure our N object works as expected ok 47 - ... this now an N instance ok 48 - The object isa M ok 49 - ... but this it is actually an M object since it was resolved earlier ok 50 - ... and our M instances are both the same since they are singletons ok 51 - ... got the error we expected ok 52 - ... got the error we expected ok 53 - ... got the error we expected ok 54 - ... we got our A object ok ok 55 - The object isa A ok 56 - The object isa A ok 57 - ... but this it is actually a IOC::Service::Deferred object ok 58 - ... we dont have this method ok 59 - ... now this it is actually a A object ok 60 - ... we got our A object ok ok 61 - The object isa A ok 62 - The object isa A ok 63 - ... but this it is actually a IOC::Service::Deferred object ok 64 - ... got the error we expected ok 65 - ... now this it is actually a A object ok t\030_IOC_Service_test...................................1..22 ok 1 - use IOC::Service; ok 2 - use IOC::Container; ok 3 - IOC::Service->can('new') ok 4 - ... a service must be created with a name ok 5 - ... a service must be created with a CODE block ok 6 - ... a service must be created with a CODE block ok 7 - ... a service must be created with a CODE block ok 8 - The object isa IOC::Service ok 9 - IOC::Service->can('setContainer') ok 10 - IOC::Service->can('instance') ok 11 - ... cannot create an instance without a container ok 12 - ... must have a container object to set the container ok 13 - ... must have a container object to set the container ok 14 - ... must have a container object to set the container ok 15 - ... must have a container object to set the container ok 16 - The object isa IOC::Container ok 17 - ... set container successfully ok 18 - The object isa IOC::Container ok 19 - The object isa Logger ok 20 - The object isa Logger ok 21 - ... each logger instance is the same ok 22 - ... got the correct initilization error ok t\031_IOC_Service_ConstructorInjection_test..............1..39 ok 1 - use IOC::Service::ConstructorInjection; ok 2 - use IOC::Container; ok 3 - IOC::Service::ConstructorInjection->can('new') ok 4 - The object isa IOC::Service::ConstructorInjection ok 5 - The object isa IOC::Service ok 6 - The object isa IOC::Service::ConstructorInjection ok 7 - The object isa IOC::Service ok 8 - The object isa IOC::Container ok 9 - IOC::Service::ConstructorInjection->can('instance') ok 10 - The object isa Logger ok 11 - The object isa File ok 12 - The object isa IOC::Container ok 13 - The object isa IOC::Service::ConstructorInjection ok 14 - The object isa IOC::Service ok 15 - The object isa IOC::Service::ConstructorInjection ok 16 - The object isa IOC::Service ok 17 - The object isa IOC::Container ok 18 - The object isa Logger ok 19 - The object isa File ok 20 - The object isa IOC::Container ok 21 - The object isa IOC::Service::ConstructorInjection ok 22 - The object isa IOC::Service ok 23 - The object isa IOC::Service::ConstructorInjection ok 24 - The object isa IOC::Service ok 25 - The object isa IOC::Container ok 26 - The object isa Logger ok 27 - The object isa File ok 28 - The object isa IOC::Container ok 29 - The object isa IOC::Service::ConstructorInjection ok 30 - The object isa IOC::Service ok 31 - ... and the service loads correctly ok 32 - The object isa IOC::Container::MethodResolution ok 33 - ... cannot create a constructor injection without a component class ok 34 - ... cannot create a constructor injection without a component class constructor ok 35 - ... cannot create a constructor injection without a parameter list ok 36 - ... cannot create a constructor injection without an array ref as parameter list ok 37 - ... cannot create a constructor injection without an array ref as parameter list ok 38 - ... cannot create a constructor injection without real class ok 39 - ... cannot create a constructor injection without a proper class constructor name ok t\032_IOC_Service_SetterInjection_test...................1..37 ok 1 - use IOC::Service::SetterInjection; ok 2 - use IOC::Container; ok 3 - IOC::Service::SetterInjection->can('new') ok 4 - The object isa IOC::Container ok 5 - The object isa IOC::Service::SetterInjection ok 6 - The object isa IOC::Service ok 7 - IOC::Service::SetterInjection->can('instance') ok 8 - ... got the right log file handle ok 9 - ... got the right log file format ok 10 - The object isa Logger ok 11 - The object isa IOC::Container ok 12 - The object isa IOC::Service::SetterInjection ok 13 - The object isa IOC::Service ok 14 - IOC::Service::SetterInjection->can('instance') ok 15 - ... got the right log file handle ok 16 - ... got the right log file format ok 17 - The object isa Logger ok 18 - The object isa IOC::Container ok 19 - The object isa IOC::Service::SetterInjection ok 20 - The object isa IOC::Service ok 21 - IOC::Service::SetterInjection->can('instance') ok 22 - ... got the right log file handle ok 23 - ... got the right log file format ok 24 - The object isa Logger ok 25 - The object isa IOC::Container ok 26 - The object isa IOC::Service::SetterInjection ok 27 - The object isa IOC::Service ok 28 - ... and the service loads correctly ok 29 - The object isa IOC::Container::MethodResolution ok 30 - ... cannot create a setter injection without a component class ok 31 - ... cannot create a setter injection without a component class constructor ok 32 - ... cannot create a setter injection without a setter parameter list ok 33 - ... cannot create a setter injection without an array ref as setter parameter list ok 34 - ... cannot create a setter injection without an array ref as setter parameter list ok 35 - ... cannot create a setter injection with a bad object ok 36 - ... cannot create a setter injection with a bad constructor ok 37 - ... cannot create a setter injection with a bad setter methods ok t\033_IOC_Service_Prototype_test.........................1..16 ok 1 - use IOC::Service::Prototype; ok 2 - use IOC::Container; ok 3 - IOC::Service::Prototype->can('new') ok 4 - The object isa IOC::Service::Prototype ok 5 - The object isa IOC::Service ok 6 - IOC::Service::Prototype->can('instance') ok 7 - ... cannot create an instance without a container ok 8 - The object isa IOC::Container ok 9 - ... set container successfully ok 10 - The object isa IOC::Container ok 11 - The object isa Logger ok 12 - The object isa IOC::Container ok 13 - The object isa Logger ok 14 - ... each logger instance is the same ok 15 - ... one logger has been destoryed ok 16 - ... two loggers were destoryed ok t\034_IOC_Service_Prototype_ConstructorInjection_test....1..19 ok 1 - use IOC::Service::Prototype::ConstructorInjection; ok 2 - use IOC::Container; ok 3 - IOC::Service::Prototype::ConstructorInjection->can('new') ok 4 - The object isa IOC::Service::Prototype::ConstructorInjection ok 5 - The object isa IOC::Service::ConstructorInjection ok 6 - The object isa IOC::Service::Prototype ok 7 - The object isa IOC::Service ok 8 - The object isa IOC::Service::Prototype::ConstructorInjection ok 9 - The object isa IOC::Service::ConstructorInjection ok 10 - The object isa IOC::Service::Prototype ok 11 - The object isa IOC::Service ok 12 - The object isa IOC::Container ok 13 - IOC::Service::Prototype::ConstructorInjection->can('instance') ok 14 - The object isa Logger ok 15 - The object isa File ok 16 - The object isa Logger ok 17 - The object isa File ok 18 - ... these are prototypes, not constructors ok 19 - ... these are prototypes, not constructors ok t\035_IOC_Service_Prototype_SetterInjection_test.........1..16 ok 1 - use IOC::Service::Prototype::SetterInjection; ok 2 - use IOC::Container; ok 3 - IOC::Service::Prototype::SetterInjection->can('new') ok 4 - The object isa IOC::Container ok 5 - The object isa IOC::Service::Prototype::SetterInjection ok 6 - The object isa IOC::Service::SetterInjection ok 7 - The object isa IOC::Service::Prototype ok 8 - The object isa IOC::Service ok 9 - IOC::Service::Prototype::SetterInjection->can('instance') ok 10 - ... got the right log file handle ok 11 - ... got the right log file format ok 12 - The object isa Logger ok 13 - ... got the right log file handle ok 14 - ... got the right log file format ok 15 - The object isa Logger ok 16 - ... these are not the same instances ok t\036_IOC_Service_Literal_test...........................1..10 ok 1 - use IOC::Service::Literal; ok 2 - IOC::Service::Literal->can('new') ok 3 - The object isa IOC::Service::Literal ok 4 - The object isa IOC::Service ok 5 - ... got the name back ok 6 - ... got the instance value back ok 7 - ... this is a no-op ok 8 - ... this is a no-op ok 9 - ... got the error we expected ok 10 - ... got the error we expected ok t\040_IOC_Registry_test..................................1..61 ok 1 - use IOC::Registry; ok 2 - use IOC::Service; ok 3 - use IOC::Container; ok 4 - IOC::Registry->can('new') ok 5 - The object isa IOC::Registry ok 6 - The object isa Class::StrongSingleton ok 7 - ... this really is a singleton ok 8 - The object isa IOC::Container ok 9 - The object isa IOC::Container ok 10 - The object isa IOC::Container ok 11 - ... created our hierarchy successfully ok 12 - ... got the right container ok 13 - ... got the right container ok 14 - ... got the right container ok 15 - ... got the list of containers we expected ok 16 - ... we found the service ok 17 - ... and the service is what we expected ok 18 - ... we did not find the service ok 19 - ... we found the container ok 20 - The object isa IOC::Container ok 21 - ... and it is the container we expected ok 22 - ... we did not find the container ok 23 - ... we found the service ok 24 - ... and the service is what we expected ok 25 - ... we found the container ok 26 - The object isa IOC::Container ok 27 - ... and it is the container we expected ok 28 - ... we have this container ok 29 - ... unregistered the container successfully ok 30 - ... got the unregistered container ok 31 - The object isa IOC::Container ok 32 - ... and it is test2 ok 33 - ... we no longer have this container ok 34 - ... got an error ok 35 - ... got the list of containers we expected ok 36 - ... we have this container ok 37 - ... unregistered the container successfully ok 38 - ... got the unregistered container ok 39 - The object isa IOC::Container ok 40 - ... and it is test3 ok 41 - ... we no longer have this container ok 42 - ... got an error ok 43 - ... got the list of containers we expected ok 44 - ... got an error ok 45 - ... got an error ok 46 - ... got an error ok 47 - ... got an error ok 48 - ... got an error ok 49 - ... got an error ok 50 - ... got an error ok 51 - ... got an error ok 52 - ... got an error ok 53 - ... got an error ok 54 - ... got an error ok 55 - ... got an error ok 56 - ... got an error ok 57 - ... got an error ok 58 - ... got an error ok 59 - ... got an error ok 60 - ... got an error ok 61 - ... got an error ok t\041_IOC_Registry_aliasing_test.........................1..15 ok 1 - use IOC::Registry; ok 2 - use IOC::Service; ok 3 - use IOC::Container; ok 4 - IOC::Registry->can('new') ok 5 - The object isa IOC::Registry ok 6 - The object isa IOC::Container ok 7 - ... got the service ok ok 8 - ... got the service ok 9 - The object isa My::Test::Service ok 10 - ... got the service ok ok 11 - ... got the service ok 12 - The object isa My::Test::Service ok 13 - ... these are the same objects ok 14 - ... got the right error ok 15 - ... got the right error ok t\050_IOC_Proxy_test.....................................1..67 ok 1 - use IOC::Proxy; ok 2 - The object isa Base::Three ok 3 - The object isa IOC::Proxy ok 4 - The object isa Base::Three::_::Proxy ok 5 - The object isa Base::Three ok 6 - The object isa Base::Two ok 7 - The object isa Base::One ok 8 - The object isa Base ok 9 - ... these are the same instances deep down ok 10 - The object isa Base::Three::_::Proxy ok 11 - ... got what we expected ok 12 - ... our proxy is a Base::Three ok 13 - ... our proxy is a Base::Two ok 14 - ... our proxy is a Base::One ok 15 - ... our proxy is a Base ok 16 - Base::Three::_::Proxy->can('new') ok 17 - Base::Three::_::Proxy->can('base_two_test') ok 18 - Base::Three::_::Proxy->can('base_two') ok 19 - Base::Three::_::Proxy->can('test') ok 20 - Base::Three::_::Proxy->can('base_one_test') ok 21 - Base::Three::_::Proxy->can('base_one') ok 22 - Base::Three::_::Proxy->can('base') ok 23 - ... our proxy responded correctly to "can" ok 24 - ... our proxy responded correctly to "can" ok 25 - ... our proxy responded correctly to "can" ok 26 - ... our proxy responded correctly to "can" ok 27 - ... our proxy responded correctly to "can" ok 28 - ... our proxy responded correctly to "can" ok 29 - ... our proxy responded correctly to "can" ok 30 - ... nothing, as we expected ok 31 - ... got what we expected ok 32 - ... got what we expected ok 33 - ... got what we expected ok 34 - ... got what we expected ok 35 - ... got what we expected ok 36 - ... got the caller info we expected ok 37 - ... got all that we expected ok 38 - ... they are not the same instance ok 39 - The object isa Base::Three::_::Proxy ok 40 - The object isa Base::Three ok 41 - The object isa Base::Two ok 42 - The object isa Base::One ok 43 - The object isa Base ok 44 - ... our proxy is a Base::Three ok 45 - ... our proxy is a Base::Two ok 46 - ... our proxy is a Base::One ok 47 - ... our proxy is a Base ok 48 - Base::Three::_::Proxy->can('new') ok 49 - Base::Three::_::Proxy->can('base_two_test') ok 50 - Base::Three::_::Proxy->can('base_two') ok 51 - Base::Three::_::Proxy->can('test') ok 52 - Base::Three::_::Proxy->can('base_one_test') ok 53 - Base::Three::_::Proxy->can('base_one') ok 54 - Base::Three::_::Proxy->can('base') ok 55 - ... got what we expected ok 56 - ... got what we expected ok 57 - ... got what we expected ok 58 - ... got what we expected ok 59 - ... got what we expected ok 60 - ... got the caller info we expected ok 61 - ... our proxy responded correctly to "can" ok 62 - ... our proxy responded correctly to "can" ok 63 - ... our proxy responded correctly to "can" ok 64 - ... our proxy responded correctly to "can" ok 65 - ... our proxy responded correctly to "can" ok 66 - ... our proxy responded correctly to "can" ok 67 - ... our proxy responded correctly to "can" ok t\051_IOC_Proxy_edge_case_test...........................1..30 ok 1 - use IOC::Proxy; ok 2 - The object isa Base::Autoload ok 3 - The object isa IOC::Proxy ok 4 - The object isa Base::Autoload::_::Proxy ok 5 - The object isa Base::Autoload ok 6 - ... got what we expected ok 7 - ... got the method calls we exected ok 8 - The object isa IOC::Proxy ok 9 - The object isa Base::Destroy ok 10 - The object isa Base::Destroy::_::Proxy ok 11 - The object isa Base::Destroy ok 12 - ... got no method calls as we exected ok 13 - ... got no method calls as we exected ok 14 - ... got the method calls we exected ok 15 - The object isa Base::Overload ok 16 - The object isa IOC::Proxy ok 17 - The object isa Base::Overload::_::Proxy ok 18 - The object isa Base::Overload ok 19 - ... got the thing we expected ok 20 - ... got the method calls we exected ok 21 - ... we know at least one method has been registered ok 22 - The object isa IOC::Proxy ok 23 - The object isa Base::Nothing ok 24 - The object isa Base::Nothing::_::Proxy ok 25 - The object isa Base::Nothing ok 26 - ... got the stuff we expected ok 27 - ... got the error we expected ok 28 - ... got the error we expected ok 29 - ... got the error we expected ok 30 - ... got the error we expected ok t\055_IOC_Proxy_Interfaces_test..........................1..17 ok 1 - use IOC::Proxy::Interfaces; ok 2 - The object isa KeyableImpl ok 3 - ... keyable is not yet IKeyable ok 4 - ... we can get to the misc method ok 5 - The object isa IOC::Proxy::Interfaces ok 6 - The object isa IOC::Proxy ok 7 - The object isa KeyableImpl::_::Proxy ok 8 - The object isa KeyableImpl ok 9 - The object isa IKeyable ok 10 - ... we can no longer get to the misc method ok 11 - ... but we can get to the method which the interface allows ok 12 - ... got the right value too ok 13 - ... but we can get to the method which the interface allows ok 14 - ... again, we got the right values ok 15 - ... we get an error ok 16 - ... there are not method so we get an error ok 17 - ... we get an error ok t\060_IOC_Config_XML_test................................1..39 ok 1 - use IOC::Config::XML; ok 2 - IOC::Config::XML->can('new') ok 3 - The object isa IOC::Config::XML ok 4 - IOC::Config::XML->can('read') ok 5 - The object isa IOC::Config::XML ok 6 - ... we read the conf okay ok 7 - The object isa IOC::Registry ok 8 - ... got the list of registered containers ok 9 - The object isa IOC::Container ok 10 - ... got the right name ok 11 - ... the right sub container list ok 12 - The object isa IOC::Container ok 13 - ... got the right name ok 14 - ... got the right service list ok 15 - ... got the right value ok 16 - ... got the right value # Failed test (t\060_IOC_Config_XML_test.t at line 128) not ok 17 - ... got the right value # got: '' # expected: '****' ok 18 - The object isa My::DBI ok 19 - ... the right service list ok 20 - ... got the right logger table IOC::ServiceNotFound : Unknown Service '' |--[ IOC::Container::get called in C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\IOC\blib\lib/IOC/Service/SetterInjection.pm line 68 ] |--[ IOC::Service::SetterInjection::__ANON__ called in C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\IOC\blib\lib/IOC/Service.pm line 60 ] |--[ IOC::Service::instance called in C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\IOC\blib\lib/IOC/Container.pm line 189 ] |--[ IOC::Container::get called in t\060_IOC_Config_XML_test.t line 140 ] # Looks like you planned 39 tests but only ran 20. # Looks like your test died just after 20. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 17, 21-39 Failed 20/39 tests, 48.72% okay t\061_IOC_Config_XML_edge_tests..........................1..39 ok 1 - use IOC::Config::XML; ok 2 - The object isa IOC::Config::XML ok 3 - ... we read the conf okay ok 4 - The object isa IOC::Registry ok 5 - ... we got nothing ok 6 - The object isa IOC::Config::XML ok 7 - ... we read the conf okay ok 8 - The object isa IOC::Registry ok 9 - ... we got our nuttin container ok 10 - The object isa IOC::Container ok 11 - ... we got nuttin in our nuttin container ok 12 - The object isa IOC::Config::XML ok 13 - ... we read the conf okay ok 14 - The object isa IOC::Registry ok 15 - The object isa IOC::Container ok 16 - ... got the right name ok 17 - The object isa My::Test1 ok 18 - ... and if I get it again, it is the same one ok 19 - The object isa My::Test1 ok 20 - ... and if I get it again, it is not the same one ok 21 - The object isa My::Test2 ok 22 - ... and if I get it again, it is the same one ok 23 - The object isa My::Test2 ok 24 - ... and if I get it again, it is not the same one ok 25 - The object isa IOC::Config::XML ok 26 - ... we read the conf okay ok 27 - The object isa IOC::Registry ok 28 - The object isa IOC::Container ok 29 - The object isa My::Test::Constructor ok 30 - The object isa IOC::Config::XML ok 31 - ... we read the conf okay ok 32 - The object isa IOC::Registry ok 33 - The object isa IOC::Container ok 34 - The object isa My::Test::Setter ok 35 - The object isa IOC::Config::XML ok 36 - ... we read the conf okay ok 37 - The object isa IOC::Registry ok 38 - The object isa IOC::Container ok 39 - ... got the right service ok t\062_IOC_Config_XML_error_test..........................1..24 ok 1 - use IOC::Config::XML; ok 2 - The object isa IOC::Config::XML ok 3 - ... got the error we expected ok 4 - ... got the error we expected ok 5 - ... got the error we expected ok 6 - ... got the error we expected ok 7 - ... got the error we expected ok 8 - ... got the error we expected ok 9 - ... got the error we expected ok 10 - ... got the error we expected ok 11 - ... got the error we expected # Failed test (t\062_IOC_Config_XML_error_test.t at line 87) # expecting: IOC::OperationFailed not ok 12 - ... got the error we expected # found: IOC::ConfigurationError : No sub in Service # |--[ IOC::Config::XML::SAX::Handler::__makeService called in C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\IOC\blib\lib/IOC/Config/XML/SAX/Handler.pm line 213 ] # |--[ IOC::Config::XML::SAX::Handler::_finishService called in C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\IOC\blib\lib/IOC/Config/XML/SAX/Handler.pm line 66 ] # |--[ IOC::Config::XML::SAX::Handler::end_element called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 262 ] # |--[ XML::SAX::PurePerl::handler_method called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 229 ] # |--[ XML::SAX::PurePerl::dochandler_method called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 395 ] # |--[ XML::SAX::PurePerl::element called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 443 ] # |--[ XML::SAX::PurePerl::content called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 385 ] # |--[ XML::SAX::PurePerl::element called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 443 ] # |--[ XML::SAX::PurePerl::content called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 385 ] # |--[ XML::SAX::PurePerl::element called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 289 ] # |--[ XML::SAX::PurePerl::document called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 129 ] # |--[ XML::SAX::PurePerl::(eval) called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 118 ] # |--[ XML::SAX::PurePerl::_parse called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 104 ] # |--[ XML::SAX::PurePerl::parse called in C:/cpanrun-5.8/build/5-8-0/site/lib/XML/SAX/PurePerl.pm line 186 ] # |--[ XML::SAX::PurePerl::parse_string called in C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\IOC\blib\lib/IOC/Config/XML.pm line 34 ] # |--[ IOC::Config::XML::read called in t\062_IOC_Config_XML_error_test.t line 81 ] # |--[ Test::Exception::throws_ok called in t\062_IOC_Config_XML_error_test.t line 87 ] ok 13 - ... got the error we expected # Failed test (t\062_IOC_Config_XML_error_test.t at line 109) # expecting: IOC::ConfigurationError # found: normal exit not ok 14 - ... got the error we expected # Failed test (t\062_IOC_Config_XML_error_test.t at line 120) # expecting: IOC::ConfigurationError # found: normal exit not ok 15 - ... got the error we expected ok 16 - ... got the error we expected ok 17 - ... got the error we expected # Failed test (t\062_IOC_Config_XML_error_test.t at line 162) # expecting: IOC::ConfigurationError # found: normal exit not ok 18 - ... got the error we expected ok 19 - ... got the error we expected ok 20 - ... got the error we expected ok 21 - ... got the error we expected ok 22 - ... got the error we expected ok 23 - ... got the error we expected ok 24 - ... got the error we expected # Looks like you failed 4 tests of 24. dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 12, 14-15, 18 Failed 4/24 tests, 83.33% okay t\063_IOC_Config_XML_include_test........................1..6 ok 1 - use IOC::Config::XML; ok 2 - The object isa IOC::Config::XML ok 3 - The object isa IOC::Registry ok 4 - ... got the container list ok 5 - The object isa IOC::Container ok 6 - ... got the right name ok t\070_IOC_Parameterized..................................1..11 ok 1 - use IOC; ok 2 - use IOC::Service::Parameterized; ok 3 - ... set container successfully ok 4 - The object isa Localized::Object ok 5 - ... got the right locale (en) ok 6 - The object isa Localized::Object ok 7 - ... got the right locale (fr_ca) ok 8 - The object isa Localized::Object ok 9 - ... got the right locale (en) ok 10 - The object isa Localized::Object ok 11 - ... got the right locale (fr_ca) ok t\071_IOC_Parameterized_w_Registry.......................1..8 ok 1 - use IOC; ok 2 - use IOC::Registry; ok 3 - use IOC::Service::Parameterized; ok 4 - ... set container successfully ok 5 - The object isa Localized::Object ok 6 - ... got the right locale (en) ok 7 - The object isa Localized::Object ok 8 - ... got the right locale (fr_ca) ok t\100_Test_IOC...........................................1..18 ok 1 - use Test::IOC; ok 2 - The container '/moose' exists in the registry ok 3 - ... these are the containers in the reg ok 4 - The services at '/moose' are application, log_file, logger ok 5 - The service '/moose/application' exists in the registry ok 6 - The object isa Application ok 7 - app is same as in container ok 8 - Application->can('logger') ok 9 - Application->can('run') ok 10 - The service '/moose/log_file' exists in the registry ok 11 - log file is same as in container ok 12 - The service '/moose/logger' exists in the registry ok 13 - The object isa FileLogger ok 14 - logger service returned OK ok 15 - FileLogger->can('log_file') ok 16 - '/moose/log_file' is a literal service ok 17 - '/moose/logger' is a prototype service ok 18 - '/moose/application' is a singleton service ok t\pod....................................................1..22 ok 1 - blib\lib\IOC.pm ok 2 - blib\lib\IOC\Container.pm ok 3 - blib\lib\IOC\Exceptions.pm ok 4 - blib\lib\IOC\Interfaces.pm ok 5 - blib\lib\IOC\Proxy.pm ok 6 - blib\lib\IOC\Registry.pm ok 7 - blib\lib\IOC\Service.pm ok 8 - blib\lib\Test\IOC.pm ok 9 - blib\lib\IOC\Config\XML.pm ok 10 - blib\lib\IOC\Container\MethodResolution.pm ok 11 - blib\lib\IOC\Proxy\Interfaces.pm ok 12 - blib\lib\IOC\Service\ConstructorInjection.pm ok 13 - blib\lib\IOC\Service\Literal.pm ok 14 - blib\lib\IOC\Service\Parameterized.pm ok 15 - blib\lib\IOC\Service\Prototype.pm ok 16 - blib\lib\IOC\Service\SetterInjection.pm ok 17 - blib\lib\IOC\Visitor\SearchForContainer.pm ok 18 - blib\lib\IOC\Visitor\SearchForService.pm ok 19 - blib\lib\IOC\Visitor\ServiceLocator.pm ok 20 - blib\lib\IOC\Service\Prototype\ConstructorInjection.pm ok 21 - blib\lib\IOC\Service\Prototype\SetterInjection.pm ok 22 - blib\lib\IOC\Config\XML\SAX\Handler.pm ok t\pod_coverage...........................................1..22 # IOC: no public symbols defined ok 1 - Pod coverage on IOC ok 2 - Pod coverage on IOC::Container # IOC::Exceptions: no public symbols defined ok 3 - Pod coverage on IOC::Exceptions # IOC::Interfaces: no public symbols defined ok 4 - Pod coverage on IOC::Interfaces ok 5 - Pod coverage on IOC::Proxy ok 6 - Pod coverage on IOC::Registry ok 7 - Pod coverage on IOC::Service ok 8 - Pod coverage on Test::IOC ok 9 - Pod coverage on IOC::Config::XML # IOC::Container::MethodResolution: no public symbols defined ok 10 - Pod coverage on IOC::Container::MethodResolution # IOC::Proxy::Interfaces: no public symbols defined ok 11 - Pod coverage on IOC::Proxy::Interfaces ok 12 - Pod coverage on IOC::Service::ConstructorInjection ok 13 - Pod coverage on IOC::Service::Literal ok 14 - Pod coverage on IOC::Service::Parameterized ok 15 - Pod coverage on IOC::Service::Prototype ok 16 - Pod coverage on IOC::Service::SetterInjection ok 17 - Pod coverage on IOC::Visitor::SearchForContainer ok 18 - Pod coverage on IOC::Visitor::SearchForService ok 19 - Pod coverage on IOC::Visitor::ServiceLocator # IOC::Service::Prototype::ConstructorInjection: no public symbols defined ok 20 - Pod coverage on IOC::Service::Prototype::ConstructorInjection # IOC::Service::Prototype::SetterInjection: no public symbols defined ok 21 - Pod coverage on IOC::Service::Prototype::SetterInjection ok 22 - Pod coverage on IOC::Config::XML::SAX::Handler ok Failed 2/28 test scripts, 92.86% okay. 24/789 subtests failed, 96.96% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\060_IOC_Config_XML_test.t 255 65280 39 20 51.28% 17 21-39 t\062_IOC_Config_XML_error_test.t 4 1024 24 4 16.67% 12 14-15 18 NMAKE : fatal error U1077: 'C:\cpanrun-5.8\build\5-8-0\bin\perl.exe' : return code '0xff' Stop.