juergen     02/03/14 08:28:52

  Modified:    
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
                        StreamResponseBodyAssert.java
  Log:
  restrict the length of the content differ protocol in case of an content error.
  
  Revision  Changes    Path
  1.3       +6 -5      
jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/StreamResponseBodyAssert.java
  
  Index: StreamResponseBodyAssert.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/StreamResponseBodyAssert.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StreamResponseBodyAssert.java     25 Feb 2002 09:54:58 -0000      1.2
  +++ StreamResponseBodyAssert.java     14 Mar 2002 16:28:52 -0000      1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/StreamResponseBodyAssert.java,v
 1.2 2002/02/25 09:54:58 juergen Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/02/25 09:54:58 $
  + * $Header: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/StreamResponseBodyAssert.java,v
 1.3 2002/03/14 16:28:52 juergen Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/03/14 16:28:52 $
    *
    * ====================================================================
    *
  @@ -78,7 +78,7 @@
    * Abstract root class to perform the necessary checks for the received and 
expected stream body
    *
    * @author Software AG
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public abstract class StreamResponseBodyAssert extends ResponseBodyAssert{
       
  @@ -154,7 +154,8 @@
                       if (contentValueProblem == null) {
                           contentValueProblem = "Position = " + bytesRead;
                       } else {
  -                        contentValueProblem += " ," + bytesRead;
  +                        if (contentValueProblem.length() < 1024)
  +                            contentValueProblem += " ," + bytesRead;
                       }
                   }
               receivedCount=receivedBody.read(receivedBuffer);
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to