- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testPut_nullValueSupported (0.1 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
expectNullValueMissingWhenNullValuesUnsupported( "Should not contain null after unsupported putIfAbsent(present, null)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPut_nullValueSupported() { Entry<K, V> nullValueEntry = entry(k3(), null); assertNull( "putIfAbsent(key, null) should return null", getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 02:04:51 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported put(null, value)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPut_nullValueSupported() { assertNull("put(key, null) should return null", put(nullValueEntry)); expectAdded(nullValueEntry); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
expectNullValueMissingWhenNullValuesUnsupported( "Should not contain null after unsupported putIfAbsent(present, null)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPut_nullValueSupported() { Entry<K, V> nullValueEntry = entry(k3(), null); assertNull( "putIfAbsent(key, null) should return null", getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 02:04:51 UTC 2025 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported put(null, value)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPut_nullValueSupported() { assertNull("put(key, null) should return null", put(nullValueEntry)); expectAdded(nullValueEntry); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0)