Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testTransformAsync (0.09 sec)

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

                        return input + 1;
                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(2);
      }
    
      public void testTransformAsync() throws Exception {
        FluentFuture<Integer> f =
            FluentFuture.from(immediateFuture(1))
                .transformAsync(
                    new AsyncFunction<Integer, Integer>() {
                      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                    },
                    executor);
        assertFinallyFailsWithException(closingFuture);
        waitUntilClosed(closingFuture);
        assertClosed(closeable1, closeable2);
      }
    
      public void testTransformAsync() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(immediateFuture("value"))
                .transformAsync(
                    new AsyncClosingFunction<String, TestCloseable>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
Back to top