Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCheckElementIndex_negative (0.36 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

          // don't care what the message text is, as this is an invalid usage of
          // the Preconditions class, unlike all the other exceptions it throws
        }
      }
    
      public void testCheckElementIndex_negative() {
        try {
          Preconditions.checkElementIndex(-1, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          // don't care what the message text is, as this is an invalid usage of
          // the Preconditions class, unlike all the other exceptions it throws
        }
      }
    
      public void testCheckElementIndex_negative() {
        try {
          Preconditions.checkElementIndex(-1, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top