1 22 package org.jboss.test.aop.construction; 23 24 import org.jboss.test.aop.AOPTestWithSetup; 25 import org.jboss.test.aop.basic.POJO; 26 import junit.framework.Test; 27 import junit.framework.TestSuite; 28 import junit.textui.TestRunner; 29 30 34 public class ConstructionTester extends AOPTestWithSetup 35 { 36 public static void main(String [] args) 37 { 38 TestRunner.run(suite()); 39 } 40 41 public static Test suite() 42 { 43 TestSuite suite = new TestSuite("ConstructionTester"); 44 suite.addTestSuite(ConstructionTester.class); 45 return suite; 46 } 47 50 52 public ConstructionTester(String name) 54 { 55 super(name); 56 } 57 58 60 public void testConstruction() 61 { 62 System.out.println("RUNNING TEST Construction"); 63 POJO pojo = new POJO(); 64 DefaultPOJO d = new DefaultPOJO(); 65 } 66 } 67 68 | Popular Tags |