- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 202 for AssertionError (0.25 sec)
-
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
future.cancel(true /* mayInterruptIfRunning */); throw e; } catch (ExecutionException e) { wrapAndThrowExecutionExceptionOrError(e.getCause()); throw new AssertionError(); } } @CanIgnoreReturnValue @Override @ParametricNullness public <T extends @Nullable Object> T callUninterruptiblyWithTimeout(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// TODO(dpb): Use Expect once that supports JUnit 3, or we can use JUnit 4. final List<AssertionError> failures = new ArrayList<>(); final StandardSubjectBuilder expect = StandardSubjectBuilder.forCustomFailureStrategy( new FailureStrategy() { @Override public void fail(AssertionError failure) { failures.add(failure); } });
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 75.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
BoundType boundType, DiscreteDomain<Comparable<?>> domain) { throw new AssertionError("this statement should be unreachable"); } @Override void describeAsLowerBound(StringBuilder sb) { sb.append("(-\u221e"); } @Override void describeAsUpperBound(StringBuilder sb) { throw new AssertionError(); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 12.3K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java
checkState(future.isDone(), "Future was expected to be done: %s", future); try { return future.get(0, SECONDS); } catch (InterruptedException e) { throw new AssertionError(); } catch (TimeoutException e) { throw new AssertionError(); } } private TestPlatform() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Nov 26 19:19:13 GMT 2018 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 13 20:26:15 GMT 2017 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
rethrow(e); } throw new AssertionError("Unreachable"); } @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { try { super.get(timeout, unit); } catch (ExecutionException e) { rethrow(e); } throw new AssertionError("Unreachable"); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 12 20:02:10 GMT 2018 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
&& packagesToTest.contains(Reflection.getPackageName(instance.getClass()))) { try { nullPointerTester.testAllPublicInstanceMethods(instance); } catch (AssertionError e) { AssertionError error = new AssertionFailedError("Null check failed on return value of " + factory); error.initCause(e); throw error; } } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
@Override public Integer computeNext() { if (haveBeenCalled) { throw new AssertionError("Should not have been called again"); } else { haveBeenCalled = true; sneakyThrow(new SomeCheckedException()); throw new AssertionError(); // unreachable } } };
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closeables.java
* @since 17.0 */ public static void closeQuietly(@CheckForNull InputStream inputStream) { try { close(inputStream, true); } catch (IOException impossible) { throw new AssertionError(impossible); } } /** * Closes the given {@link Reader}, logging any {@code IOException} that's thrown rather than * propagating it. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 4.7K bytes - Viewed (0)