- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 234 for isFull (0.05 seconds)
-
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
segment.setValueForTesting(entry, value); assertThat(segment.get(key, hash)).isNull(); // count == 0 segment.setTableEntryForTesting(index, entry); assertThat(segment.get(key, hash)).isNull(); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
SmbTreeImpl tree = mock(SmbTreeImpl.class); doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull()); // Act session.treeConnectLogon(); // Assert: treeConnect invoked once with null params verify(tree, times(1)).treeConnect(isNull(), isNull()); // Close of try-with-resources should call close on the mock verify(tree, times(1)).close(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
android/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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(map.containsKey(one)).isFalse(); assertThat(map.containsValue(one)).isFalse(); assertThat(map.putIfAbsent(two, three)).isNull(); assertThat(map.remove(two)).isSameInstanceAs(three); assertThat(map.put(three, one)).isNull(); assertThat(map.put(one, two)).isNull(); assertThat(map).containsEntry(three, one); assertThat(map).containsEntry(one, two);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(map.containsKey(one)).isFalse(); assertThat(map.containsValue(one)).isFalse(); assertThat(map.putIfAbsent(two, three)).isNull(); assertThat(map.remove(two)).isSameInstanceAs(three); assertThat(map.put(three, one)).isNull(); assertThat(map.put(one, two)).isNull(); assertThat(map).containsEntry(three, one); assertThat(map).containsEntry(one, two);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
fakeTicker.advance(2, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); assertThat(cache.getIfPresent(20)).isNull(); assertThat(cache.getIfPresent(4)).isNull(); cache.put(10, 20); assertThat(cache.getIfPresent(10)).isEqualTo(20); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); } @Test public void expireAfterWriteAndAccess() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
* limitations under the License. * */ package okhttp.android.test import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import java.net.InetAddress import java.net.UnknownHostException import okhttp3.Cache import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okio.Path.Companion.toPath
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 22 20:03:31 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
fakeTicker.advance(2, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); assertThat(cache.getIfPresent(20)).isNull(); assertThat(cache.getIfPresent(4)).isNull(); cache.put(10, 20); assertThat(cache.getIfPresent(10)).isEqualTo(20); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); } @Test public void expireAfterWriteAndAccess() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (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")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0)