- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for callWithTimeout (0.07 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
super.setUp(); timeLimiter = new FakeTimeLimiter(); } public void testCallWithTimeout_propagatesReturnValue() throws Exception { String result = timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS); assertThat(result).isEqualTo(RETURN_VALUE); } public void testCallWithTimeout_wrapsCheckedException() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
super.setUp(); timeLimiter = new FakeTimeLimiter(); } public void testCallWithTimeout_propagatesReturnValue() throws Exception { String result = timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS); assertThat(result).isEqualTo(RETURN_VALUE); } public void testCallWithTimeout_wrapsCheckedException() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
assertThrows( TimeoutException.class, () -> service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS)); } public void testCallWithTimeout_badCallableWithEnoughTime() throws Exception { ExecutionException expected = assertThrows( ExecutionException.class, () -> service.callWithTimeout(BAD_CALLABLE, ENOUGH_MS, MILLISECONDS));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 9.7K bytes - Click Count (0)