More strict testing

This commit is contained in:
Trustin Lee 2009-11-19 10:09:40 +00:00
parent abe2a88d60
commit 4649d57097

View File

@ -225,6 +225,8 @@ public class CookieDecoderTest {
assertNull(c.getDomain());
assertTrue(c.getPorts().isEmpty());
assertEquals(-1, c.getMaxAge());
assertFalse(it.hasNext());
}
@Test
@ -258,6 +260,8 @@ public class CookieDecoderTest {
assertNull(c.getCommentUrl());
assertTrue(c.getPorts().isEmpty());
assertEquals(-1, c.getMaxAge());
assertFalse(it.hasNext());
}
@Test
@ -302,6 +306,8 @@ public class CookieDecoderTest {
c = it.next();
assertEquals("g", c.getName());
assertEquals("\\", c.getValue());
assertFalse(it.hasNext());
}
@Test