- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testTrustedGetFailure_notCompleted (0.18 sec)
-
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)