    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.beanutils.converters;
    19
    20  import junit.framework.Test;
    21  import junit.framework.TestSuite;
    22
    23  /***
    24   * <p>
    25   * Created a test suite so that new test cases can be added here without having to
    26   * edit the build.xml.
    27   * </p>
    28   *
    29   * @author  Robert Burrell Donkin
    30   * @version $Revision: 471689 $ $Date: 2006-11-06 10:52:49 +0000 (Mon, 06 Nov 2006) $
    31   */
    32
    33  public class ConverterTestSuite {
    34
    35      /***
    36       * Return the tests included in this test suite.
    37       */
    38      public static Test suite() {
    39          TestSuite testSuite = new TestSuite();
    40          testSuite.addTestSuite(ArrayConverterTestCase.class);
    41          testSuite.addTestSuite(BigDecimalConverterTestCase.class);
    42          testSuite.addTestSuite(BigIntegerConverterTestCase.class);
    43          testSuite.addTestSuite(BooleanArrayConverterTestCase.class);
    44          testSuite.addTestSuite(BooleanConverterTestCase.class);
    45          testSuite.addTestSuite(ByteConverterTestCase.class);
    46          testSuite.addTestSuite(CalendarConverterTestCase.class);
    47          testSuite.addTestSuite(CharacterConverterTestCase.class);
    48          testSuite.addTestSuite(ClassConverterTestCase.class);
    49          testSuite.addTestSuite(DateConverterTestCase.class);
    50          testSuite.addTestSuite(DoubleConverterTestCase.class);
    51          testSuite.addTestSuite(FileConverterTestCase.class);
    52          testSuite.addTestSuite(FloatConverterTestCase.class);
    53          testSuite.addTestSuite(IntegerConverterTestCase.class);
    54          testSuite.addTestSuite(LongConverterTestCase.class);
    55          testSuite.addTestSuite(ShortConverterTestCase.class);
    56          testSuite.addTestSuite(SqlDateConverterTestCase.class);
    57          testSuite.addTestSuite(SqlTimeConverterTestCase.class);
    58          testSuite.addTestSuite(SqlTimestampConverterTestCase.class);
    59          testSuite.addTestSuite(StringArrayConverterTestCase.class);
    60          testSuite.addTestSuite(URLConverterTestCase.class);
    61          return testSuite;
    62      }
    63  }
    64