httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq-2/glue/perl/t/apreq cookie.t request.t
Date Fri, 11 Jun 2004 17:43:07 GMT
joes        2004/06/11 10:43:07

  Modified:    env/t    cgi.t cookie.t request.t
               glue/perl/t/apreq cookie.t request.t
  Log:
  Geoff's patch to skip LWP-dependent tests when it's unavailable.
  
  Revision  Changes    Path
  1.3       +3 -2      httpd-apreq-2/env/t/cgi.t
  
  Index: cgi.t
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/env/t/cgi.t,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- cgi.t	24 Oct 2003 05:25:11 -0000	1.2
  +++ cgi.t	11 Jun 2004 17:43:07 -0000	1.3
  @@ -6,7 +6,6 @@
   use Apache::TestConfig;
   use Apache::TestRequest qw(GET_BODY UPLOAD_BODY POST_BODY GET_RC GET_HEAD);
   use constant WIN32 => Apache::TestConfig::WIN32;
  -use HTTP::Cookies;
   
   my @key_len = (5, 100, 305);
   my @key_num = (5, 15, 26);
  @@ -16,7 +15,9 @@
   my @big_key_num = (5, 15, 25);
   my @big_keys    = ('a'..'z');
   
  -plan tests => 10 + @key_len * @key_num + @big_key_len * @big_key_num;
  +plan tests => 10 + @key_len * @key_num + @big_key_len * @big_key_num, have_lwp;
  +
  +require HTTP::Cookies;
   
   my $location = '/cgi-bin';
   my $script = $location . (WIN32 ? '/test_cgi.exe' : '/test_cgi');
  
  
  
  1.2       +3 -2      httpd-apreq-2/env/t/cookie.t
  
  Index: cookie.t
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/env/t/cookie.t,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cookie.t	16 Oct 2003 15:43:42 -0000	1.1
  +++ cookie.t	11 Jun 2004 17:43:07 -0000	1.2
  @@ -5,9 +5,10 @@
   
   use Apache::TestUtil;
   use Apache::TestRequest qw(GET_BODY GET_HEAD);
  -use HTTP::Cookies;
   
  -plan tests => 5;
  +plan tests => 5, have_lwp;
  +
  +require HTTP::Cookies;
   
   my $location = "/apreq_cookie_test";
   
  
  
  
  1.8       +1 -1      httpd-apreq-2/env/t/request.t
  
  Index: request.t
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/env/t/request.t,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- request.t	7 Nov 2003 05:54:57 -0000	1.7
  +++ request.t	11 Jun 2004 17:43:07 -0000	1.8
  @@ -5,7 +5,7 @@
   use Apache::TestUtil;
   use Apache::TestRequest qw(GET_BODY UPLOAD_BODY POST_BODY GET_RC);
   
  -plan tests => 14;
  +plan tests => 14, have_lwp;
   
   foreach my $location ('/apreq_request_test', '/apreq_access_test') {
   
  
  
  
  1.8       +3 -2      httpd-apreq-2/glue/perl/t/apreq/cookie.t
  
  Index: cookie.t
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/glue/perl/t/apreq/cookie.t,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- cookie.t	13 Nov 2003 04:05:20 -0000	1.7
  +++ cookie.t	11 Jun 2004 17:43:07 -0000	1.8
  @@ -5,9 +5,10 @@
   
   use Apache::TestUtil;
   use Apache::TestRequest qw(GET_BODY GET_HEAD);
  -use HTTP::Cookies;
   
  -plan tests => 7;
  +plan tests => 7, have_lwp;
  +
  +require HTTP::Cookies;
   
   my $location = "/TestApReq__cookie";
   
  
  
  
  1.7       +1 -1      httpd-apreq-2/glue/perl/t/apreq/request.t
  
  Index: request.t
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/glue/perl/t/apreq/request.t,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- request.t	9 Feb 2004 21:58:37 -0000	1.6
  +++ request.t	11 Jun 2004 17:43:07 -0000	1.7
  @@ -6,7 +6,7 @@
   use Apache::TestUtil;
   use Apache::TestRequest qw(GET_BODY UPLOAD_BODY);
   
  -plan tests => 3;
  +plan tests => 3, have_lwp;
   
   my $location = "/TestApReq__request";
   #print GET_BODY $location;
  
  
  

Mime
View raw message