Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for upsert (0.13 sec)

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

        assertThat(cookie.domain).isEqualTo("example.com")
        assertThat(cookie.path).isEqualTo("/")
        assertThat(cookie.secure).isFalse()
        assertThat(cookie.httpOnly).isFalse()
        // can't be unset
        assertThat(cookie.persistent).isTrue()
        assertThat(cookie.hostOnly).isFalse()
      }
    
      @Test fun builderNameValidation() {
        assertFailsWith<IllegalArgumentException> {
          Cookie.Builder().name(" a ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
Back to top