Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxAgeNonPositive (0.11 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

          .isEqualTo(MAX_DATE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=10000000000000000000")!!.expiresAt)
          .isEqualTo(MAX_DATE)
      }
    
      @Test fun maxAgeNonPositive() {
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=-1")!!.expiresAt)
          .isEqualTo(Long.MIN_VALUE)
        assertThat(parseCookie(50000L, url, "a=b; Max-Age=0")!!.expiresAt)
          .isEqualTo(Long.MIN_VALUE)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top