Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertThatFutureBecomesCancelled (0.5 sec)

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

        }
        valueAndCloser.closeAsync();
      }
    
      @Override
      void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
        assertThatFutureBecomesCancelled(closingFuture.statusFuture());
      }
    
      @Override
      void waitUntilClosed(ClosingFuture<?> closingFuture) {
        if (valueAndCloser != null) {
          valueAndCloser.closeAsync();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

        assertThatFutureFailsWithException(closingFuture.finishToFuture());
      }
    
      @Override
      void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
        assertThatFutureBecomesCancelled(closingFuture.finishToFuture());
      }
    
      @Override
      void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) {
        assertThat(closingFuture.finishToFuture().cancel(false)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        }
        valueAndCloser.closeAsync();
      }
    
      @Override
      void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
        assertThatFutureBecomesCancelled(closingFuture.statusFuture());
      }
    
      @Override
      void waitUntilClosed(ClosingFuture<?> closingFuture) {
        if (valueAndCloser != null) {
          valueAndCloser.closeAsync();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top