Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddAll_unsupportedNothing (0.12 sec)

  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) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top