Examples of Xpp3Dom


Examples of org.codehaus.plexus.util.xml.Xpp3Dom

        filter.addComponentsXml( reader );

        assertFalse( filter.components.isEmpty() );

        final Xpp3Dom componentDom = filter.components.get( "rolehint" );

        assertEquals( "role", componentDom.getChild( "role" )
                                          .getValue() );
        assertEquals( "hint", componentDom.getChild( "role-hint" )
                                          .getValue() );
        assertEquals( "org.apache.maven.Impl", componentDom.getChild( "implementation" )
                                                           .getValue() );
    }
View Full Code Here

Examples of org.codehaus.plexus.util.xml.Xpp3Dom

        filter.addComponentsXml( reader );

        assertFalse( filter.components.isEmpty() );

        Xpp3Dom componentDom = filter.components.get( "rolehint" );

        assertEquals( "role", componentDom.getChild( "role" )
                                          .getValue() );
        assertEquals( "hint", componentDom.getChild( "role-hint" )
                                          .getValue() );
        assertEquals( "org.apache.maven.Impl", componentDom.getChild( "implementation" )
                                                           .getValue() );

        componentDom = filter.components.get( "rolehint2" );

        assertEquals( "role", componentDom.getChild( "role" )
                                          .getValue() );
        assertEquals( "hint2", componentDom.getChild( "role-hint" )
                                           .getValue() );
        assertEquals( "org.apache.maven.Impl2", componentDom.getChild( "implementation" )
                                                            .getValue() );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.