Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutAllNullForbidden (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        assertTrue(multimap().putAll(null, Lists.newArrayList(v3(), v4())));
        assertGet(null, v3(), v4());
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
      public void testPutAllNullForbidden() {
        assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3())));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top