- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testSetValue_valueAbsent (0.2 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapEntrySetTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapEntrySetTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0)