- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for throwingRuntimeException (0.09 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertTrue(output.isCancelled()); } public void testTransform_getThrowsRuntimeException() throws Exception { ListenableFuture<Object> input = UncheckedThrowingFuture.throwingRuntimeException(new SomeUncheckedException()); ListenableFuture<Object> output = transform(input, identity(), directExecutor()); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(output));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertTrue(output.isCancelled()); } public void testTransform_getThrowsRuntimeException() throws Exception { ListenableFuture<Object> input = UncheckedThrowingFuture.throwingRuntimeException(new SomeUncheckedException()); ListenableFuture<Object> output = transform(input, identity(), directExecutor()); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(output));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)