Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testPutAll (0.04 sec)

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

        Multimap<K, V> target = getSubjectGenerator().create();
        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll() {
        Multimap<K, V> source =
            getSubjectGenerator().create(mapEntry(k0(), v3()), mapEntry(k3(), v3()));
        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

            assertThat(map.size(), is(1));
            assertThat(map.remove("dummy"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPutAll() throws Exception {
            final Map<String, String> m = new HashMap<String, String>();
            m.put("three", "3");
            m.put("four", "4");
            map.putAll(m);
            assertThat(map.get("THREE"), is("3"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      }
    
      public void testGet() {
        Object unused = create().get(null);
      }
    
      public void testPut() {
        create().put(null, null);
      }
    
      public void testPutAll() {
        create().putAll(new HashMap<String, Integer>());
      }
    
      public void testKeySet() {
        Map<String, Integer> map = create();
        Set<String> keySet = map.keySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top