Package xdoclet.retest.util

Examples of xdoclet.retest.util.XMLComparator


    public void testJbossXml()
    throws Exception
    {
        Node one = readReferenceNode("jboss.xml");
        Node two = readGeneratedNode("jboss.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


            one = readReferenceNode("jaws.xml");
        }catch (FileNotFoundException e){
            return;
        }
        Node two = readGeneratedNode("jaws.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

            one = readReferenceNode("jboss-cmp.xml");
        }catch (FileNotFoundException e){
            return;
        }
        Node two = readGeneratedNode("jboss-cmp.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

    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

Related Classes of xdoclet.retest.util.XMLComparator

Copyright © 2018 www.massapicom. 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.