- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 181 for Suppress (0.12 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt
import okhttp3.internal.http.hasBody import org.junit.jupiter.api.Assertions.assertFalse import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test @Suppress("DEPRECATION_ERROR") class PublicInternalApiTest { @Test fun permitsRequestBody() { assertTrue(permitsRequestBody("POST")) assertFalse(permitsRequestBody("GET")) } @TestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
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[] {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
List<E> expected = copyToList(array); expected.add(null); expectContents(expected); } /** * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddSupportedNullPresentMethod() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt
*/ package okhttp3.internal.connection import assertk.assertThat import assertk.assertions.isEqualTo import java.net.Inet4Address import java.net.Inet6Address import org.junit.jupiter.api.Test @Suppress("ktlint:standard:property-naming") class InetAddressOrderTest { val ipv4_10_0_0_6 = Inet4Address.getByName("10.0.0.6") val ipv4_10_0_0_1 = Inet4Address.getByName("10.0.0.1")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
* changes: https://mail.openjdk.org/pipermail/core-libs-dev/2013-May/thread.html#17367 * * TODO(cpovirk): decide what the best long-term action here is: force users * to suppress (as we do now), stop testing entrySet().add() at all, make * entrySet().add() tests tolerant of either behavior, introduce a map * feature for entrySet() that supports add(), or something else */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.9K bytes - Click Count (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 // reflectionCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension @Suppress("UsePropertyAccessSyntax") @Timeout(6) @Tag("slow") @Burst class SocketChannelTest { @JvmField @RegisterExtension val platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (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[] {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 3.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
} /** * Sorts the given list of [AcceptedApiChange]s by type and member. * <p> * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer]. */ @Suppress("KDocUnresolvedReference") protected fun sortChanges(originalChanges: List<AcceptedApiChange>) = originalChanges.toMutableList().sortedBy { it.type + '#' + it.member } @VisibleForTestingCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 04 14:00:46 GMT 2024 - 2.9K bytes - Click Count (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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 2.8K bytes - Click Count (0)