Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSetFutureDelegateAlreadyCancelled (0.19 sec)

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

      public void testSetFutureDelegateLaterSuccessful() throws Exception {
        assertThat(future.setFuture(delegate)).isTrue();
        delegate.set(6);
        assertSuccessful(future, 6);
      }
    
      public void testSetFutureDelegateAlreadyCancelled() throws Exception {
        delegate.cancel(
            false
            /** mayInterruptIfRunning */
            );
        assertThat(future.setFuture(delegate)).isTrue();
        assertCancelled(future, false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      public void testSetFutureDelegateLaterSuccessful() throws Exception {
        assertThat(future.setFuture(delegate)).isTrue();
        delegate.set(6);
        assertSuccessful(future, 6);
      }
    
      public void testSetFutureDelegateAlreadyCancelled() throws Exception {
        delegate.cancel(
            false
            /** mayInterruptIfRunning */
            );
        assertThat(future.setFuture(delegate)).isTrue();
        assertCancelled(future, false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top