- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for assertThat (0.07 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
assertThat(response.code).isEqualTo(200) assertThat(response.message).isEqualTo("Fantastic") val responseHeaders = response.headers assertThat(LinkedHashSet(responseHeaders.values("A"))).isEqualTo(newSet("c", "e")) assertThat(LinkedHashSet(responseHeaders.values("a"))).isEqualTo(newSet("c", "e")) assertThat(responseHeaders.name(0)).isEqualTo("A") assertThat(responseHeaders.value(0)).isEqualTo("c")
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/CacheTest.kt
assertThat(response2.body.string()).isEqualTo("ABC") assertThat(cache.requestCount()).isEqualTo(2) assertThat(cache.networkCount()).isEqualTo(1) assertThat(cache.hitCount()).isEqualTo(1) assertThat(response2.handshake!!.cipherSuite).isEqualTo(cipherSuite) assertThat(response2.handshake!!.localCertificates).isEqualTo(localCerts)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
val connect = server.takeRequest() assertThat(connect.method).isEqualTo("CONNECT") assertThat(connect.headers["Proxy-Authorization"]).isEqualTo(credential) assertThat(connect.path).isEqualTo("/") val get = server.takeRequest() assertThat(get.method).isEqualTo("GET") assertThat(get.headers["Proxy-Authorization"]).isNull() assertThat(get.path).isEqualTo("/foo") } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* ... * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue); * * ImmutableMap<String, Color> colorForName = * uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * }</pre> * * <p>If your index may associate multiple values with each key, use {@link * Multimaps#index(Iterable, Function) Multimaps.index}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* ... * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue); * * ImmutableMap<String, Color> colorForName = * uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * }</pre> * * <p>If your index may associate multiple values with each key, use {@link * Multimaps#index(Iterable, Function) Multimaps.index}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0)