Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for callUninterruptiblyWithTimeout (0.65 seconds)

  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));
    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.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));
    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

        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 {
    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

        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 {
    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