- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 231 for AssertionError (0.12 sec)
-
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
} catch (InvocationTargetException e) { if (exception != e.getCause()) { throw new RuntimeException(e); } } catch (IllegalAccessException e) { throw new AssertionError(e); } } private static <T> void testEquals( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { FreshValueGenerator generator = new FreshValueGenerator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
*/ return null; } try { return finalizableReferenceClass.getMethod("finalizeReferent"); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } @CheckForNull private static Field getInheritableThreadLocalsField() { try { Field inheritableThreadLocals = Thread.class.getDeclaredField("inheritableThreadLocals");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
if (address.size == 16) return inet6AddressToAscii(address) if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address. throw AssertionError("Invalid IPv6 address: '$host'") } val result = idnToAscii(host) ?: return null if (result.isEmpty()) return null if (result.containsInvalidHostnameAsciiCodes()) return null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
for (ClassPath.ClassInfo classInfo : classes) { if (classInfo.getName().equals(cls.getName())) { return classInfo; } } throw new AssertionError("failed to find " + cls); } private static ResourceInfo resourceInfo(Class<?> cls) { String resource = cls.getName().replace('.', '/') + ".class"; ClassLoader loader = cls.getClassLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
try { return newSSLContext().apply { init(null, arrayOf<TrustManager>(trustManager), null) }.socketFactory } catch (e: GeneralSecurityException) { throw AssertionError("No System TLS: $e", e) // The system has no TLS. Just give up. } } override fun toString(): String = javaClass.simpleName companion object { @Volatile private var platform = findPlatform()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
public void close() throws IOException { closed = true; if (throwOnClose != null) { throwIfInstanceOf(throwOnClose, IOException.class); throwIfUnchecked(throwOnClose); throw new AssertionError(throwOnClose); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override Collection<V> createValues() { return new FilteredMultimapValues<>(this); } @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new AsMap(); } @Override Set<K> createKeySet() { return asMap().keySet(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class); // sanity check - this should never fail if (theUnsafe.arrayIndexScale(byte[].class) != 1) { throw new AssertionError(); } } } /** Fallback implementation for when Unsafe is not available in our current environment. */ private enum JavaLittleEndianBytes implements LittleEndianBytes { INSTANCE {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} ExecResult assertZeroExit() { if (code != 0) { throw new AssertionError(String.format("%s return:\n%s\n%s\n", Arrays.toString(args), stdout, stderr)); } return this; } } private static ExecResult run(String... args) { try {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.6K bytes - Viewed (0)