Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 368 for World (0.03 seconds)

  1. tests/test_request_params/test_form/test_optional_list.py

    )
    def test_optional_list_str(path: str):
        client = TestClient(app)
        response = client.post(path, data={"p": ["hello", "world"]})
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    # Alias
    
    
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-17 09:59
    - 9.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

            file("build/distributions/hello-world-1.0-original.jar").exists()
            file("build/distributions/hello-world-1.0.jar").exists()
            file("build/distributions/hello-world-1.0-javadoc.jar").exists()
            file("build/distributions/hello-world-1.0-sources.jar").exists()
            file("build/distributions/hello-world-1.0.pom").exists()
            assertXmlEquals(file("build/distributions/hello-world-1.0.pom").text, """
    Created: 2026-04-08 16:19
    - Last Modified: 2021-06-22 07:24
    - 19K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .omitNullValues()
                .add("field1", null)
                .add("field2", "Googley")
                .add("field3", "World")
                .toString();
        assertThat(toTest).isEqualTo("TestClass{field2=Googley, field3=World}");
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringOmitEmptyValues_manyFieldsFirstEmpty() {
        String toTest =
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-16 15:59
    - 22K bytes
    - Click Count (0)
  4. tests/test_request_params/test_header/test_list.py

    )
    def test_required_list_str(path: str):
        client = TestClient(app)
        response = client.get(path, headers=[("p", "hello"), ("p", "world")])
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    # Alias
    
    
    @app.get("/required-list-alias")
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-08 10:18
    - 11.3K bytes
    - Click Count (0)
  5. tests/test_request_params/test_query/test_list.py

        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str(path: str):
        client = TestClient(app)
        response = client.get(f"{path}?p=hello&p=world")
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    # Alias
    
    
    @app.get("/required-list-alias")
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-08 10:18
    - 11.2K bytes
    - Click Count (0)
  6. tests/test_request_params/test_query/test_optional_list.py

        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str(path: str):
        client = TestClient(app)
        response = client.get(f"{path}?p=hello&p=world")
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    # Alias
    
    
    @app.get("/optional-list-alias")
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-17 09:59
    - 9.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenCling(world).run(args, null, null, null, false);
        }
    
        /**
         * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams.
         */
        public static int main(
                String[] args,
    Created: 2026-04-05 03:35
    - Last Modified: 2025-06-11 13:14
    - 3K bytes
    - Click Count (0)
  8. tests/test_request_params/test_form/test_list.py

    )
    def test_required_list_str(path: str):
        client = TestClient(app)
        response = client.post(path, data={"p": ["hello", "world"]})
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    # Alias
    
    
    Created: 2026-04-05 07:19
    - Last Modified: 2025-12-27 18:31
    - 11.7K bytes
    - Click Count (0)
  9. tests/test_router_events.py

    )
    def test_router_events(state: State) -> None:
        app = FastAPI()
    
        @app.get("/")
        def main() -> dict[str, str]:
            return {"message": "Hello World"}
    
        @app.on_event("startup")
        def app_startup() -> None:
            state.app_startup = True
    
        @app.on_event("shutdown")
        def app_shutdown() -> None:
            state.app_shutdown = True
    
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-17 09:59
    - 11.7K bytes
    - Click Count (0)
  10. tests/test_request_params/test_body/test_optional_list.py

    )
    def test_optional_list_str(path: str):
        client = TestClient(app)
        response = client.post(path, json={"p": ["hello", "world"]})
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    # Alias
    
    
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-17 09:59
    - 12.6K bytes
    - Click Count (0)
Back to Top