Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetCheckedUntimed_badExceptionConstructor_wrapsOriginalChecked (0.28 sec)

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

          throws Exception {
        assertThrows(
            IllegalArgumentException.class,
            () -> getChecked(immediateFuture("x"), ExceptionWithBadConstructor.class));
      }
    
      public void testGetCheckedUntimed_badExceptionConstructor_wrapsOriginalChecked()
          throws Exception {
        assertThrows(
            IllegalArgumentException.class,
            () -> getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithBadConstructor.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