Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFinishToFuture_throwsAfterCallingFinishToValueAndCloser (0.23 sec)

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

        assertThrows(
            IllegalStateException.class,
            () -> {
              FluentFuture<Closeable> unused2 = closingFuture.finishToFuture();
            });
      }
    
      public void testFinishToFuture_throwsAfterCallingFinishToValueAndCloser() throws Exception {
        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
    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