Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetCheckedUntimed_exceptionClassIsRuntimeException (0.23 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      // Edge case tests of the exception-construction code through untimed get():
    
      @SuppressWarnings("FuturesGetCheckedIllegalExceptionType")
      public void testGetCheckedUntimed_exceptionClassIsRuntimeException() {
        assertThrows(
            IllegalArgumentException.class,
            () -> getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, TwoArgConstructorRuntimeException.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top