Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,811 for pathOf (0.05 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

    @Warmup(iterations = 3)
    @Measurement(time = 10)
    public class Xpp3DomPerfTest {
        @State(Scope.Benchmark)
        public static class AdditionState {
            List<Path> poms;
    
            @Setup(Level.Iteration)
            public void setUp() throws IOException {
                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial001.py

        )
        return TestClient(mod.app)
    
    
    @pytest.mark.parametrize(
        "path,expected_response",
        [
            ("/items/42", {"item_id": 42}),
            ("/items/123?item-query=somequery", {"item_id": 123, "q": "somequery"}),
        ],
    )
    def test_read_items(client: TestClient, path, expected_response):
        response = client.get(path)
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py

        )
        return TestClient(mod.app)
    
    
    @pytest.mark.parametrize(
        "path,expected_response",
        [
            ("/items/42?q=", {"item_id": 42}),
            ("/items/123?q=somequery", {"item_id": 123, "q": "somequery"}),
        ],
    )
    def test_read_items(client: TestClient, path, expected_response):
        response = client.get(path)
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. tests/test_request_params/test_path/test_required_str.py

            ),
        ],
    )
    def test_schema(path: str, expected_name: str, expected_title: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {"title": expected_title, "type": "string"},
                "name": expected_name,
                "in": "path",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

    public interface ModelPathTranslator {
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
         * configuration are not processed.
         *
         * @param model The model whose paths should be resolved, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py

        )
        return TestClient(mod.app)
    
    
    @pytest.mark.parametrize(
        "path,expected_response",
        [
            ("/items/42?q=", {"item_id": 42}),
            ("/items/1?q=somequery", {"item_id": 1, "q": "somequery"}),
        ],
    )
    def test_read_items(client: TestClient, path, expected_response):
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/static-files.md

    ///
    
    ### What is "Mounting" { #what-is-mounting }
    
    "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths.
    
    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/static-files.md

    ///
    
    ### Qué es "Montar" { #what-is-mounting }
    
    "Montar" significa agregar una aplicación completa "independiente" en un path específico, que luego se encargará de manejar todos los sub-paths.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            String newUnc = l.handleDFSReferral(dr, "\\req\\");
            // dunc is "\\" + path + remaining  - note: path may not have leading backslashes
            assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path"));
            assertEquals(dr, l.getDfsReferral());
            assertEquals("dfs-server", l.getServerWithDfs());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial011.py

            ),
            (
                "/query-checker/?q=foobar",
                200,
                {"fixed_content_in_query": True},
            ),
        ],
    )
    def test_get(path, expected_status, expected_response, client: TestClient):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top