- From: Olivier Thereaux <ot@dev.w3.org>
- Date: Thu, 12 Aug 2004 09:10:02 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LogValidator/t
In directory hutz:/tmp/cvs-serv704/t
Added Files:
base.t module-htmlval.t
Log Message:
changing test framework to multiple-file based
--- NEW FILE: module-htmlval.t ---
#! /usr/bin/perl -w
use strict;
print "1..4\n";
use W3C::LogValidator::HTMLValidator;
print "ok 1\n";
my %config = ("verbose" => 2);
my $validator = W3C::LogValidator::HTMLValidator->new(\%config);
print "ok 2\n";
$validator->uris('http://www.w3.org/Overview.html', 'http://www.yahoo.com/index.html');
print "ok 3\n";
my %result= $validator->process_list;
if (not %result) {print "not"}
print "ok 4\n";
--- NEW FILE: base.t ---
#! /usr/bin/perl -w
print "1..3\n";
use strict;
use W3C::LogValidator;
print "ok 1\n";
use W3C::LogValidator::Config;
my %config;
print "ok 2\n";
%config = W3C::LogValidator::Config->new()->configure();
print "ok 3\n";
Received on Thursday, 12 August 2004 09:10:03 UTC