KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > monitor > stats > MutableCountStatisticImplTest


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  * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
26  * Use is subject to license terms.
27  */

28
29 /*
30  * MutableCountStatisticImplTest.java
31  * JUnit based test
32  *
33  * Created on April 1, 2004, 4:35 PM
34  */

35
36 package com.sun.enterprise.admin.monitor.stats;
37
38 import javax.management.j2ee.statistics.CountStatistic JavaDoc;
39 import com.sun.enterprise.admin.monitor.stats.CountStatisticImpl;
40 import javax.management.j2ee.statistics.Statistic JavaDoc;
41 import junit.framework.*;
42
43 /**
44  *
45  * @author Rob
46  */

47 public class MutableCountStatisticImplTest extends TestCase {
48     
49     public MutableCountStatisticImplTest(java.lang.String JavaDoc testName) {
50         super(testName);
51     }
52     
53     public static Test suite() {
54         TestSuite suite = new TestSuite(MutableCountStatisticImplTest.class);
55         return suite;
56     }
57     
58     /**
59      * Test of reset method, of class com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl.
60      */

61     public void testReset() {
62         System.out.println("testReset");
63         fail("The test case is empty.");
64     }
65     
66     /**
67      * Test of setCount method, of class com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl.
68      */

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

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

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

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

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

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

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

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

133     public void testGetCount() {
134         System.out.println("testGetCount");
135         fail("The test case is empty.");
136     }
137     
138     public static void main(java.lang.String JavaDoc[] args) {
139         junit.textui.TestRunner.run(suite());
140     }
141     
142     // TODO add test methods here, they have to start with 'test' name.
143
// for example:
144
// public void testHello() {}
145

146     
147 }
148
Popular Tags