Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddOccurrences_unsupported (0.11 sec)

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

        assertEquals(originalCount + 3, getMultiset().add(e0(), 1));
        assertEquals(originalCount + 4, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddOccurrences_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0(), 2));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddOccurrencesNegative() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top