Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for customElement (0.04 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            DomUtils.insertContentElement(root, "customElement", "custom value");
    
            String xmlOutput = DomUtils.toXml(doc);
    
            int versionIndex = xmlOutput.indexOf("<version>");
            int customElementIndex = xmlOutput.indexOf("<customElement>");
    
            // Custom element should be appended at the end
            assertTrue(customElementIndex > versionIndex, "customElement should come after version");
            assertTrue(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
Back to top