Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for texts (0.47 sec)

  1. container-tests/README.md

    OkHttp Container Tests
    ======================
    
    This module contains tests against other services
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 09:58:21 GMT 2024
    - 113 bytes
    - Viewed (0)
  2. mockwebserver/README.md

      RecordedRequest request3 = server.takeRequest();
      assertEquals("/v1/chat/messages/3", request3.getPath());
    
      // Shut down the server. Instances cannot be reused.
      server.shutdown();
    }
    ```
    
    Your unit tests might move the `server` into a field so you can shut it down
    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  3. regression-test/README.md

    ```
    
    3. Run tests using gradle
    
    ```
    $ ANDROID_SDK_ROOT=/Users/myusername/Library/Android/sdk ./gradlew :regression-test:connectedCheck
    ...
    > Task :regression-test:connectedDebugAndroidTest
    ...
    11:55:40 V/InstrumentationResultParser: Time: 13.271
    11:55:40 V/InstrumentationResultParser:
    11:55:40 V/InstrumentationResultParser: OK (12 tests)
    ...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Nov 13 07:09:56 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  4. native-image-tests/README.md

    Native Image Tests
    ==================
    
    This executes OkHttp's test suite inside a Graalvm image.
    
    Build the Native Image
    ----------------------
    
    Compile the classes and metadata into a Graalvm native image.
    
    ```
    ./gradlew --info native-image-tests:nativeImage
    ```
    
    Execute
    -------
    
    The native image runs JUnit 5 tests in the project.
    
    ```
    ./native-image-tests/build/graal/ConsoleLauncher
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Oct 31 12:12:20 GMT 2020
    - 393 bytes
    - Viewed (0)
  5. android-test/README.md

    ```
    
    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)
    ...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. mockwebserver-junit5/README.md

    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 {
      @Test
      void test(MockWebServer server) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. okhttp-hpacktests/README.md

    OkHttp HPACK tests
    ==================
    
    These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK
    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 15 16:59:53 GMT 2014
    - 578 bytes
    - Viewed (0)
  8. mockwebserver-junit4/README.md

    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 707 bytes
    - Viewed (1)
Back to top