- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for SomeError (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertEquals(result, future.get()); assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testOnSuccessThrowsError() throws Exception { SomeError error = new SomeError(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1]; FutureCallback<String> callback =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertEquals(result, future.get()); assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testOnSuccessThrowsError() throws Exception { SomeError error = new SomeError(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1]; FutureCallback<String> callback =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
// We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_error() { assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError())); } @SuppressWarnings("ThrowIfUncheckedKnownChecked") public void testThrowIfUnchecked_checked() { throwIfUnchecked(new SomeCheckedException()); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
// We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_error() { assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError())); } @SuppressWarnings("ThrowIfUncheckedKnownChecked") public void testThrowIfUnchecked_checked() { throwIfUnchecked(new SomeCheckedException()); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.3K bytes - Viewed (0)