Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCheckPositionIndex_withDesc_negative (0.3 sec)

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

          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("index (2) must not be greater than size (1)");
        }
      }
    
      public void testCheckPositionIndex_withDesc_negative() {
        try {
          Preconditions.checkPositionIndex(-1, 1, "foo");
          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

          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("index (2) must not be greater than size (1)");
        }
      }
    
      public void testCheckPositionIndex_withDesc_negative() {
        try {
          Preconditions.checkPositionIndex(-1, 1, "foo");
          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