- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestValueFactory (0.07 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable { var taskFaker: TaskFaker = TaskFaker() var taskRunner: TaskRunner = taskFaker.taskRunner var dns: Dns = Dns.SYSTEM var proxy: Proxy = Proxy.NO_PROXY
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
import java.net.UnknownHostException import kotlin.test.assertFailsWith import okhttp3.Address import okhttp3.FakeDns import okhttp3.OkHttpClientTestRule import okhttp3.Request import okhttp3.Route import okhttp3.TestValueFactory import okhttp3.internal.connection.RouteSelector.Companion.socketHost import okhttp3.internal.http.RealInterceptorChain import okhttp3.internal.http.RecordingProxySelector import okhttp3.testing.PlatformRule
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
"VARIABLE_WITH_REDUNDANT_INITIALIZER", "RedundantLambdaArrow", "RedundantExplicitType", "IMPLICIT_NOTHING_AS_TYPE_PARAMETER", ) @Disabled class KotlinSourceModernTest { private val factory = TestValueFactory() @BeforeEach fun disabled() { assumeFalse(true) } @AfterEach fun tearDown() { factory.close() } @Test fun address() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0)