Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Brunner (0.17 sec)

  1. okhttp-android/build.gradle.kts

      testImplementation(libs.androidx.test.runner)
      testImplementation(libs.robolectric)
      testImplementation(libs.androidx.espresso.core)
      testImplementation(libs.squareup.okio.fakefilesystem)
    
      androidTestImplementation(projects.okhttpTls)
      androidTestImplementation(libs.assertk)
      androidTestImplementation(projects.mockwebserver3Junit4)
      androidTestImplementation(libs.androidx.test.runner)
    }
    
    mavenPublishing {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. gradle/libs.versions.toml

    androidx-annotation = "androidx.annotation:annotation:1.7.1"
    androidx-espresso-core = "androidx.test.espresso:espresso-core:3.5.1"
    androidx-junit = "androidx.test.ext:junit:1.1.5"
    androidx-test-runner = "androidx.test:runner:1.5.2"
    animalsniffer-annotations = "org.codehaus.mojo:animal-sniffer-annotations:1.23"
    aqute-resolve = { module = "biz.aQute.bnd:biz.aQute.resolve", version.ref = "biz-aQute-bnd" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     *  New: Share threads more aggressively between OkHttp's HTTP/2 connections, connection pool,
        web sockets, and cache. OkHttp has a new internal task runner abstraction for managed task
        scheduling. In your debugger you will see new thread names and more use of daemon threads.
    
     *  Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

    import kotlin.coroutines.cancellation.CancellationException
    import okio.Buffer
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Android HttpEngine.
     */
    @RunWith(AndroidJUnit4::class)
    @SdkSuppress(minSdkVersion = 34)
    class AndroidHttpEngineTest {
      val context = InstrumentationRegistry.getInstrumentation().context
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    @Suppress("deprecation")
    @Timeout(30)
    @Tag("Slow")
    class MockWebServerTest {
      @RegisterExtension
      var platform = PlatformRule()
      private val server = MockWebServer()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  6. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

    import okhttp3.Request
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.RobolectricTestRunner
    import org.robolectric.annotation.Config
    
    @RunWith(RobolectricTestRunner::class)
    @Config(
      sdk = [30],
    )
    class RobolectricOkHttpClientTest {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          object : Task(name) {
            override fun runOnce(): Long {
              return block()
            }
          },
          delayNanos,
        )
      }
    
      /**
       * Executes [block] once on a task runner thread.
       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun execute(
        name: String,
        delayNanos: Long = 0L,
        cancelable: Boolean = true,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
     * This is for the benefit of container environments that implement code unloading.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      /** How many times a new task has been started. Guarded by [TaskRunner.lock]. */
      private var contextSwitchCount = 0
    
      /** Guarded by [TaskRunner.lock]. */
      private var activeThreads = 0
    
      /** A task runner that posts tasks to this fake. Tasks won't be executed until requested. */
      val taskRunner: TaskRunner =
        TaskRunner(
          object : TaskRunner.Backend {
            override fun execute(
              taskRunner: TaskRunner,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

    class ConnectionPoolTest {
      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val taskFaker = routePlanner.taskFaker
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top