Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RecordingExecutor (0.13 sec)

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

    import java.util.concurrent.RejectedExecutionException
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.finishedAccessor
    
    internal class RecordingExecutor(
      private val dispatcherTest: DispatcherTest,
    ) : AbstractExecutorService() {
      private var shutdown: Boolean = false
      private val calls = mutableListOf<RealCall.AsyncCall>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DispatcherTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slowish")
    class DispatcherTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private val executor = RecordingExecutor(this)
      val callback = RecordingCallback()
      val webSocketListener =
        object : WebSocketListener() {
        }
      val dispatcher = Dispatcher(executor)
      val listener = RecordingEventListener()
      var client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top