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/25 21:29:11 UTC

cvs commit: xml-axkit/t/xslt-basic 01.t

kip         2003/05/25 12:29:11

  Added:       t/xslt-basic 01.t
  Log:
  Adding to the test suite.
  
  Revision  Changes    Path
  1.1                  xml-axkit/t/xslt-basic/01.t
  
  Index: 01.t
  ===================================================================
  #!perl
  use Apache::Test;
  use Apache::TestUtil;
  use Apache::TestRequest qw( GET POST ) ;
  
  plan tests => 1, have_module qw(LWP);
  
  sub test_basic {
      my $resp = GET '/xslt-basic/01' ;
      warn "GOT CONTENT:" . $resp->content();
      return 0 unless $resp->content =~ /child text added/gi;
      return 1;
  }
  
  ok( test_basic(),1,    "Testing basic XSLT Transformation  output" );