Parent Directory | Revision Log | Patch
--- httpd/test/trunk/perl-framework/Apache-Test/t/cookies.t 2004/12/03 19:26:23 109720 +++ httpd/test/trunk/perl-framework/Apache-Test/t/cookies.t 2004/12/03 19:50:48 109721 @@ -1,18 +1,18 @@ -# this test tests how a cookie jar can be passed (needs lwp) - -use strict; -use warnings FATAL => 'all'; - -use Apache::Test; -use Apache::TestRequest; -use Apache::TestUtil; - -plan tests => 2, need [qw(CGI CGI::Cookie)], - need_module('mod_cgi.c'), need_lwp; - -Apache::TestRequest::user_agent( cookie_jar => {} ); - -my $url = '/cgi-bin/cookies.pl'; - -ok t_cmp GET_BODY($url), 'new', "new cookie"; -ok t_cmp GET_BODY($url), 'exists', "existing cookie"; +# this test tests how a cookie jar can be passed (needs lwp) + +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 2, need [qw(CGI CGI::Cookie)], + need_module('mod_cgi.c'), need_lwp; + +Apache::TestRequest::user_agent( cookie_jar => {} ); + +my $url = '/cgi-bin/cookies.pl'; + +ok t_cmp GET_BODY($url), 'new', "new cookie"; +ok t_cmp GET_BODY($url), 'exists', "existing cookie";
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |