Package xdoclet.retest.util

Examples of xdoclet.retest.util.InterfaceComparator.compare()


        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());
    }

    public void testLocalHome()
View Full Code Here


        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());
    }

    public void testRemote()
View Full Code Here

        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());
    }

    public void testLocal()
View Full Code Here

        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

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.