Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testPutNullValue (0.11 seconds)

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

          assertTrue(map.containsValue(valueToPut));
        } else {
          assertThrows(RuntimeException.class, () -> map.put(null, valueToPut));
        }
        assertInvariants(map);
      }
    
      public void testPutNullValue() {
        if (!supportsPut) {
          return;
        }
        Map<K, V> map = makeEitherMap();
        K keyToPut;
        try {
          keyToPut = getKeyNotInPopulatedMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertTrue(map.containsValue(valueToPut));
        } else {
          assertThrows(RuntimeException.class, () -> map.put(null, valueToPut));
        }
        assertInvariants(map);
      }
    
      public void testPutNullValue() {
        if (!supportsPut) {
          return;
        }
        Map<K, V> map = makeEitherMap();
        K keyToPut;
        try {
          keyToPut = getKeyNotInPopulatedMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
Back to Top