Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCallWithTimeout_badCallableWithEnoughTime (0.44 sec)

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

        assertThrows(
            TimeoutException.class,
            () -> service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS));
      }
    
      public void testCallWithTimeout_badCallableWithEnoughTime() throws Exception {
        ExecutionException expected =
            assertThrows(
                ExecutionException.class,
                () -> service.callWithTimeout(BAD_CALLABLE, ENOUGH_MS, MILLISECONDS));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        assertThrows(
            TimeoutException.class,
            () -> service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS));
      }
    
      public void testCallWithTimeout_badCallableWithEnoughTime() throws Exception {
        ExecutionException expected =
            assertThrows(
                ExecutionException.class,
                () -> service.callWithTimeout(BAD_CALLABLE, ENOUGH_MS, MILLISECONDS));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top