Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAddAllAtIndex_negative (0.17 sec)

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

        assertThrows(NullPointerException.class, () -> getList().addAll(0, null));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_negative() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> getList().addAll(-1, MinimalCollection.of(e3())));
        expectUnchanged();
        expectMissing(e3());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertThrows(NullPointerException.class, () -> getList().addAll(0, null));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_negative() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> getList().addAll(-1, MinimalCollection.of(e3())));
        expectUnchanged();
        expectMissing(e3());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top