- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 140 for containsExactly (1.28 sec)
-
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} public void testOf1() { assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0); } public void testOf2() { assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder(); } public void testOf3() { assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder(); } public void testOf4() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
*/ @file:Suppress( "CANNOT_OVERRIDE_INVISIBLE_MEMBER", "INVISIBLE_MEMBER", "INVISIBLE_REFERENCE", ) package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.hasMessage import assertk.assertions.isEqualTo import assertk.assertions.isIn import java.io.IOException import java.net.InetSocketAddress import java.net.UnknownHostException
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
.add("kit:kat") // Space after colon is not required. .build() assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak") assertThat(headers.values("key")).containsExactly("value") assertThat(headers.values("ping")).containsExactly("pong") assertThat(headers.values("kit")).containsExactly("kat") } @Test fun addThrowsOnEmptyName() { assertFailsWith<IllegalArgumentException> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.hasMessage import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import java.io.IOException import java.security.cert.Certificate
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
assertThat(result).asList().containsExactly("a", "b").inOrder(); } @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class) public void testConcatNonemptyEmpty() { String[] result = ObjectArrays.concat(new String[] {"a", "b"}, new String[0], String.class); assertEquals(String[].class, result.getClass()); assertThat(result).asList().containsExactly("a", "b").inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/EndpointPairTest.java
EndpointPair<String> unordered = EndpointPair.unordered("chicken", "egg"); assertThat(unordered.isOrdered()).isFalse(); assertThat(unordered).containsExactly("chicken", "egg"); assertThat(ImmutableSet.of(unordered.nodeU(), unordered.nodeV())) .containsExactly("chicken", "egg"); assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
ms.add("c"); assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.remove("b"); assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.add("b"); assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder(); ms.remove("b", 2); ms.add("b"); assertThat(ms.elementSet()).containsExactly("a", "c", "b").inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
// Set<Entry<Object, Object>> entries = map.entrySet(); // assertThat(entries).containsExactly( // Maps.immutableEntry(three, one), Maps.immutableEntry(one, two)); // Set<Object> keys = map.keySet(); // assertThat(keys).containsExactly(one, three); // Collection<Object> values = map.values(); // assertThat(values).containsExactly(one, two); map.clear(); assertEquals(EMPTY_STATS, cache.stats());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.util.ArrayDeque import java.util.Deque class RecordingCookieJar : CookieJar { private val requestCookies: Deque<List<Cookie>> = ArrayDeque()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
builder.setCount("b", 0); ImmutableMultiset<String> multiset = builder.build(); assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder(); builder.add("b"); assertThat(builder.build().elementSet()).containsExactly("a", "c", "b").inOrder(); assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0)