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/directives/style 02_processor_inheritance.t
Date Sat, 23 Aug 2003 08:46:44 GMT
kip         2003/08/23 01:46:44

  Added:       t/directives/style 02_processor_inheritance.t
  Log:
  Test that AddProcessor does inheritance the way we want it to (styles added in child direcotories
are *prepended* to the list of processor definitions, not *appended*).
  
  Revision  Changes    Path
  1.1                  xml-axkit/t/directives/style/02_processor_inheritance.t
  
  Index: 02_processor_inheritance.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 '/directives/style/larry/moe/curly/02_processor_inheritance.xml' ;  
 
      warn "GOT CONTENT:" . $resp->content();
      return 0 unless $resp->content =~ /Larry...Moe...Curly/gi;    
      return 1;
  }
  
  ok( test_basic(),1,    "Basic AxAddProcessor inheritance test." );
  
  
  

Mime
View raw message