1 package xdoclet.retest.test; 2 3 import xdoclet.retest.util.ClassComparator; 4 import xdoclet.retest.util.ComparisonResultSet; 5 6 11 public class BMPEntityBeanRegressionTestCase 12 extends EntityBeanRegressionTestCase 13 { 14 15 public BMPEntityBeanRegressionTestCase(String name) 16 { 17 super(name); 18 } 19 20 public void testImpl() 21 throws Exception 22 { 23 ClassComparator comparator; 24 ComparisonResultSet res; 25 Class ref = Class.forName(refBase+ ".ejb." + getClassName() + "BMP"); 26 Class gen = Class.forName(genBase+ ".ejb." + getClassName() + "BMP"); 27 comparator = new ClassComparator(ref,gen); 28 res = comparator.compare(); 29 if (res.error()) System.out.println(res.toString()); 30 assertTrue("Home Interface comparison failed "+res, ! res.error()); 31 } 32 33 34 } 35 | Popular Tags |