- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 134 for mockwebserver3 (0.24 sec)
-
okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
import assertk.assertions.isNotEmpty import assertk.assertions.isNull import assertk.fail import java.net.InetAddress import java.net.UnknownHostException import java.util.concurrent.CountDownLatch import mockwebserver3.MockResponse import mockwebserver3.junit4.MockWebServerRule import okhttp3.AsyncDns import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.tls.HandshakeCertificates
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0) -
mockwebserver/build.gradle.kts
plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } tasks.jar { manifest { attributes("Automatic-Module-Name" to "mockwebserver3") } } dependencies { api(projects.okhttp) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.okhttpTls) testRuntimeOnly(projects.mockwebserver3Junit5)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 743 bytes - Viewed (0) -
okhttp-sse/build.gradle.kts
"Bundle-SymbolicName: com.squareup.okhttp3.sse" ) dependencies { api(projects.okhttp) compileOnly(libs.findbugs.jsr305) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5) testImplementation(libs.junit) testCompileOnly(libs.findbugs.jsr305) } mavenPublishing { configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 754 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
import java.time.Duration import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicReference import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.TestUtil.repeat import okhttp3.testing.Flaky import okio.BufferedSink import org.junit.jupiter.api.BeforeEach
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
*/ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isIn import javax.net.ssl.SSLSocket import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.CipherSuite.Companion.TLS_AES_128_GCM_SHA256 import okhttp3.CipherSuite.Companion.TLS_AES_256_GCM_SHA384 import okhttp3.CipherSuite.Companion.TLS_CHACHA20_POLY1305_SHA256
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
import java.util.concurrent.TimeUnit.MILLISECONDS import javax.net.ServerSocketFactory import javax.net.SocketFactory import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.Call import okhttp3.CallEvent import okhttp3.CallEvent.CallEnd import okhttp3.CallEvent.CallStart import okhttp3.CallEvent.Canceled import okhttp3.CallEvent.ConnectEnd
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
import kotlin.test.assertFailsWith import mockwebserver3.Dispatcher import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.PushPromise import mockwebserver3.QueueDispatcher import mockwebserver3.RecordedRequest import mockwebserver3.SocketPolicy.DisconnectAtEnd import mockwebserver3.SocketPolicy.NoResponse import mockwebserver3.SocketPolicy.ResetStreamAtStart
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerInstance.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3.junit5.internal import okhttp3.ExperimentalOkHttpApi @ExperimentalOkHttpApi annotation class MockWebServerInstance( val name: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 764 bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/SleepNanos.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package mockwebserver3.internal internal fun sleepNanos(nanos: Long) { val ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) if (ms > 0L || nanos > 0) { Thread.sleep(ms, ns.toInt()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 811 bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3 import okhttp3.ExperimentalOkHttpApi /** * Handles a call's stream directly. Use this instead of [MockResponseBody] to begin sending * response data before all request data has been received. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 945 bytes - Viewed (0)