You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ki...@apache.org on 2003/05/26 03:41:28 UTC

cvs commit: xml-axkit/t/xslt-basic 02_include.t

kip         2003/05/25 18:41:28

  Added:       t/xslt-basic 02_include.t
  Log:
  XSL include test added
  
  Revision  Changes    Path
  1.1                  xml-axkit/t/xslt-basic/02_include.t
  
  Index: 02_include.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/02_include.xml' ;
      #warn "GOT CONTENT:" . $resp->content();
      return 0 unless $resp->content =~ /Included overrides default/gi;
      return 1;
  }
  
  ok( test_basic(),1,    "Testing stylesheet include behavior." );