Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for expectNullKeyMissingWhenNullKeysUnsupported (0.82 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullKeyMissingWhenNullKeysUnsupported("containsKey(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 26 21:06:36 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPutIfAbsent_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3()));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> putAll(containsNullKey));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putAll(containsNullKey)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAll_nullValueSupported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPutIfAbsent_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3()));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> put(nullKeyEntry));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported put(null, value)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> putAll(containsNullKey));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putAll(containsNullKey)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAll_nullValueSupported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> put(nullKeyEntry));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported put(null, value)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top