Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testModelIdFormat (0.11 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            assertNull(source.getPath(), "Resolved sources should return null for getPath()");
            assertEquals(path.toString(), source.getLocation());
        }
    
        @Test
        void testModelIdFormat() {
            String location = "/tmp/test.xml";
            Path path = Paths.get(location);
            String modelId = "com.example:test-artifact:1.2.3";
    
            ModelSource source = Sources.resolvedSource(path, modelId);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top