Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top