Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,946 for pathOf (0.03 seconds)

  1. compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-child.xml

      </parent>
    
      <artifactId>child-artifact-id</artifactId>
      <name>Model inheritance test parent: module directory != artifactId</name>
      <description>
        artifactId == "child-artifact-id"
        but expect path on SCM and site == "child"
        feature: support "project.directory" property, ressembling future model addition of "directory" element along "artifactId"
      </description>
    
      <properties>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. src/archive/tar/testdata/pax-nul-path.tar

    Joe Tsai <******@****.***> 1442533177 -0700
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Aug 11 03:12:47 GMT 2017
    - 2.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

            @Test
            @DisplayName("should handle merging with different POM sets")
            void shouldHandleMergingWithDifferentPOMSets() {
                Path pom1 = Paths.get("pom.xml");
                Path pom2 = Paths.get("module1/pom.xml");
                Path pom3 = Paths.get("module2/pom.xml");
    
                UpgradeResult result1 = new UpgradeResult(
                        Set.of(pom1, pom2), // processed
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                path = defaultArtifact.getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull ProducedArtifact artifact, Path path) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

    import java.io.File;
    import java.nio.file.Path;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    
    public class JavaPathTypeTest {
        /**
         * {@return dummy paths to use in tests}.
         */
        private static List<Path> paths() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

            String path = "\\\\server\\share\\folder";
            String normalized = validator.validatePath(path);
            assertEquals("\\server\\share\\folder", normalized);
        }
    
        @Test
        public void testUncPathNotAllowed() throws Exception {
            PathValidator noUncValidator = new PathValidator(260, 255, false, false);
            // Due to normalization bug, UNC paths are not properly detected
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if ((l1 > 1 && path1.charAt(p1 + 1) == '.') || (l2 > 1 && path2.charAt(p2 + 1) == '.')) {
                return true;
            }
    
            return l1 == l2 && path1.regionMatches(true, p1, path2, p2, l1);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  8. tests/test_request_params/test_header/test_optional_str.py

        client = TestClient(app)
        response = client.get(path, headers={"p": "hello"})
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-alias",
            "/model-optional-alias",
        ],
    )
    def test_optional_alias_by_alias(path: str):
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/basedir-system-path.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. tests/test_request_params/test_header/test_required_str.py

    async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {"title": "P", "type": "string"},
                "name": "p",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10K bytes
    - Click Count (0)
Back to Top