KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > monitor > registry > spi > StatsHolderImplTest


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  * StatsHolderImplTest.java
26  * JUnit based test
27  *
28  * Created on April 1, 2004, 5:04 PM
29  */

30
31 package com.sun.enterprise.admin.monitor.registry.spi;
32
33 import com.sun.enterprise.admin.monitor.registry.*;
34 import javax.management.j2ee.statistics.*;
35 import javax.management.*;
36 import java.util.ArrayList JavaDoc;
37 import java.util.Hashtable JavaDoc;
38 import java.util.Enumeration JavaDoc;
39 import java.util.Collection JavaDoc;
40 import java.util.logging.*;
41 import com.sun.enterprise.admin.common.constant.AdminConstants;
42 import com.sun.enterprise.util.i18n.StringManager;
43 import junit.framework.*;
44
45 /**
46  *
47  * @author Rob
48  */

49 public class StatsHolderImplTest extends TestCase {
50     
51     public StatsHolderImplTest(java.lang.String JavaDoc testName) {
52         super(testName);
53     }
54     
55     public static Test suite() {
56         TestSuite suite = new TestSuite(StatsHolderImplTest.class);
57         return suite;
58     }
59     
60     /**
61      * Test of addChild method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
62      */

63     public void testAddChild() {
64         System.out.println("testAddChild");
65         fail("The test case is empty.");
66     }
67     
68     /**
69      * Test of getAllChildren method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
70      */

71     public void testGetAllChildren() {
72         System.out.println("testGetAllChildren");
73         fail("The test case is empty.");
74     }
75     
76     /**
77      * Test of removeAllChildren method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
78      */

79     public void testRemoveAllChildren() {
80         System.out.println("testRemoveAllChildren");
81         fail("The test case is empty.");
82     }
83     
84     /**
85      * Test of removeChild method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
86      */

87     public void testRemoveChild() {
88         System.out.println("testRemoveChild");
89         fail("The test case is empty.");
90     }
91     
92     /**
93      * Test of getName method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
94      */

95     public void testGetName() {
96         System.out.println("testGetName");
97         fail("The test case is empty.");
98     }
99     
100     /**
101      * Test of getType method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
102      */

103     public void testGetType() {
104         System.out.println("testGetType");
105         fail("The test case is empty.");
106     }
107     
108     /**
109      * Test of setStats method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
110      */

111     public void testSetStats() {
112         System.out.println("testSetStats");
113         fail("The test case is empty.");
114     }
115     
116     /**
117      * Test of getStats method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
118      */

119     public void testGetStats() {
120         System.out.println("testGetStats");
121         fail("The test case is empty.");
122     }
123     
124     /**
125      * Test of setObjectName method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
126      */

127     public void testSetObjectName() {
128         System.out.println("testSetObjectName");
129         fail("The test case is empty.");
130     }
131     
132     /**
133      * Test of getObjectName method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
134      */

135     public void testGetObjectName() {
136         System.out.println("testGetObjectName");
137         fail("The test case is empty.");
138     }
139     
140     /**
141      * Test of setDottedName method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
142      */

143     public void testSetDottedName() {
144         System.out.println("testSetDottedName");
145         fail("The test case is empty.");
146     }
147     
148     /**
149      * Test of getDottedName method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
150      */

151     public void testGetDottedName() {
152         System.out.println("testGetDottedName");
153         fail("The test case is empty.");
154     }
155     
156     /**
157      * Test of registerMBean method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
158      */

159     public void testRegisterMBean() {
160         System.out.println("testRegisterMBean");
161         fail("The test case is empty.");
162     }
163     
164     /**
165      * Test of unregisterMBean method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
166      */

167     public void testUnregisterMBean() {
168         System.out.println("testUnregisterMBean");
169         fail("The test case is empty.");
170     }
171     
172     /**
173      * Test of setType method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
174      */

175     public void testSetType() {
176         System.out.println("testSetType");
177         fail("The test case is empty.");
178     }
179     
180     /**
181      * Test of getChild method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
182      */

183     public void testGetChild() {
184         System.out.println("testGetChild");
185         fail("The test case is empty.");
186     }
187     
188     /**
189      * Test of write method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
190      */

191     public void testWrite() {
192         System.out.println("testWrite");
193         fail("The test case is empty.");
194     }
195     
196     /**
197      * Test of getStatsClass method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
198      */

199     public void testGetStatsClass() {
200         System.out.println("testGetStatsClass");
201         fail("The test case is empty.");
202     }
203     
204     /**
205      * Test of setStatsClass method, of class com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.
206      */

207     public void testSetStatsClass() {
208         System.out.println("testSetStatsClass");
209         fail("The test case is empty.");
210     }
211     
212     public static void main(java.lang.String JavaDoc[] args) {
213         junit.textui.TestRunner.run(suite());
214     }
215     
216     // TODO add test methods here, they have to start with 'test' name.
217
// for example:
218
// public void testHello() {}
219

220     
221 }
222
Popular Tags