KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > monitor > jndi > JndiMBeanImplTest


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * JndiMBeanImplTest.java
26  * JUnit based test
27  *
28  * Created on April 1, 2004, 5:04 PM
29  */

30
31 package com.sun.enterprise.admin.monitor.jndi;
32
33 import com.sun.enterprise.admin.common.constant.AdminConstants;
34 import com.sun.enterprise.util.i18n.StringManager;
35 import java.lang.reflect.InvocationTargetException JavaDoc;
36 import java.lang.reflect.Method JavaDoc;
37 import java.util.logging.Level JavaDoc;
38 import java.util.logging.Logger JavaDoc;
39 import javax.management.AttributeList JavaDoc;
40 import javax.management.AttributeNotFoundException JavaDoc;
41 import javax.management.InvalidAttributeValueException JavaDoc;
42 import javax.management.MBeanException JavaDoc;
43 import javax.management.MBeanInfo JavaDoc;
44 import javax.management.MBeanOperationInfo JavaDoc;
45 import javax.management.MBeanParameterInfo JavaDoc;
46 import javax.management.ReflectionException JavaDoc;
47 import javax.naming.NameClassPair JavaDoc;
48 import javax.naming.NamingException JavaDoc;
49 import junit.framework.*;
50
51 /**
52  *
53  * @author Rob
54  */

55 public class JndiMBeanImplTest extends TestCase {
56     
57     public JndiMBeanImplTest(java.lang.String JavaDoc testName) {
58         super(testName);
59     }
60     
61     public static Test suite() {
62         TestSuite suite = new TestSuite(JndiMBeanImplTest.class);
63         return suite;
64     }
65     
66     /**
67      * Test of initialize method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
68      */

69     public void testInitialize() {
70         System.out.println("testInitialize");
71         fail("The test case is empty.");
72     }
73     
74     /**
75      * Test of getAttribute method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
76      */

77     public void testGetAttribute() {
78         System.out.println("testGetAttribute");
79         fail("The test case is empty.");
80     }
81     
82     /**
83      * Test of getAttributes method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
84      */

85     public void testGetAttributes() {
86         System.out.println("testGetAttributes");
87         fail("The test case is empty.");
88     }
89     
90     /**
91      * Test of getMBeanInfo method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
92      */

93     public void testGetMBeanInfo() {
94         System.out.println("testGetMBeanInfo");
95         fail("The test case is empty.");
96     }
97     
98     /**
99      * Test of getOperationInfo method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
100      */

101     public void testGetOperationInfo() {
102         System.out.println("testGetOperationInfo");
103         fail("The test case is empty.");
104     }
105     
106     /**
107      * Test of createOperationInfo method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
108      */

109     public void testCreateOperationInfo() {
110         System.out.println("testCreateOperationInfo");
111         fail("The test case is empty.");
112     }
113     
114     /**
115      * Test of getParameterInfo method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
116      */

117     public void testGetParameterInfo() {
118         System.out.println("testGetParameterInfo");
119         fail("The test case is empty.");
120     }
121     
122     /**
123      * Test of isAttrGetterOrSetter method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
124      */

125     public void testIsAttrGetterOrSetter() {
126         System.out.println("testIsAttrGetterOrSetter");
127         fail("The test case is empty.");
128     }
129     
130     /**
131      * Test of invoke method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
132      */

133     public void testInvoke() {
134         System.out.println("testInvoke");
135         fail("The test case is empty.");
136     }
137     
138     /**
139      * Test of setAttribute method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
140      */

141     public void testSetAttribute() {
142         System.out.println("testSetAttribute");
143         fail("The test case is empty.");
144     }
145     
146     /**
147      * Test of setAttributes method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
148      */

149     public void testSetAttributes() {
150         System.out.println("testSetAttributes");
151         fail("The test case is empty.");
152     }
153     
154     /**
155      * Test of getNames method, of class com.sun.enterprise.admin.monitor.jndi.JndiMBeanImpl.
156      */

157     public void testGetNames() {
158         System.out.println("testGetNames");
159         fail("The test case is empty.");
160     }
161     
162     public static void main(java.lang.String JavaDoc[] args) {
163         junit.textui.TestRunner.run(suite());
164     }
165     
166     // TODO add test methods here, they have to start with 'test' name.
167
// for example:
168
// public void testHello() {}
169

170     
171 }
172
Popular Tags