Searched refs:getMaxAge (Results 1 – 4 of 4) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | HttpCookieTest.java | 271 assertEquals(-1, cookie.getMaxAge()); in test_Get_SetMaxAge() 274 assertEquals(Long.MAX_VALUE, cookie.getMaxAge()); in test_Get_SetMaxAge() 278 assertEquals(Long.MIN_VALUE, cookie.getMaxAge()); in test_Get_SetMaxAge() 404 assertEquals(2, cookie1.getMaxAge()); in test_HasExpiredBug25682357() 405 assertEquals(100, cookie2.getMaxAge()); in test_HasExpiredBug25682357() 475 assertEquals(33l, cloneCookie.getMaxAge()); in test_Clone() 627 assertEquals(1234, cookie.getMaxAge()); in test_Parse_locale() 634 assertEquals(-12345, cookie.getMaxAge()); in test_Parse_locale() 641 assertEquals(1000, cookie.getMaxAge()); in test_Parse_locale() 658 assertEquals(-1, cookie.getMaxAge()); in test_Parse() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpCookie.java | 436 public long getMaxAge() { in getMaxAge() method in HttpCookie 943 if (cookie.getMaxAge() == MAX_AGE_UNSPECIFIED) 997 if (cookie.getMaxAge() == MAX_AGE_UNSPECIFIED) {
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | HttpCookie.java | 99 public long getMaxAge() { in getMaxAge() method in HttpCookie
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 113 assertTrue(cookie.getMaxAge() > 100000000000L); in testNetscapeResponse() 143 assertEquals(60, cookie.getMaxAge()); in testRfc2109Response() 176 assertEquals(60, cookie.getMaxAge()); in testRfc2965Response() 211 assertEquals(60, cookie.getMaxAge()); in testQuotedAttributeValues() 1568 assertTrue(cookie.getMaxAge() > 100000000000L); in testLenientExpiresParsing()
|