- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for LinkedHashSet (0.07 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
.build() assertThat(request.header("D")).isEqualTo("f") assertThat(request.header("d")).isEqualTo("f") val requestHeaders = request.headers assertThat(LinkedHashSet(requestHeaders.values("D"))).isEqualTo(newSet("e", "f")) assertThat(LinkedHashSet(requestHeaders.values("d"))).isEqualTo(newSet("e", "f")) val response = getResponse(request) response.close() val recordedRequest = server.takeRequest()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
cloned.enqueue(callback) val firstResponse = callback.await(request.url).assertSuccessful() val secondResponse = callback.await(request.url).assertSuccessful() val bodies: MutableSet<String?> = LinkedHashSet() bodies.add(firstResponse.body) bodies.add(secondResponse.body) assertThat(bodies).contains("abc") assertThat(bodies).contains("def") } @Test fun get_Async() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)