[Http-webtest-commits] CVS: HTTP-WebTest/lib/HTTP WebTest.pm,1.5,1.6
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <m_...@us...> - 2002-02-16 00:44:22
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP In directory usw-pr-cvs1:/tmp/cvs-serv24060/lib/HTTP Modified Files: WebTest.pm Log Message: Remove documentation on ::Hooks test parameters from HTTP::WebTest Index: WebTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** WebTest.pm 16 Feb 2002 00:00:46 -0000 1.5 --- WebTest.pm 16 Feb 2002 00:44:14 -0000 1.6 *************** *** 953,991 **** Any number less than C<max_rtime> (if C<max_rtime> is specified). - =head2 on_request - - Value of this test parameter is ignored. However it is evaluted before - L<HTTP::WebTest> does a request to web page so it is useful to do some - initalization before the request. - - =head3 Example - - See example in L<HTTP::WebTest::Cookbook|HTTP::WebTest::Cookbook>. - - =head2 on_response - - This is list parameter which is treated as test result. It is evaluted - when L<HTTP::WebTest> gets a response for the test request. - - It can be useful to define custom tests without writting new plugins - and/or it can be useful to run some code when L<HTTP::WebTest> got - some a response for the test request. - - =head3 Allowed values - - ( YESNO1, COMMENT1 - YESNO2, COMMENT2 - .... - YESNON, COMMENTN ) - - Here C<YESNO>, C<COMMENT> - is a test result. C<YESNO> - is either - C<yes> if test is successful or C<no> if it is not. C<COMMENT> is a - text of comment associated with this test. - - =head3 Example - - See example in L<HTTP::WebTest::Cookbook|HTTP::WebTest::Cookbook>. - - =head2 output_ref --- 953,956 ---- |