- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for Kersting (0.3 sec)
-
mockwebserver/README.md
MockWebServer ============= A scriptable web server for testing HTTP clients ### Motivation This library makes it easy to test that your app Does The Right Thing when it makes HTTP and HTTPS calls. It lets you specify which responses to return and then verify that requests were made as expected. Because it exercises your full HTTP stack, you can be confident that you're
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
import java.net.http.HttpRequest import java.net.http.HttpResponse.BodyHandlers import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension /** * Java HTTP Client. * * https://openjdk.java.net/groups/net/httpclient/intro.html
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.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 okhttp3.testing @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) /** * Annotation marking a test as flaky, and requires extra logging and linking against
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 902 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt
* limitations under the License. */ package okhttp3.internal import java.net.InetAddress import okhttp3.Dns /** * A network that always resolves two IP addresses per host. Use this when testing route selection * fallbacks to guarantee that a fallback address is available. */ class DoubleInetAddressDns : Dns { override fun lookup(hostname: String): List<InetAddress> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Dec 23 10:26:25 GMT 2023 - 1K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.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 okhttp3.testing import okhttp3.internal.platform.Platform import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension /** * Validates which environment is used by the IDE. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
import mockwebserver3.MockWebServer import okhttp3.TestUtil.assumeNetwork import okhttp3.internal.connectionAccessor import okhttp3.internal.exchangeAccessor import okhttp3.internal.platform.OpenJSSEPlatform import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Disabled
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 3.7K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
import assertk.assertions.isTrue import okhttp3.Dns import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClientTestRule import okhttp3.Request import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import okhttp3.tls.internal.TlsUtil.localhost import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
import mockwebserver3.SocketPolicy.DoNotReadRequestBody import okhttp3.Headers.Companion.headersOf import okhttp3.internal.duplex.AsyncRequestBody import okhttp3.internal.http2.ErrorCode import okhttp3.testing.PlatformRule import okio.BufferedSink import okio.IOException import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt
/** * Shutdown the socket input after sending the response. For testing bad behavior. * * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it. */ object ShutdownInputAtEnd : SocketPolicy /** * Shutdown the socket output after sending the response. For testing bad behavior. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 4.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.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 okhttp3.testing object PlatformVersion { val majorVersion: Int by lazy { when (val jvmSpecVersion = getJvmSpecVersion()) { "1.8" -> 8 else -> jvmSpecVersion.toInt() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 917 bytes - Viewed (0)