- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGet_nullNotContainedAndUnsupported (0.6 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
public void testGet_nullNotContainedButAllowed() { assertNull("get(null) should return null", get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
public void testGet_nullNotContainedButAllowed() { assertNull("get(null) should return null", get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.9K bytes - Viewed (0)