- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 169 for suppress (0.06 sec)
-
guava-testlib/test/com/google/common/collect/testing/AndroidIncompatible.java
import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with MediumTest or LargeTest. * * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the * documentation on another copy of this annotation}. */ @Retention(CLASS)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
*/ internal class AndroidCertificateChainCleaner( private val trustManager: X509TrustManager, private val x509TrustManagerExtensions: X509TrustManagerExtensions, ) : CertificateChainCleaner() { @Suppress("UNCHECKED_CAST") @Throws(SSLPeerUnverifiedException::class) @SuppressSignatureCheck override fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
"x509TrustManager", ) return x509TrustManager ?: readFieldOrNull( context, X509TrustManager::class.java, "trustManager", ) } companion object { @Suppress("UNCHECKED_CAST") fun buildIfSupported(packageName: String = "com.android.org.conscrypt"): SocketAdapter? = try { val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket>
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import kotlin.test.Test import okhttp3.HttpUrl.Companion.toHttpUrlOrNull /** Runs the web platform ToAscii tests. */ class WebPlatformToAsciiTest { @Suppress("ktlint:standard:max-line-length") val knownFailures = setOf( // OkHttp rejects empty labels. "x..xn--zca", "x..ß",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
System.err.println("No main for $className") } } catch (ite: InvocationTargetException) { if (!expectedFailure(className, ite.cause!!)) { throw ite.cause!! } } } @Suppress("UNUSED_PARAMETER") private fun expectedFailure( className: String, cause: Throwable, ): Boolean = when (className) { "okhttp3.recipes.CheckHandshake" -> true // by design
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
import okio.FileSystem import okio.Path import okio.Path.Companion.toOkioPath import okio.buffer import okio.source /** * Utilities for reading HPACK tests. */ object HpackJsonUtil { @Suppress("unused") private val MOSHI = Moshi .Builder() .add( object : Any() { @ToJson fun byteStringToJson(byteString: ByteString) = byteString.hex()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
() -> { Object unused = getSubjectGenerator().create(array); }); } /** * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskLoggerTest.kt
* limitations under the License. */ package okhttp3.internal.concurrent import assertk.assertThat import assertk.assertions.isEqualTo import org.junit.jupiter.api.Test class TaskLoggerTest { @Suppress("ktlint") @Test fun formatTime() { assertThat(formatDuration(-3_499_999_999L)).isEqualTo(" -3 s ") assertThat(formatDuration(-3_000_000_000L)).isEqualTo(" -3 s ")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
getSet().hashCode()); } /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() { return new Method[] {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0)