Update of /cvsroot/http-webtest/HTTP-WebTest/t
In directory usw-pr-cvs1:/tmp/cvs-serv32115/t
Modified Files:
01-api.t
Log Message:
Rename HTTP::WebTest::validate_test to HTTP::WebTest::validate_params
and make it validate hash with test parameters instead of test object
Index: 01-api.t
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/01-api.t,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** 01-api.t 2002/01/24 12:26:11 1.1.1.1
--- 01-api.t 2002/01/28 06:32:02 1.2
***************
*** 75,79 ****
}
! # 9: test validate_test
{
my $tests = [ { url => [] },
--- 75,79 ----
}
! # 9: test validate_params
{
my $tests = [ { url => [] },
***************
*** 94,98 ****
my $res = '';
for my $test (@$tests) {
! my %checks = $WEBTEST->validate_test($test);
# order of keys in hashes is different in various versions of
--- 94,98 ----
my $res = '';
for my $test (@$tests) {
! my %checks = $WEBTEST->validate_params($test);
# order of keys in hashes is different in various versions of
|