- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 187 for AssertionError (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
// and resetting the stream. duplexResponseSent.await() } catch (e: InterruptedException) { throw AssertionError() } super.responseHeadersEnd(call, response) } } client = client .newBuilder() .eventListener(listener) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
assertThat(state()).isEqualTo(Service.State.STOPPING); notifyStopped(); } @Override protected void doStop() { throw new AssertionError(); // Should not be called. } }; ServiceManager manager = new ServiceManager(asList(a)); manager.startAsync(); manager.stopAsync(); manager.awaitStopped(10, MILLISECONDS);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
} else { total += ContiguousSet.create(range, domain).size(); } } throw new AssertionError("impossible"); } return -1; } @Override ImmutableSortedSet<C> createDescendingSet() { return new DescendingImmutableSortedSet<>(this); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
+ testedClass); } catch (InvocationTargetException e) { Throwable cause = e.getCause(); if (policy.isExpectedType(cause)) { return; } throw new AssertionError( String.format( "wrong exception thrown from %s when passing null to %s parameter at index %s.%n" + "Full parameters: %s%n" + "Actual exception message: %s",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
// interpreted in little-endian order. int verification = Integer.reverseBytes(Ints.fromByteArray(result)); if (expected != verification) { throw new AssertionError( "Expected: " + Integer.toHexString(expected) + " got: " + Integer.toHexString(verification)); } } static final Funnel<Object> BAD_FUNNEL =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
return captureAsTypeVariable(wildcardType.getUpperBounds()); } else { // TODO(benyu): handle ? super T somehow. return type; } } throw new AssertionError("must have been one of the known types"); } TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { String name =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
} catch (SocketException | UnknownHostException e) { throw new IllegalArgumentException("No such interface: " + scope, e); } } catch (UnknownHostException e) { throw new AssertionError(e); } } /** * Returns the string representation of an {@link InetAddress}. * * <p>For IPv4 addresses, this is identical to {@link InetAddress#getHostAddress()}, but for IPv6
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
return new NodeIterator(index); } } return new EntriesImpl(); } @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new Multimaps.AsMap<>(this); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0)