Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for test_app (0.09 sec)

  1. android-test-app/build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    plugins {
      id("com.android.application")
      id("kotlin-android")
    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android.testapp"
    
      testBuildType = "release"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 34
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.app.Application
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 702 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    
    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert "/static/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/redoc@next/bundles/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.os.Bundle
    import androidx.activity.ComponentActivity
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
        private Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
        private Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. okhttp-coroutines/build.gradle.kts

      api(libs.squareup.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testApi(libs.assertk)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.kotlinx.coroutines.test)
      testImplementation(projects.mockwebserver3Junit5)
    }
    
    mavenPublishing {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 936 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_websockets/test_tutorial003_py39.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial003_py39 import app
    
        return app
    
    
    @pytest.fixture(name="html")
    def get_html():
        from docs_src.websockets.tutorial003_py39 import html
    
        return html
    
    
    @pytest.fixture(name="client")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_events/test_tutorial002.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.events.tutorial002 import app
        yield app
    
    
    def test_events(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/items/")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top