perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tors...@apache.org
Subject svn commit: r1062457 - in /perl/Apache-Test/trunk/lib/Apache: Test.pm TestHandler.pm
Date Sun, 23 Jan 2011 15:45:36 GMT
Author: torsten
Date: Sun Jan 23 15:45:35 2011
New Revision: 1062457

URL: http://svn.apache.org/viewvc?rev=1062457&view=rev
Log:
fix a few warnings about forgetting to load Apache::Test

Modified:
    perl/Apache-Test/trunk/lib/Apache/Test.pm
    perl/Apache-Test/trunk/lib/Apache/TestHandler.pm

Modified: perl/Apache-Test/trunk/lib/Apache/Test.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/Test.pm?rev=1062457&r1=1062456&r2=1062457&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/Test.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/Test.pm Sun Jan 23 15:45:35 2011
@@ -631,6 +631,8 @@ for my $func (@have) {
 
 package Apache::TestToString;
 
+Apache::Test->import('!:DEFAULT');
+
 sub TIEHANDLE {
     my $string = "";
     bless \$string;

Modified: perl/Apache-Test/trunk/lib/Apache/TestHandler.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestHandler.pm?rev=1062457&r1=1062456&r2=1062457&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestHandler.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestHandler.pm Sun Jan 23 15:45:35 2011
@@ -18,7 +18,7 @@ package Apache::TestHandler;
 use strict;
 use warnings FATAL => 'all';
 
-use Apache::Test ();
+use Apache::Test qw/!:DEFAULT/;	# call import() to tell about -withouttestmore
 use Apache::TestRequest ();
 
 use Apache2::Const -compile => qw(OK NOT_FOUND SERVER_ERROR);



Mime
View raw message