KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > lang > mutable > MutableTestSuite


1 /*
2  * Copyright 2002-2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.commons.lang.mutable;
17
18 import junit.framework.Test;
19 import junit.framework.TestSuite;
20 import junit.textui.TestRunner;
21
22 /**
23  * JUnit tests.
24  *
25  * @version $Id: MutableTestSuite.java 161244 2005-04-14 06:16:36Z ggregory $
26  */

27 public class MutableTestSuite {
28
29     public static void main(String JavaDoc[] args) {
30         TestRunner.run(suite());
31     }
32
33     public static Test suite() {
34         final TestSuite suite = new TestSuite();
35
36         suite.addTest(MutableByteTest.suite());
37         suite.addTest(MutableShortTest.suite());
38         suite.addTest(MutableIntTest.suite());
39         suite.addTest(MutableLongTest.suite());
40         suite.addTest(MutableFloatTest.suite());
41         suite.addTest(MutableDoubleTest.suite());
42         suite.addTest(MutableObjectTest.suite());
43
44         return suite;
45     }
46
47     private MutableTestSuite() {}
48
49 }
50
Popular Tags