Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for initMultimapWithNullValue (0.31 sec)

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

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMultimapWithNullValue();
        assertContains(multimap().entries(), mapEntry(getKeyForNullValue(), (V) null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsEntryWithNullValueAbsent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testEqualsMultimapWithNullValue() {
        Multimap<K, V> original = multimap();
        initMultimapWithNullValue();
        Multimap<K, V> withNull = multimap();
        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testSizeNullValue() {
        initMultimapWithNullValue();
        assertEquals(getNumElements(), multimap().size());
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testToStringWithNullValue() {
        initMultimapWithNullValue();
        testToStringMatchesAsMap();
      }
    
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringMatchesAsMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testSizeNullValue() {
        initMultimapWithNullValue();
        assertEquals(getNumElements(), multimap().size());
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

        assertFalse(multimap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContainsNullValueYes() {
        initMultimapWithNullValue();
        assertTrue(multimap().containsValue(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsNullValueNo() {
        assertFalse(multimap().containsValue(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testToStringWithNullValue() {
        initMultimapWithNullValue();
        testToStringMatchesAsMap();
      }
    
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringMatchesAsMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

          assertGet(k, expectedValues);
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue_null() {
        initMultimapWithNullValue();
        assertFalse(multimap().put(getKeyForNullValue(), null));
        expectContents(createArrayWithNullValue());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testEqualsMultimapWithNullValue() {
        Multimap<K, V> original = multimap();
        initMultimapWithNullValue();
        Multimap<K, V> withNull = multimap();
        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        }
        return entries.next();
      }
    
      protected void initMultimapWithNullKey() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKey()));
      }
    
      protected void initMultimapWithNullValue() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullValue()));
      }
    
      protected void initMultimapWithNullKeyAndValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top