1 22 package org.jboss.test.aop.regression.inheritedmcall; 23 24 25 import org.jboss.test.aop.AOPTestWithSetup; 26 27 import junit.framework.Test; 28 import junit.framework.TestSuite; 29 30 36 public class AOPTester extends AOPTestWithSetup 37 { 38 public static Test suite() 39 { 40 TestSuite suite = new TestSuite("AOPTester"); 41 suite.addTestSuite(AOPTester.class); 42 return suite; 43 } 44 45 public AOPTester(String name) 46 { 47 super(name); 48 } 49 50 51 public void testRegression() 52 { 53 Caller tester = new Caller(); 54 55 Concrete con = new Concrete(); 56 con.doit(); 57 assertTrue(SimpleAspect.called); 58 } 59 60 } 61 62 | Popular Tags |