Examples of XMLComparator


Examples of xdoclet.retest.util.XMLComparator

    public void testEjbJarXml()
    throws Exception
    {
        Node one = readReferenceNode("ejb-jar.xml");
        Node two = readGeneratedNode("ejb-jar.xml");
        XMLComparator comp = new XMLComparator(one,two);
        comp.setAttributeValidation(false);
        ComparisonResultSet res = comp.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("ejb-jar.xml comparison failed "+res, ! res.error());
    }
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.