Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testContainsKey (0.37 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        boolean unused = create().isEmpty();
      }
    
      public void testRemove() {
        create().remove(null);
      }
    
      public void testClear() {
        create().clear();
      }
    
      public void testContainsKey() {
        boolean unused = create().containsKey(null);
      }
    
      public void testContainsValue() {
        boolean unused = create().containsValue(null);
      }
    
      public void testGet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("ONE"), is(true));
            assertThat(map.containsKey("one"), is(true));
            assertThat(map.containsKey("onex"), is(not(true)));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.containsValue("test2"), is(true));
            assertThat(map.containsValue("test3"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("2"), is(true));
            assertThat(map.containsKey("3"), is(not(true)));
            map.put("3", null);
            assertThat(map.containsKey("3"), is(true));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        }
        assertInvariants(map);
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      public void testContainsKey() {
        Map<K, V> map;
        K unmappedKey;
        try {
          map = makePopulatedMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top