- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for testSmear (0.04 sec)
-
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().containsKey(key)).isTrue(); assertThat(cache.asMap().containsValue(value)).isTrue(); assertThat(cache.size()).isEqualTo(1); } } public void testClear() { for (LoadingCache<Key, String> cache : caches()) { Key key = new Key(1); String value = key.toString(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
assertEmpty(multimap().keys()); assertEmpty(multimap().values()); for (K key : sampleKeys()) { assertGet(key); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearThroughEntries() { multimap().entries().clear(); assertCleared(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
} } protected boolean supportsRemove() { return true; } protected boolean supportsNullValues() { return false; } public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().containsKey(key)).isTrue(); assertThat(cache.asMap().containsValue(value)).isTrue(); assertThat(cache.size()).isEqualTo(1); } } public void testClear() { for (LoadingCache<Key, String> cache : caches()) { Key key = new Key(1); String value = key.toString(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
} } protected boolean supportsRemove() { return true; } protected boolean supportsNullValues() { return false; } public void testClear() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
int unused = create().size(); } public void testIsEmpty() { boolean unused = create().isEmpty(); } public void testRemove() { create().remove(null); } public void testClear() { create().clear(); } public void testContainsKey() { boolean unused = create().containsKey(null); } public void testContainsValue() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
e.remove(); assertThat(e.getNext().getElement(), is("3")); } /** * @throws Exception */ @Test public void testClear() throws Exception { list.addLast(null); list.addLast("1"); list.addLast("2"); list.clear(); assertThat(list.size(), is(0));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@Test public void testToString() throws Exception { assertThat(map.toString(), is(notNullValue())); } /** * @throws Exception */ @Test public void testClear() throws Exception { map.clear(); assertThat(map.size(), is(0)); } /** * @throws Exception */ @Test public void testEntrySet() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
map.removeAllZeros(); assertFalse(map.asMap().containsValue(0L)); assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create(); for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); } assertEquals(ITERATIONS, map.size()); map.clear();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
assertThrows(IllegalArgumentException.class, () -> IntMath.binomial(n, 0)); } } @AndroidIncompatible // slow @GwtIncompatible // java.math.BigInteger public void testMean() { // Odd-sized ranges have an obvious mean assertMean(2, 1, 3); assertMean(-2, -3, -1); assertMean(0, -1, 1); assertMean(1, -1, 3); assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0)