Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMultimapWithNullValue();
        assertContains(multimap().entries(), mapEntry(getKeyForNullValue(), (V) null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsEntryWithNullValueAbsent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top