Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for initMultimapWithNullValue (0.09 sec)

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

        assertThrows(NullPointerException.class, () -> multimap().get(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testGetWithNullValue() {
        initMultimapWithNullValue();
        assertContains(multimap().get(getKeyForNullValue()), null);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertThrows(NullPointerException.class, () -> multimap().get(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testGetWithNullValue() {
        initMultimapWithNullValue();
        assertContains(multimap().get(getKeyForNullValue()), null);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        }
        return entries.next();
      }
    
      protected void initMultimapWithNullKey() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKey()));
      }
    
      protected void initMultimapWithNullValue() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullValue()));
      }
    
      protected void initMultimapWithNullKeyAndValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testRemoveNullValuePresent() {
        initMultimapWithNullValue();
    
        assertTrue(multimap().remove(getKeyForNullValue(), null));
    
        expectMissing(mapEntry(getKeyForNullValue(), (V) null));
        assertGet(getKeyForNullValue(), ImmutableList.<V>of());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top