Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for runUninterruptiblyWithTimeout (0.99 seconds)

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

            TimeoutException.class,
            () -> service.runUninterruptiblyWithTimeout(GOOD_RUNNABLE, NOT_ENOUGH_MS, MILLISECONDS));
      }
    
      public void testRunUninterruptiblyWithTimeout_badRunnableWithEnoughTime() throws Exception {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class,
                () -> service.runUninterruptiblyWithTimeout(BAD_RUNNABLE, ENOUGH_MS, MILLISECONDS));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

            TimeoutException.class,
            () -> service.runUninterruptiblyWithTimeout(GOOD_RUNNABLE, NOT_ENOUGH_MS, MILLISECONDS));
      }
    
      public void testRunUninterruptiblyWithTimeout_badRunnableWithEnoughTime() throws Exception {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class,
                () -> service.runUninterruptiblyWithTimeout(BAD_RUNNABLE, ENOUGH_MS, MILLISECONDS));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
                () ->
                    timeLimiter.runUninterruptiblyWithTimeout(
                        runnableThrowing(exception), DELAY_MS, MILLISECONDS));
        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      private static <T> Callable<T> callableThrowing(Exception exception) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
                () ->
                    timeLimiter.runUninterruptiblyWithTimeout(
                        runnableThrowing(exception), DELAY_MS, MILLISECONDS));
        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      private static <T> Callable<T> callableThrowing(Exception exception) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top