- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testSetFuture_misbehavingFutureDoesNotThrow (0.2 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) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString()); } public void testSetFuture_misbehavingFutureDoesNotThrow() throws Exception { SettableFuture<String> future = SettableFuture.create(); ListenableFuture<String> badFuture = new ListenableFuture<String>() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString()); } public void testSetFuture_misbehavingFutureDoesNotThrow() throws Exception { SettableFuture<String> future = SettableFuture.create(); ListenableFuture<String> badFuture = new ListenableFuture<String>() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0)