- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Wade (0.31 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
.readTimeout(Duration.ofMillis(100)) .build() val request = Request.Builder().url(server.url("/")).build() assertFailsWith<InterruptedIOException> { // If this succeeds, too many requests were made. client.newCall(request).execute() } } /** * Make a request with two routes. The first route will time out because it's connecting to a
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) -
okhttp/src/test/java/okhttp3/CacheTest.kt
) val url = server.url("/a") assertThat(get(url).body.string()).isEqualTo("a") val i: Iterator<String> = cache.urls() cache.evictAll() // The URL was evicted before hasNext() made any promises. assertThat(i.hasNext()).isFalse() assertFailsWith<NoSuchElementException> { i.next() } } /** Test https://github.com/square/okhttp/issues/1712. */ @Test
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)