httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r360364 - in /httpd/apreq/trunk/glue/perl/t/apreq: big_input.t cookie.t inherit.t request.t upload.t
Date Sat, 31 Dec 2005 17:55:27 GMT
Author: pgollucci
Date: Sat Dec 31 09:55:24 2005
New Revision: 360364

URL: http://svn.apache.org/viewcvs?rev=360364&view=rev
Log:
Make use of Apache::Tests 's module2url()


Modified:
    httpd/apreq/trunk/glue/perl/t/apreq/big_input.t
    httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
    httpd/apreq/trunk/glue/perl/t/apreq/inherit.t
    httpd/apreq/trunk/glue/perl/t/apreq/request.t
    httpd/apreq/trunk/glue/perl/t/apreq/upload.t

Modified: httpd/apreq/trunk/glue/perl/t/apreq/big_input.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/big_input.t?rev=360364&r1=360363&r2=360364&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/big_input.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/big_input.t Sat Dec 31 09:55:24 2005
@@ -8,7 +8,8 @@
 use Apache::TestUtil;
 use Apache::TestRequest qw(GET_BODY POST_BODY);
 
-my $location = "/TestApReq__big_input";
+my $module = 'TestApReq::big_input';
+my $location = Apache::TestRequest::module2url($module);
 
 my @key_len = (5, 100, 305);
 my @key_num = (5, 15, 26);

Modified: httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/cookie.t?rev=360364&r1=360363&r2=360364&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/cookie.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/cookie.t Sat Dec 31 09:55:24 2005
@@ -10,7 +10,8 @@
 
 require HTTP::Cookies;
 
-my $location = "/TestApReq__cookie";
+my $module = "TestApReq::cookie";
+my $location = Apache::TestRequest::module2url($module);
 
 {
     my $test  = 'new';

Modified: httpd/apreq/trunk/glue/perl/t/apreq/inherit.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/inherit.t?rev=360364&r1=360363&r2=360364&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/inherit.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/inherit.t Sat Dec 31 09:55:24 2005
@@ -7,7 +7,10 @@
 use Apache::TestRequest qw(GET_BODY UPLOAD_BODY);
 
 plan tests => 4, have_lwp;
-my $location = "/TestApReq__inherit";
+
+my $module = 'TestApReq::inherit';
+my $location = Apache::TestRequest::module2url($module);
+
 my @response = split/\r?\n/, GET_BODY($location, Cookie=>"apache=2");
 ok t_cmp($response[0], "method => GET", "inherit method");
 ok t_cmp($response[1], "cookie => apache=2", "inherit cookie");

Modified: httpd/apreq/trunk/glue/perl/t/apreq/request.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/request.t?rev=360364&r1=360363&r2=360364&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/request.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/request.t Sat Dec 31 09:55:24 2005
@@ -8,7 +8,9 @@
 
 plan tests => 18, have_lwp;
 
-my $location = "/TestApReq__request";
+my $module = 'TestApReq::request';
+my $location = Apache::TestRequest::module2url($module);
+
 #print GET_BODY $location;
 
 {

Modified: httpd/apreq/trunk/glue/perl/t/apreq/upload.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/upload.t?rev=360364&r1=360363&r2=360364&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/upload.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/upload.t Sat Dec 31 09:55:24 2005
@@ -8,7 +8,9 @@
 require File::Basename;
 
 my $cwd = getcwd();
-my $location = "/TestApReq__upload";
+
+my $module = 'TestApReq::upload';
+my $location = Apache::TestRequest::module2url($module);
 
 my %types = (perl => 'application/octet-stream',
              httpd => 'application/octet-stream',



Mime
View raw message