Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFinishToFuture_preventsFurtherDerivation (0.26 sec)

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

        assertThrows(
            IllegalStateException.class,
            () -> {
              FluentFuture<Closeable> unused = closingFuture.finishToFuture();
            });
      }
    
      public void testFinishToFuture_preventsFurtherDerivation() {
        ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1"));
        FluentFuture<String> unused = closingFuture.finishToFuture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top