Author: uli
Date: Tue Mar 16 17:25:24 2010
New Revision: 923882

URL: http://svn.apache.org/viewvc?rev=923882&view=rev
Log:
TAP5-11: CookiesImplTest does specify a domain cookie with a domain not 
prefixed with a . (dot)

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/CookiesImplTest.java

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/CookiesImplTest.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/CookiesImplTest.java?rev=923882&r1=923881&r2=923882&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/CookiesImplTest.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/CookiesImplTest.java
 Tue Mar 16 17:25:24 2010
@@ -1,4 +1,4 @@
-// Copyright 2007 The Apache Software Foundation
+// Copyright 2007, 2010 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -42,8 +42,9 @@ public class CookiesImplTest extends Ass
         {
             Cookie c = (Cookie) obj;
 
-            return equals(getName(), c.getName()) && equals(getValue(), 
c.getValue()) && equals(getPath(),
-                                                                               
                 c.getPath()) && getMaxAge() == c.getMaxAge();
+            return equals(getName(), c.getName()) && equals(getValue(), 
c.getValue())
+                    && equals(getPath(), c.getPath()) && getMaxAge() == 
c.getMaxAge()
+                    && equals(getDomain(), c.getDomain());
         }
 
         private boolean equals(Object value, Object other)


Reply via email to