Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Falls (0.15 sec)

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

      }
    
      @Test
      fun nonStandardAuthenticationScheme() {
        val calls = authCallsForHeader("WWW-Authenticate: Foo")
        assertThat(calls).isEqualTo(emptyList<String>())
      }
    
      @Test
      fun nonStandardAuthenticationSchemeWithRealm() {
        val calls = authCallsForHeader("WWW-Authenticate: Foo realm=\"Bar\"")
        assertThat(calls.size).isEqualTo(0)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        executeSynchronously(request).assertFailure("$dns returned no addresses for android.com")
        dns.assertRequests("android.com")
      }
    
      /** We had a bug where failed HTTP/2 calls could break the entire connection.  */
      @Flaky
      @Test
      fun failingCallsDoNotInterfereWithConnection() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(MockResponse(body = "Response 1"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        )
        val url = server.url("/a")
        assertThat(get(url).body.string()).isEqualTo("a")
        val i = cache.urls()
        assertThat(i.next()).isEqualTo(url.toString())
        i.remove()
    
        // Too many calls to remove().
        assertFailsWith<IllegalStateException> {
          i.remove()
        }
      }
    
      @Test
      fun elementEvictedBetweenHasNextAndNext() {
        // Put a response in the cache.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top