larryi      01/01/30 18:05:55

  Modified:    src/tests/share/tests/jsp/Golden PrintWriterTest.txt
               src/tests/webpages/WEB-INF test-tomcat.xml
  Log:
  Update PrintWriterTest test to use a responseMatchFile to verify that the
  expected exception occurred.
  
  Revision  Changes    Path
  1.2       +5 -2      
jakarta-tomcat/src/tests/share/tests/jsp/Golden/PrintWriterTest.txt
  
  Index: PrintWriterTest.txt
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/tests/share/tests/jsp/Golden/PrintWriterTest.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PrintWriterTest.txt       2000/01/18 00:02:29     1.1
  +++ PrintWriterTest.txt       2001/01/31 02:05:54     1.2
  @@ -1,2 +1,5 @@
  -
  -
  +Included servlet error: 500
  +java.lang.IllegalStateException: getOutputStream() has already been called
  +!=
  +PreInclude
  +PostInclude
  
  
  
  1.13      +2 -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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- test-tomcat.xml   2001/01/29 06:59:39     1.12
  +++ test-tomcat.xml   2001/01/31 02:05:54     1.13
  @@ -16,7 +16,7 @@
           early tests.
       -->
   
  -     <property name="revision" value="$Revision: 1.12 $" />  
  +     <property name="revision" value="$Revision: 1.13 $" />  
        <property name="host" value="127.0.0.1" />
        <property name="port"     value="8080" />
        <property name="outputType"     value="text" />
  @@ -133,6 +133,7 @@
         <gtest  description="PrintWriterTest"
                request="GET /test/servlet/dispatch.PrintWriterTest1Servlet HTTP/1.0"
                returnCode="${http.protocol} 500"
  +             responseMatchFile="${gdir}/PrintWriterTest.txt"
          />
    
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to