Query: apache::testhandler
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Apache::TestHandler(3pm) User Contributed Perl Documentation Apache::TestHandler(3pm)NAMEApache::TestHandler - a few response handlers and helpersSYNOPSISpackage My::Test; use Apache::TestHandler (); sub handler { my ($r) = @_; my $result = do_my_test; Apache::TestHandler::ok1 $r, $result; } sub handler2 { my ($r) = @_; my $result = do_my_test; Apache::TestHandler::ok $r, $result; }DESCRIPTION"Apache::TestHandler" provides 2 very simple response handler.FUNCTIONSok $r, $boolean The handler simply prints out "ok" or "not ok" depending on the optional $boolean parameter. If $boolean is omitted "true" is assumed. ok1 $r, $boolean This handler implements a simple response-only test. It can be used on its own to check if for a certain URI the response phase is reached. Or it can be called like a normal function to print out the test result. The client side is automatically created as described in <http://perl.apache.org/docs/general/testing/testing.html#Developing_Response_only_Part_of_a_Test>. $boolean is optional. If omitted "true" is assumed. same_interp_counter same_interp_fixup TODOSEE ALSOThe Apache-Test tutorial: <http://perl.apache.org/docs/general/testing/testing.html>. Apache::Test.AUTHORDoug MacEachern, Geoffrey Young, Stas Bekman, Torsten Foertsch and others. Questions can be asked at the test-dev <at> httpd.apache.org list For more information see: http://httpd.apache.org/test/. perl v5.14.2 2011-04-19 Apache::TestHandler(3pm)
Related Man Pages |
---|
apache::testmb(3) - mojave |
apache::testhandler(3) - osx |
apache::testrunphp(3) - suse |
apache::qpsmtpd(3pm) - debian |
apache::testrunphp(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
to execute the command swlist |
moving apache part 2 |
Apache 2.2 problem |
Apache 2.2 on Ubuntu 8.10 |
Help needed to install Apache Tomcat |