Update of /cvsroot/http-webtest/HTTP-WebTest-Plugin-XMLReport/t
In directory sc8-pr-cvs1:/tmp/cvs-serv26732/t
Modified Files:
01_basic.t
Log Message:
Use Test::More instead of Test::Simple
Index: 01_basic.t
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest-Plugin-XMLReport/t/01_basic.t,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** 01_basic.t 30 Oct 2002 21:25:49 -0000 1.1.1.1
--- 01_basic.t 26 Dec 2002 20:32:42 -0000 1.2
***************
*** 3,15 ****
use HTTP::WebTest::Plugin::XMLReport;
# XML::Parser is a prerequisite for XML::Simple, so it should be installed
! use XML::Parser;
! use Test::Simple tests => 4;
! ok(1, "Load HTTP::WebTest::Plugin::XMLReport");
! # 2 - test wether HTTP::WebTest is installed
! eval { require HTTP::WebTest };
my $WEBTEST = HTTP::WebTest->new;
- ok($@ eq '', 'Check for HTTP::WebTest on this system');
my $p1 = new XML::Parser(Style => 'Tree');
--- 3,15 ----
use HTTP::WebTest::Plugin::XMLReport;
# XML::Parser is a prerequisite for XML::Simple, so it should be installed
! use XML::Parser;
! use Test::More tests => 4;
! # 1 - test whether HTTP::WebTest::Plugin::XMLReport can be loaded
! require_ok 'HTTP::WebTest::Plugin::XMLReport';
! # 2 - test whether HTTP::WebTest is installed
! require_ok 'HTTP::WebTest';
my $WEBTEST = HTTP::WebTest->new;
my $p1 = new XML::Parser(Style => 'Tree');
|