Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RequestTest (0.09 sec)

  1. okhttp/src/test/java/okhttp3/RequestTest.kt

    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class RequestTest {
      @Test
      fun constructor() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. native-image-tests/src/main/resources/testlist.txt

    okhttp3.MediaTypeTest
    okhttp3.MultipartBodyTest
    okhttp3.MultipartReaderTest
    okhttp3.OkHttpClientTest
    okhttp3.OkHttpTest
    okhttp3.ProtocolTest
    okhttp3.PublicSuffixDatabaseTest
    okhttp3.PublicInternalApiTest
    okhttp3.RequestTest
    okhttp3.ResponseBodyTest
    okhttp3.ResponseTest
    okhttp3.SampleTest
    okhttp3.ServerTruncatesRequestTest
    okhttp3.SocksProxyTest
    okhttp3.URLConnectionTest
    okhttp3.WebPlatformUrlTest
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu May 11 14:48:57 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top