Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testTrustedGetFailure_notCompleted (0.41 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top