kip 2003/05/25 19:25:36
Added: t/xslt-basic 03_document_1arg.t 04_document_2args.t
Log:
XSL document function tests added
Revision Changes Path
1.1 xml-axkit/t/xslt-basic/03_document_1arg.t
Index: 03_document_1arg.t
===================================================================
#!perl
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest qw( GET ) ;
plan tests => 1, have_module qw(LWP);
sub test_basic {
my $resp = GET '/xslt-basic/03_document_1arg.xml' ;
#warn "GOT CONTENT:" . $resp->content();
return 0 unless $resp->content =~ /Included relative to stylesheet/gi;
return 1;
}
ok( test_basic(),1, "Testing stylesheet include behavior." );
1.1 xml-axkit/t/xslt-basic/04_document_2args.t
Index: 04_document_2args.t
===================================================================
#!perl
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest qw( GET ) ;
plan tests => 1, have_module qw(LWP);
sub test_basic {
my $resp = GET '/xslt-basic/04_document_2args.xml' ;
#warn "GOT CONTENT:" . $resp->content();
return 0 unless $resp->content =~ /Included relative to source/gi;
return 1;
}
ok( test_basic(),1, "Testing stylesheet include behavior." );