1 7 package net.sourceforge.ejtools.management.test; 8 9 import javax.management.ObjectName ; 10 import junit.extensions.jfunc.JFuncSuite; 11 12 import org.apache.log4j.Category; 13 14 20 public class ManagedObjectTestSuite extends JFuncSuite 21 { 22 23 protected ObjectName objectName = null; 24 25 private static Category logger = Category.getInstance(ManagedObjectTestSuite.class); 26 27 28 33 public ManagedObjectTestSuite(ObjectName objectName) 34 { 35 this.objectName = objectName; 36 this.oneTest(true); 37 38 addTest(new ManagedObjectTestCase("testObjectName", objectName)); 39 addTest(new ManagedObjectTestCase("testAttributes", objectName)); 40 addTest(new ManagedObjectTestCase("testEventProvider", objectName)); 41 addTest(new ManagedObjectTestCase("testStateManageable", objectName)); 42 addTest(new ManagedObjectTestCase("testStatisticsProvider", objectName)); 43 } 44 } 45 | Popular Tags |