Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Modules (0.19 sec)

  1. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        // Ensure we start from scratch.
        fileSystem.deleteRecursively(workspaceDir)
        fileSystem.createDirectories(workspaceDir)
      }
    
      /**
       * Resolve the OSGi metadata of the all okhttp3 modules. If required modules do not have OSGi
       * metadata this will fail with an exception.
       */
      @Test
      fun testMainModuleWithSiblings() {
        createWorkspace().use { workspace ->
          createBndRun(workspace).use { bndRun ->
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt

     * conventions. Both binary and source-incompatible changes are possible, including complete removal
     * of the experimental API.
     *
     * Do not use these APIs in modules that may be executed using a version of OkHttp different from
     * the version the module was compiled with.
     *
     * Do not use these APIs in published libraries.
     *
     * Do not use these APIs if you aren't willing to track changes to them.
     */
    @MustBeDocumented
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /** Exposes Kotlin-internal APIs to Java test code and code in other modules. */
    @file:JvmName("Internal")
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.nio.charset.Charset
    import javax.net.ssl.SSLSocket
    import okhttp3.Cache
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. okhttp-android/Module.md

    # Module okhttp-android
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 20 06:48:45 GMT 2022
    - 49 bytes
    - Viewed (0)
  5. mockwebserver-junit4/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "mockwebserver3.junit4")
      }
    }
    
    dependencies {
      api(projects.mockwebserver3)
      api(libs.junit)
    
      testImplementation(libs.assertk)
    }
    
    mavenPublishing {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 510 bytes
    - Viewed (0)
  6. mockwebserver/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "mockwebserver3")
      }
    }
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.okhttpTls)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 743 bytes
    - Viewed (0)
  7. okhttp-coroutines/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.coroutines",
      "Automatic-Module-Name: okhttp3.coroutines",
      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines"
    )
    
    dependencies {
      api(projects.okhttp)
      implementation(libs.kotlinx.coroutines.core)
      api(libs.squareup.okio)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 936 bytes
    - Viewed (0)
  8. mockwebserver-junit5/README.md

    MockWebServer for JUnit 5
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 5.
    
    To use, first add this library as a test dependency:
    
    ```
    testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test
    method parameter. It will be shut down automatically after the test runs.
    
    ```
    class MyTest {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. android-test/README.md

    Android Test
    ============
    
    A gradle module for running Android instrumentation tests on a device or emulator.
    
    1. Add an Emulator named `pixel5`, if you don't already have one
    
    ```
    $ sdkmanager --install "system-images;android-29;google_apis;x86"
    $ echo "no" | avdmanager --verbose create avd --force --name "pixel5" --device "pixel" --package "system-images;android-29;google_apis;x86" --tag "google_apis" --abi "x86"
    ```
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    fun buildTestEngine(): TestEngine = JupiterTestEngine()
    
    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top