More strict testing
This commit is contained in:
parent
abe2a88d60
commit
4649d57097
@ -225,6 +225,8 @@ public class CookieDecoderTest {
|
|||||||
assertNull(c.getDomain());
|
assertNull(c.getDomain());
|
||||||
assertTrue(c.getPorts().isEmpty());
|
assertTrue(c.getPorts().isEmpty());
|
||||||
assertEquals(-1, c.getMaxAge());
|
assertEquals(-1, c.getMaxAge());
|
||||||
|
|
||||||
|
assertFalse(it.hasNext());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -258,6 +260,8 @@ public class CookieDecoderTest {
|
|||||||
assertNull(c.getCommentUrl());
|
assertNull(c.getCommentUrl());
|
||||||
assertTrue(c.getPorts().isEmpty());
|
assertTrue(c.getPorts().isEmpty());
|
||||||
assertEquals(-1, c.getMaxAge());
|
assertEquals(-1, c.getMaxAge());
|
||||||
|
|
||||||
|
assertFalse(it.hasNext());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -302,6 +306,8 @@ public class CookieDecoderTest {
|
|||||||
c = it.next();
|
c = it.next();
|
||||||
assertEquals("g", c.getName());
|
assertEquals("g", c.getName());
|
||||||
assertEquals("\\", c.getValue());
|
assertEquals("\\", c.getValue());
|
||||||
|
|
||||||
|
assertFalse(it.hasNext());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user