- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testSetFuture_misbehavingFutureDoesNotThrow (0.38 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
CancellationException e = assertThrows(CancellationException.class, () -> future.get()); assertThat(e.getCause()).isNotNull(); } public void testSetFuture_misbehavingFutureDoesNotThrow() throws Exception { ListenableFuture<String> badFuture = new ListenableFuture<String>() { @Override public boolean cancel(boolean interrupt) { return false;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.2K bytes - Click Count (0)