Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDeployBuildPomWithMutableMap (0.69 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, 0);
            assertFalse(Features.deployBuildPom(properties)); // "0".parseBoolean() = false
        }
    
        @Test
        void testDeployBuildPomWithMutableMap() {
            // Test with a mutable map to ensure the method doesn't modify the input
            Map<String, Object> properties = new HashMap<>();
            properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top