Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for androidBuild (0.41 sec)

  1. android-test/build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    plugins {
      id("com.android.library")
      kotlin("android")
      id("de.mannodermaus.android-junit5")
    }
    
    val androidBuild = property("androidBuild").toString().toBoolean()
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. settings.gradle.kts

    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    include(":mockwebserver-junit5")
    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Apr 14 14:24:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. gradle.properties

    org.gradle.caching=true
    org.gradle.jvmargs='-Dfile.encoding=UTF-8'
    org.gradle.parallel=true
    android.enableJetifier=true
    android.useAndroidX=true
    kotlin.mpp.stability.nowarn=true
    kotlin.js.compiler=ir
    kotlin.incremental.js.ir=true
    androidBuild=false
    graalBuild=false
    loomBuild=false
    containerTests=false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 09:58:21 UTC 2024
    - 343 bytes
    - Viewed (0)
  4. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt

    package okhttp3.android
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Test
    
    /**
     * Run with "./gradlew :android-test-app:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set.
     */
    class PublicSuffixDatabaseTest {
      @Test
      fun testTopLevelDomain() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. .github/workflows/build.yml

            with:
              distribution: 'zulu'
              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v4
    
          - name: Run Checks
            run: ./gradlew check -PandroidBuild=true -PgraalBuild=true -x test -x test
    
      testopenjdk11:
        permissions:
          checks: write # for mikepenz/action-junit-report
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Aug 17 10:05:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. android-test/README.md

    01-01 12:53:32.818 10999 11090 D OkHttp  : [56 ms] callEnd
    ```
    
    3. Run tests using gradle
    
    ```
    $ ANDROID_SDK_ROOT=/Users/myusername/Library/Android/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true
    ...
    > Task :android-test:connectedDebugAndroidTest
    ...
    11:55:40 V/InstrumentationResultParser: Time: 13.271
    11:55:40 V/InstrumentationResultParser:
    11:55:40 V/InstrumentationResultParser: OK (12 tests)
    ...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    ---------------------
    
    $ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true
    
    Committer's Guides
    ------------------
    
     * [Concurrency][concurrency]
     * [Debug Logging][debug_logging]
     * [Releasing][releasing]
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. docs/contribute/contributing.md

    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    ---------------------
    
    $ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true
    
    Committer's Guides
    ------------------
    
     * [Concurrency][concurrency]
     * [Debug Logging][debug_logging]
     * [Releasing][releasing]
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Ignore
    import org.junit.Rule
    import org.junit.Test
    
    /**
     * Run with "./gradlew :android-test:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set.
     */
    class AndroidAsyncDnsTest {
      @JvmField @Rule
      val serverRule = MockWebServerRule()
      private lateinit var client: OkHttpClient
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.opentest4j.TestAbortedException
    
    /**
     * Run with "./gradlew :android-test:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set.
     */
    
    @Tag("Slow")
    class OkHttpTest {
      @Suppress("RedundantVisibilityModifier")
      @JvmField
      @RegisterExtension
      public val platform = PlatformRule()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top