1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  
18  package org.apache.commons.lang.mutable;
19  
20  import junit.framework.Test;
21  import junit.framework.TestCase;
22  import junit.framework.TestSuite;
23  import junit.textui.TestRunner;
24  
25  /**
26   * JUnit tests.
27   * 
28   * @version $Id: MutableTestSuite.java 618693 2008-02-05 16:33:29Z sebb $
29   */
30  public class MutableTestSuite extends TestCase {
31  
32      public static void main(String[] args) {
33          TestRunner.run(suite());
34      }
35  
36      public MutableTestSuite(String name) {
37          super(name);
38      }
39  
40      public static Test suite() {
41          final TestSuite suite = new TestSuite();
42  
43          suite.addTest(MutableBooleanTest.suite());
44          suite.addTest(MutableByteTest.suite());
45          suite.addTest(MutableShortTest.suite());
46          suite.addTest(MutableIntTest.suite());
47          suite.addTest(MutableLongTest.suite());
48          suite.addTest(MutableFloatTest.suite());
49          suite.addTest(MutableDoubleTest.suite());
50          suite.addTest(MutableObjectTest.suite());
51  
52          return suite;
53      }
54  
55  }