- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for UncheckedExecutionException (0.14 sec)
-
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} public void testCallWithTimeout_wrapsUncheckedException() throws Exception { Exception exception = new RuntimeException("test"); UncheckedExecutionException e = assertThrows( UncheckedExecutionException.class, () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS)); assertThat(e.getCause()).isEqualTo(exception); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} public void testCallWithTimeout_wrapsUncheckedException() throws Exception { Exception exception = new RuntimeException("test"); UncheckedExecutionException e = assertThrows( UncheckedExecutionException.class, () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS)); assertThat(e.getCause()).isEqualTo(exception); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_executionExceptionChecked() { UncheckedExecutionException expected = assertThrows( UncheckedExecutionException.class, () -> getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION)); assertEquals(CHECKED_EXCEPTION, expected.getCause()); } public void testGetUnchecked_executionExceptionUnchecked() { UncheckedExecutionException expected = assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_executionExceptionChecked() { UncheckedExecutionException expected = assertThrows( UncheckedExecutionException.class, () -> getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION)); assertEquals(CHECKED_EXCEPTION, expected.getCause()); } public void testGetUnchecked_executionExceptionUnchecked() { UncheckedExecutionException expected = assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UncheckedExecutionException.class, e -> e instanceof UncheckedExecutionException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException) .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
} public void testGetCheckedUntimed_executionExceptionUnchecked() throws TwoArgConstructorException { UncheckedExecutionException expected = assertThrows( UncheckedExecutionException.class, () -> getChecked(FAILED_FUTURE_UNCHECKED_EXCEPTION, TwoArgConstructorException.class)); assertThat(expected).hasCauseThat().isEqualTo(UNCHECKED_EXCEPTION); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
CacheBuilder.newBuilder().build(exceptionLoader(ee)); UncheckedExecutionException caughtUee = assertThrows(UncheckedExecutionException.class, () -> cacheUnchecked.get(new Object())); assertThat(caughtUee).hasCauseThat().isSameInstanceAs(uee); caughtUee = assertThrows( UncheckedExecutionException.class, () -> cacheUnchecked.getUnchecked(new Object()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.primitives.Primitives; import com.google.common.reflect.TypeToken; import com.google.common.util.concurrent.UncheckedExecutionException; import com.google.j2objc.annotations.Weak; import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UncheckedExecutionException.class, e -> e instanceof UncheckedExecutionException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException) .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UncheckedExecutionException.class, e -> e instanceof UncheckedExecutionException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException) .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0)