tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util CookieToolsTestCase.java
Date Thu, 23 May 2002 10:35:56 GMT
larryi      02/05/23 03:35:55

  Modified:    catalina/src/test/org/apache/catalina/util Tag:
                        tomcat_40_branch CookieToolsTestCase.java
  Log:
  Port change from HEAD branch to test for current behavior with respect to
  Cookies.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +6 -6      jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util/CookieToolsTestCase.java
  
  Index: CookieToolsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util/CookieToolsTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- CookieToolsTestCase.java	5 Sep 2001 18:35:32 -0000	1.3
  +++ CookieToolsTestCase.java	23 May 2002 10:35:55 -0000	1.3.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util/CookieToolsTestCase.java,v
1.3 2001/09/05 18:35:32 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/09/05 18:35:32 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util/CookieToolsTestCase.java,v
1.3.2.1 2002/05/23 10:35:55 larryi Exp $
  + * $Revision: 1.3.2.1 $
  + * $Date: 2002/05/23 10:35:55 $
    *
    * ====================================================================
    *
  @@ -74,7 +74,7 @@
    * Unit tests for the <code>CookieTools</code> class.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2001/09/05 18:35:32 $
  + * @version $Revision: 1.3.2.1 $ $Date: 2002/05/23 10:35:55 $
    */
   
   public class CookieToolsTestCase extends TestCase {
  @@ -185,13 +185,13 @@
           sb = new StringBuffer();
           CookieTools.getCookieHeaderValue(version0, sb);
           assertEquals("Version 0 cookie header value",
  -                     "Version+0+Name=Version+0+Value;Domain=localhost;Path=/version0",
  +                     "Version 0 Name=Version 0 Value;Domain=localhost;Path=/version0",
                        sb.toString());
   
           sb = new StringBuffer();
           CookieTools.getCookieHeaderValue(version1, sb);
           assertEquals("Version 1 cookie header value",
  -                     "Version+1+Name=Version+1+Value;Version=1;Comment=Version+1+Comment;Domain=localhost;Discard;Path=\"/version1\"",
  +                     "Version 1 Name=\"Version 1 Value\";Version=1;Comment=\"Version 1
Comment\";Domain=localhost;Discard;Path=\"/version1\"",
                        sb.toString());
   
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message