- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testPutNullKey (0.14 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertThrows(NullPointerException.class, () -> multimap().put(k1(), null)); expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testPutNullKey() { int size = getNumElements(); multimap().put(null, v3()); assertGet(null, v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertThrows(NullPointerException.class, () -> multimap().put(k1(), null)); expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testPutNullKey() { int size = getNumElements(); multimap().put(null, v3()); assertGet(null, v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0)