Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for expectNullValueMissingWhenNullValuesUnsupported (0.17 sec)

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

      public void testPutIfAbsent_nullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(k3(), null));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported put(key, null)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> put(nullValueEntry));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported put(key, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      public void testPutIfAbsent_nullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(k3(), null));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported put(key, null)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(k3(), null));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported putIfAbsent(key, null)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(k3(), null));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported putIfAbsent(key, null)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> put(nullValueEntry));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported put(key, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullValueMissingWhenNullValuesUnsupported(
            "containsValue(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullValueMissingWhenNullValuesUnsupported(
            "containsValue(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_nullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> putAll(containsNullValue));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported putAll(containsNullValue)");
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_nullCollectionReference() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_nullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> putAll(containsNullValue));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null value after unsupported putAll(containsNullValue)");
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_nullCollectionReference() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top