$perl use Admin_server::Parser; use Admin_server::Parser::Plugin::Feedhandler; #### $prove -lv t/Plugin/FeedHandler.t t/Plugin/FeedHandler.t .. 1..34 ok 1 - use Admin_server::Parser::Plugin::FeedHandler; ok 2 - Admin_server::Parser::Plugin::Feedhandler can be instantiated. ok 3 - Instantiated object is of type Admin_server::Parser::Plugin::Feedhandler. ok 4 - Conforms to canonized plugin interface - does Admin_server::Interface::ParserInterface. ok 5 - Feed handler application correctly identified. ok 6 - tell_instance_info succesfully called. ok 7 - tell_instance_info returns a hash reference. ok 8 - tell_instance_info return hash has a key of 'instance_name'. ok 9 - Instance name correctly extracted from first line of log4x data. ok 10 - Instance name negative test successful. ok 11 - Instance name negative test successful. ok 12 - tell_script_names successfully called. ok 13 - tell_script_names returns a hash. ok 14 - The tell_script_names return hash has a key of start_script. ok 15 - The tell_script_names return hash has a key of stop_script. ok 16 - Start script name correctly extracted from first line of log4x data. ok 17 - Stop script name correctly extracted from first line of log4x data. ok 18 - Start script name negative test successful - (with erroneous data). ok 19 - Stop script name negative test successful - (with erroneous data). ok 20 - Start script name negative test successful - (with undef data). ok 21 - Stop script name negative test successful - (with undef data). ok 22 - tell_status successfully called with a log4x line not having an error. ok 23 - tell_status returns a hash. ok 24 - tell_status correctly diagnoses feed handler as up. ok 25 - tell_status return hash doesn't have the app_down key when app is up. ok 26 - tell_status return hash doesn't have the app_unknown key when app is up. ok 27 - tell_status successfully called with a log4x line having an error. ok 28 - The tell_status correctly diagnoses feed handler as down. ok 29 - tell_status return hash doesn't have the app_up key when app is down. ok 30 - tell_status return hash doesn't have the app_unknown key when app is down. ok 31 - tell_status successfully called with a undef value. ok 32 - The tell_status correctly diagnoses feed handler status as unknown. ok 33 - tell_status return hash doesn't have the app_up key when app is unknown. ok 34 - tell_status return hash doesn't have the app_unknown key when app is unknown. ok All tests successful. Files=1, Tests=34, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.22 cusr 0.02 csys = 0.28 CPU) Result: PASS