- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 231 for AssertionError (0.08 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
Exception e = assertThrows( Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations()); assertThat(e).hasCauseThat().isInstanceOf(AssertionError.class); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testSubtypeOfInnerClass_nonStaticAnonymousClass() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { @Override public Object load(Object key) throws Exception { throw new AssertionError(); } @Override public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception { Map<Object, Object> result = Maps.newHashMap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Range.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
case OPEN: return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left); case CLOSED: return aggr.treeAggregate(node.left); } throw new AssertionError(); } else { return aggr.treeAggregate(node.left) + aggr.nodeAggregate(node) + aggregateBelowRange(aggr, node.right); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* appear in this multimap. */ @Override public ImmutableSet<K> keySet() { return map.keySet(); } @Override Set<K> createKeySet() { throw new AssertionError("unreachable"); } /** * Returns an immutable map that associates each key with its corresponding values in the * multimap. Keys and values appear in the same order as in this multimap. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
return null } override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) { throw AssertionError() } } val address = factory.newAddress( proxySelector = nullProxySelector, ) val routeSelector = newRouteSelector(address)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
*/ private static char[] growBuffer(char[] dest, int index, int size) { if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it throw new AssertionError("Cannot increase internal buffer any further"); } char[] copy = new char[size]; if (index > 0) { System.arraycopy(dest, 0, copy, 0, index); } return copy; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
// and resetting the stream. duplexResponseSent.await() } catch (e: InterruptedException) { throw AssertionError() } super.responseHeadersEnd(call, response) } } client = client.newBuilder() .eventListener(listener) .build() val body =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
try { in.copyTo(out); fail(); } catch (IOException expected) { return expected.getSuppressed().length; } throw new AssertionError(); // can't happen } private static ByteSource newNormalByteSource() { return ByteSource.wrap(new byte[10]); } private static ByteSink newNormalByteSink() { return new ByteSink() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0)