Package xdoclet.retest.util

Examples of xdoclet.retest.util.ComparisonResultSet


    {
        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


            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

            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 testHome()
    throws Exception
    {
        InterfaceComparator comparator;
        ComparisonResultSet res;
        Class gen = Thread.currentThread().getContextClassLoader().loadClass(genBase+ ".interfaces." + getClassName() + "Home");
        Class ref = Thread.currentThread().getContextClassLoader().loadClass(refBase+ ".interfaces." + getClassName() + "Home");
        comparator = new InterfaceComparator(ref,gen);
        res = comparator.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("Home Interface comparison failed "+res, ! res.error());
    }
View Full Code Here

    public void testLocalHome()
    throws Exception
    {
        InterfaceComparator comparator;
        ComparisonResultSet res;
        Class ref = Thread.currentThread().getContextClassLoader().loadClass(refBase+ ".interfaces." + getClassName() + "LocalHome");
        Class gen = Thread.currentThread().getContextClassLoader().loadClass(genBase+ ".interfaces." + getClassName() + "LocalHome");
        comparator = new InterfaceComparator(ref,gen);
        res = comparator.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("Home Interface comparison failed "+res, ! res.error());
    }
View Full Code Here

    public void testRemote()
    throws Exception
    {
        InterfaceComparator comparator;
        ComparisonResultSet res;
        Class ref = Class.forName(refBase+ ".interfaces." + getClassName() );
        Class gen = Class.forName(genBase+ ".interfaces." + getClassName());
        comparator = new InterfaceComparator(ref,gen);
        res = comparator.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("Remote Interface comparison failed "+res, ! res.error());
    }
View Full Code Here

    public void testLocal()
    throws Exception
    {
        InterfaceComparator comparator;
        ComparisonResultSet res;
        Class ref = Class.forName(refBase+ ".interfaces." + getClassName() + "Local");
        Class gen = Class.forName(genBase+ ".interfaces." + getClassName() + "Local");
        comparator = new InterfaceComparator(ref,gen);
        res = comparator.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("Home Interface comparison failed "+res, ! res.error());
    }
View Full Code Here

    {
        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

    public void testImpl()
    throws Exception
    {
        ClassComparator comparator;
        ComparisonResultSet res;
        Class ref = Class.forName(refBase+ ".ejb." + getClassName() + "BMP");
        Class gen = Class.forName(genBase+ ".ejb." + getClassName() + "BMP");
        comparator = new ClassComparator(ref,gen);
        res = comparator.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("Home Interface comparison failed "+res, ! res.error());
    }
View Full Code Here

    public void testImpl()
    throws Exception
    {
        ClassComparator comparator;
        ComparisonResultSet res;
        Class ref = Class.forName(refBase+ ".ejb." + getClassName() + "CMP");
        Class gen = Class.forName(genBase+ ".ejb." + getClassName() + "CMP");
        comparator = new ClassComparator(ref,gen);
        res = comparator.compare();
        if (res.error()) System.out.println(res.toString());
        assertTrue("Home Interface comparison failed "+res, ! res.error());
    }
View Full Code Here

TOP

Related Classes of xdoclet.retest.util.ComparisonResultSet

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.