Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 82 of 82 for expectUnchanged (0.06 sec)

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

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutNullValue_unsupported() {
        assertThrows(NullPointerException.class, () -> multimap().put(k1(), null));
    
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testPutNullKey() {
        int size = getNumElements();
    
        multimap().put(null, v3());
    
        assertGet(null, v3());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * examining whether the features include KNOWN_ORDER?
       */
      protected void expectContents(Collection<E> expected) {
        assertEqualIgnoringOrder(expected, actualContents());
      }
    
      protected void expectUnchanged() {
        expectContents(getOrderedElements());
      }
    
      /**
       * Asserts that the collection under test contains exactly the elements it was initialized with
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top