Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testPropagatesAddToMultimap (0.13 sec)

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

        assertThrows(NullPointerException.class, () -> result.add(null));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPropagatesAddToMultimap() {
        Collection<V> result = multimap().asMap().get(k0());
        result.add(v3());
        assertContentsAnyOrder(multimap().get(k0()), v0(), v3());
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        assertThrows(NullPointerException.class, () -> result.add(null));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPropagatesAddToMultimap() {
        Collection<V> result = multimap().asMap().get(k0());
        result.add(v3());
        assertContentsAnyOrder(multimap().get(k0()), v0(), v3());
      }
    
      @CollectionSize.Require(absent = ZERO)
    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/MultimapGetTester.java

        Collection<V> result = multimap().get(k0());
        assertTrue(result.remove(v0()));
        assertGet(k0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPropagatesAddToMultimap() {
        Collection<V> result = multimap().get(k0());
        assertTrue(result.add(v3()));
        assertTrue(multimap().containsKey(k0()));
        assertEquals(getNumElements() + 1, multimap().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top