Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testAddAll_unsupportedNothing (0.11 seconds)

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

        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
        } catch (UnsupportedOperationException tolerated) {
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top