KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > ejtools > management > test > ManagedObjectTestSuite


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package net.sourceforge.ejtools.management.test;
8
9 import javax.management.ObjectName JavaDoc;
10 import junit.extensions.jfunc.JFuncSuite;
11
12 import org.apache.log4j.Category;
13
14 /**
15  * Description of the Class
16  *
17  * @author letiembl
18  * @created 21 mars 2002
19  */

20 public class ManagedObjectTestSuite extends JFuncSuite
21 {
22    /** Description of the Field */
23    protected ObjectName JavaDoc objectName = null;
24    /** Description of the Field */
25    private static Category logger = Category.getInstance(ManagedObjectTestSuite.class);
26
27
28    /**
29     * Constructor for the ConnectivityTest object
30     *
31     * @param objectName Description of the Parameter
32     */

33    public ManagedObjectTestSuite(ObjectName JavaDoc 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