- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for test_remove (0.05 sec)
-
src/test/java/org/codelibs/fess/util/DocMapTest.java
assertEquals("newValue", docMap.put("newKey", "updatedValue")); assertEquals("updatedValue", docMap.get("newKey")); assertNull(docMap.get("nonexistent")); } public void test_remove() { Map<String, Object> parentMap = new HashMap<>(); DocMap docMap = new DocMap(parentMap); docMap.put("key1", "value1"); docMap.put("key2", "value2");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java
* of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)} * returns the same value which {@code map.get(x)} did immediately beforehand. */ @Override public void testRemove() { Map<String, Collection<Integer>> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } String keyToRemove = map.keySet().iterator().next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
*/ public void testSize() { 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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
import java.nio.file.Path; import org.codelibs.fess.unit.UnitFessTestCase; import org.dbflute.optional.OptionalEntity; public class ResourceUtilTest extends UnitFessTestCase { public void test_resolve() { String value; value = null; assertNull(ResourceUtil.resolve(value)); value = ""; assertEquals("", ResourceUtil.resolve(value)); value = "a";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} else { assertThrows(UnsupportedOperationException.class, () -> map.putAll(mapToPut)); } assertEquals(initialSize, map.size()); assertInvariants(map); } public void testRemove() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } K keyToRemove = map.keySet().iterator().next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(3, (int) mmHeap.peek()); assertEquals(3, (int) mmHeap.poll()); assertNull(mmHeap.peekLast()); assertNull(mmHeap.peek()); assertNull(mmHeap.poll()); } public void testRemove() { MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create(); mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4, 47, 1, 5, 3, 0)); assertTrue("Heap is not intact initially", mmHeap.isIntact());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0)