- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testGet_wrongType (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
public void testGet_nullContained() { initMapWithNullKey(); assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null)); } public void testGet_wrongType() { try { assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
initMapWithNullValue(); assertNull( "getOrDefault(mappedToNull, default) should return null", getMap().getOrDefault(getKeyForNullValue(), v3())); } public void testGet_wrongType() { try { assertEquals( "getOrDefault(wrongType, default) should return default or throw", v3(), getMap().getOrDefault(WrongType.VALUE, v3()));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 4.5K bytes - Click Count (0)