- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 173 for isFull (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
Collections.addAll(strings, "one", "two", "three"); SortedMap<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION); assertThat(map.comparator()).isNull(); assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5), map); assertThat(map.get("four")).isNull(); strings.add("four"); assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5, "four", 4), map);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(base.newBuilder("")!!.build()).isEqualTo(parse("http://host/a/b")) assertThat(base.newBuilder("ftp://b")).isNull() assertThat(base.newBuilder("ht+tp://b")).isNull() assertThat(base.newBuilder("ht-tp://b")).isNull() assertThat(base.newBuilder("ht.tp://b")).isNull() } @Test fun redactedUrl() { val baseWithPasswordAndUsername = parse("http://username:password@host/a/b#fragment")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
String nullName = null; doThrow(new jcifs.CIFSException("invalid dfs name")).when(transport).getDfsReferrals(eq(ctx), isNull(), any(), any(), anyInt()); assertThrows(jcifs.CIFSException.class, () -> transport.getDfsReferrals(ctx, nullName, "h", "d", 1)); verify(transport).getDfsReferrals(eq(ctx), isNull(), eq("h"), eq("d"), eq(1)); } // Signing modes: optional vs enforced @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
assertEquals(TestEnum.HONDA, converter.convert("HONDA")); assertEquals(TestEnum.POODLE, converter.convert("POODLE")); assertThat(converter.convert(null)).isNull(); assertThat(converter.reverse().convert(null)).isNull(); } public void testStringConverter_convertError() { Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertThat(ArbitraryInstances.get(WithGenericConstant.class)).isNull(); } public void testGet_nullConstant() { assertThat(ArbitraryInstances.get(WithNullConstant.class)).isNull(); } public void testGet_constantTypeDoesNotMatch() { assertThat(ArbitraryInstances.get(ParentClassHasConstant.class)).isNull(); } public void testGet_nonPublicConstantNotUsed() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 22.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
val source = response.body.source() assertThat(response.header("h1")).isEqualTo("v1") assertThat(response.peekTrailers()).isNull() assertFailsWith<IOException> { source.readUtf8() } try { assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does. } catch (_: IOException) { // Also okay. This is what HTTP/2 does. }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
.build() assertThat(request.tag()).isNull() assertThat(request.tag(Any::class.java)).isNull() assertThat(request.tag(UUID::class.java)).isNull() assertThat(request.tag(String::class.java)).isNull() // Alternate access APIs also work. assertThat(request.tag<String>()).isNull() assertThat(request.tag(String::class)).isNull() } @Test fun defaultTag() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:36:14 UTC 2025 - 24.4K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt
.readByteString() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("aaa")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ggg")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ccc")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("eee")).isNull() } @Test fun exceptionRule() { list.bytes = Buffer() .writeUtf8("*.jp\n")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertThat(segment.get(key, hash)).isNull(); // cleared segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); oldValueRef.clear(); assertThat(segment.remove(key, hash)).isNull(); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertThat(segment.get(key, hash)).isNull(); // cleared segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); oldValueRef.clear(); assertThat(segment.remove(key, hash)).isNull(); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0)