Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPut_replaceNullValueWithNullSupported (1.39 sec)

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

            "Should not contain null after unsupported put(present, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPut_replaceNullValueWithNullSupported() {
        initMapWithNullValue();
        assertNull(
            "put(present, null) should return the associated value (null)",
            getMap().put(getKeyForNullValue(), null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

            "Should not contain null after unsupported put(present, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPut_replaceNullValueWithNullSupported() {
        initMapWithNullValue();
        assertNull(
            "put(present, null) should return the associated value (null)",
            getMap().put(getKeyForNullValue(), null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top