Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testWithTimeout (0.07 sec)

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

                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(2);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // withTimeout
      public void testWithTimeout() throws Exception {
        ScheduledExecutorService executor = newScheduledThreadPool(1);
        try {
          FluentFuture<?> f =
              FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top