Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRemove_occurrences_negative (0.35 sec)

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

            "multiset.remove(E, 0) didn't return the old count",
            oldCount,
            getMultiset().remove(e0(), 0));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_negative() {
        try {
          getMultiset().remove(e0(), -1);
          fail("multiset.remove(E, -1) didn't throw an exception");
        } catch (IllegalArgumentException required) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

            "multiset.remove(E, 0) didn't return the old count",
            oldCount,
            getMultiset().remove(e0(), 0));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_negative() {
        try {
          getMultiset().remove(e0(), -1);
          fail("multiset.remove(E, -1) didn't throw an exception");
        } catch (IllegalArgumentException required) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top