Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveAtIndex_tooLarge (0.17 sec)

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

        assertThrows(IndexOutOfBoundsException.class, () -> getList().remove(-1));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      public void testRemoveAtIndex_tooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().remove(getNumElements()));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top