- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for assertThatFutureBecomesCancelled (0.43 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
fail("Expected future to fail: " + future); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(exception); } } static void assertThatFutureBecomesCancelled(Future<?> future) throws ExecutionException { try { getUninterruptibly(future); fail("Expected future to be canceled: " + future); } catch (CancellationException expected) { }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
fail("Expected future to fail: " + future); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(exception); } } static void assertThatFutureBecomesCancelled(Future<?> future) throws ExecutionException { try { getUninterruptibly(future); fail("Expected future to be canceled: " + future); } catch (CancellationException expected) { }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0)