Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for callUninterruptiblyWithTimeout (0.08 sec)

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

            TimeoutException.class,
            () -> service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS));
      }
    
      public void testCallUninterruptiblyWithTimeout_badCallableWithEnoughTime() throws Exception {
        ExecutionException expected =
            assertThrows(
                ExecutionException.class,
                () -> service.callUninterruptiblyWithTimeout(BAD_CALLABLE, ENOUGH_MS, MILLISECONDS));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception {
        String result =
            timeLimiter.callUninterruptiblyWithTimeout(
                Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testRunWithTimeout_returnsWithoutException() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception {
        String result =
            timeLimiter.callUninterruptiblyWithTimeout(
                Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testRunWithTimeout_returnsWithoutException() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top