Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 134 for mockwebserver3 (0.15 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

    import java.util.concurrent.TimeUnit
    import javax.net.ssl.HttpsURLConnection
    import kotlin.test.assertFailsWith
    import mockwebserver3.SocketPolicy.DisconnectAtStart
    import mockwebserver3.SocketPolicy.DisconnectDuringRequestBody
    import mockwebserver3.SocketPolicy.DisconnectDuringResponseBody
    import mockwebserver3.SocketPolicy.ShutdownServerAfterResponse
    import okhttp3.Headers
    import okhttp3.HttpUrl.Companion.toHttpUrl
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.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
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all
     * subsequent bytes.
     */
    internal class TriggerSink(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SNIMatcher
    import javax.net.ssl.SNIServerName
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.StandardConstants
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.Protocol.HTTP_2
    import okhttp3.Provider.CONSCRYPT
    import okhttp3.Provider.JSSE
    import okhttp3.TlsExtensionMode.DISABLED
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import mockwebserver3.MockWebServer
    import org.junit.jupiter.api.Test
    
    class DispatcherCleanupTest {
      @Test
      fun testFinish(server: MockWebServer) {
        val okhttp = OkHttpClient()
        val callback =
          object : Callback {
            override fun onFailure(
              call: Call,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. build.gradle.kts

      plugins.withId("binary-compatibility-validator") {
        configure<ApiValidationExtension> {
          ignoredPackages += "okhttp3.logging.internal"
          ignoredPackages += "mockwebserver3.internal"
          ignoredPackages += "okhttp3.internal"
          ignoredPackages += "mockwebserver3.junit5.internal"
          ignoredPackages += "okhttp3.brotli.internal"
          ignoredPackages += "okhttp3.sse.internal"
          ignoredPackages += "okhttp3.tls.internal"
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. native-image-tests/build.gradle.kts

      implementation(projects.loggingInterceptor)
      implementation(projects.okhttpSse)
      implementation(projects.okhttpTestingSupport)
      implementation(projects.okhttpTls)
      implementation(projects.mockwebserver3)
      implementation(projects.mockwebserver)
      implementation(projects.okhttpJavaNetCookiejar)
      implementation(projects.mockwebserver3Junit4)
      implementation(projects.mockwebserver3Junit5)
      implementation(libs.aqute.resolve)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. mockwebserver-junit5/src/main/resources/META-INF/services/org.junit.jupiter.api.extension.Extension

    mockwebserver3.junit5.internal.MockWebServerExtension...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Oct 24 04:03:17 UTC 2020
    - 54 bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/BouncyCastleTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import mockwebserver3.MockWebServer
    import okhttp3.TestUtil.assumeNetwork
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

    import javax.net.ssl.SSLSocketFactory
    import okhttp3.ExperimentalOkHttpApi
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import org.junit.rules.ExternalResource
    
    class MockWebServer : ExternalResource(), Closeable {
      @ExperimentalOkHttpApi
      val delegate = mockwebserver3.MockWebServer()
    
      val requestCount: Int by delegate::requestCount
    
      var bodyLimit: Long by delegate::bodyLimit
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package mockwebserver3
    
    import java.util.concurrent.TimeUnit
    import mockwebserver3.SocketPolicy.KeepOpen
    import mockwebserver3.internal.toMockResponseBody
    import okhttp3.ExperimentalOkHttpApi
    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.WebSocketListener
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top