- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for clearDispatcherQueue (0.1 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
fail<Unit>() } catch (expected: IOException) { // Expected. } server.url("/b").toUrl().openConnection().getInputStream() // Should succeed. } @Test fun clearDispatcherQueue() { server.enqueue(MockResponse(body = "A")) (server.dispatcher as QueueDispatcher).clear() server.enqueue(MockResponse(body = "B"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0)