Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_containsKey (0.06 sec)

  1. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.put("intKey", 999);
            assertEquals("999", dataStoreParams.getAsString("intKey", "defaultValue"));
        }
    
        // Test containsKey
        public void test_containsKey() {
            assertFalse(dataStoreParams.containsKey("key1"));
    
            dataStoreParams.put("key1", "value1");
            assertTrue(dataStoreParams.containsKey("key1"));
    
            dataStoreParams.put("key2", null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. 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)
  3. 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