xml-axkit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k..@apache.org
Subject cvs commit: xml-axkit/t/xslt-basic 05_params.t
Date Sat, 23 Aug 2003 06:52:35 GMT
kip         2003/08/22 23:52:35

  Added:       t/xslt-basic 05_params.t
  Log:
  Test client request param -> XSLT param passing.
  
  Revision  Changes    Path
  1.1                  xml-axkit/t/xslt-basic/05_params.t
  
  Index: 05_params.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/05_params.xml?p1=passed;p2=data' ;
      #warn "GOT CONTENT:" . $resp->content();
      return 0 unless $resp->content =~ /passed data/gi;
      return 1;
  }
  
  ok( test_basic(),1,    "Testing stylesheet param passing behavior." );
  
  
  

Mime
View raw message