tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat/src/tests/webpages/jsp/mangler 1test.jsp
Date Sat, 25 Aug 2001 14:47:33 GMT
nacho       01/08/25 07:47:33

  Modified:    src/tests/webpages/WEB-INF test-tomcat.xml
  Added:       src/tests/webpages/jsp/mangler/1test test.jsp
               src/tests/webpages/jsp/mangler 1test.jsp
  Log:
  Some tests for the JSP mangler..
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat/src/tests/webpages/jsp/mangler/1test/test.jsp
  
  Index: test.jsp
  ===================================================================
  Test Passed 
  
  
  1.42      +19 -1     jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml
  
  Index: test-tomcat.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- test-tomcat.xml	2001/08/07 12:14:20	1.41
  +++ test-tomcat.xml	2001/08/25 14:47:33	1.42
  @@ -16,7 +16,7 @@
           early tests.
       -->
   
  -     <property name="revision" value="$Revision: 1.41 $" />  
  +     <property name="revision" value="$Revision: 1.42 $" />  
        <property name="host" value="127.0.0.1" />
        <property name="port"     value="8080" />
        <property name="colonPort" value=":${port}" />
  @@ -1380,6 +1380,24 @@
             <responseMatch match="getRequestURI: /test/jsp/ShowPathInfo.jsp"/>
         </httpClient>
      </target>
  +
  +   <!-- ==================== Mangler tests ====================  -->
  +
  +   <target name="mangler" depends="init">
  +      <httpClient>
  +          <comment>Number as first char of JSP FileName</comment>
  +          <httpRequest path="/test/jsp/mangler/1test.jsp" />
  +          <httpStatusMatch match="200" />
  +          <responseMatch match="Test Passed"/>
  +      </httpClient>
  +      <httpClient>
  +          <comment>Number as first char of Directory Name</comment>
  +          <httpRequest path="/test/jsp/mangler/1test/test.jsp" />
  +          <httpStatusMatch match="200" />
  +          <responseMatch match="Test Passed"/>
  +      </httpClient>
  +   </target>
  +
   
      <!-- ==================== All targets ====================  -->
      <target name="client" depends="file,params,writer,dispatch,get,requestMap,post,wrong_request,restricted,jsp,unavailable,headers,security_chk,aaa">
  
  
  
  1.1                  jakarta-tomcat/src/tests/webpages/jsp/mangler/1test.jsp
  
  Index: 1test.jsp
  ===================================================================
  Test Passed 
  
  

Mime
View raw message