- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 18 Nov 2005 08:03:18 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/WebService/Validator/Feed/t
In directory hutz:/tmp/cvs-serv25066/t
Added Files:
WebService-Validator-Feed-W3C.t
Log Message:
first commit of this module. Based on Bjoern's WebService::Validator::CSS::W3C.
--- NEW FILE: WebService-Validator-Feed-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::Feed::W3C;
ok(1); # If we made it this far, we're ok.
my $val = WebService::Validator::Feed::W3C->new;
ok(2);
my $success = $val->validate(uri => 'http://www.w3.org/2003/05/Software/Overview.rss');
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, 18 November 2005 08:03:27 UTC