- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 28 Oct 2005 06:31:29 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/WebService/Validator/CSS/t
In directory hutz:/tmp/cvs-serv23640
Added Files:
WebService-Validator-CSS-W3C.t
Log Message:
adding the test file forgotten in former cvs import
--- NEW FILE: WebService-Validator-CSS-W3C.t ---
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl WebService-Validator-CSS-W3C.t'
#########################
# change 'tests => 3' to 'tests => last_test_to_print';
use Test;
BEGIN { plan tests => 3 };
use WebService::Validator::CSS::W3C;
ok(1); # If we made it this far, we're ok.
my $val = WebService::Validator::CSS::W3C->new;
ok(2);
my $success = $val->validate(uri => 'http://www.w3.org/');
printf " * %s\n", $_->{message}
foreach $val->errors;
ok(3);
my $som = $val->som;
print $som;
#########################
# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.
Received on Friday, 28 October 2005 06:31:34 UTC