Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTrustedGetFailure_notCompleted (0.18 sec)

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

        Throwable failure = new Throwable();
        future.setException(failure);
        assertThat(future.tryInternalFastPathGetFailure()).isEqualTo(failure);
      }
    
      public void testTrustedGetFailure_notCompleted() {
        SettableFuture<String> future = SettableFuture.create();
        assertThat(future.isDone()).isFalse();
        assertThat(future.tryInternalFastPathGetFailure()).isNull();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top