001/*
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements.  See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License.  You may obtain a copy of the License at
008 *
009 *     http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017package org.apache.commons.collections.primitives.adapters;
018
019import junit.framework.Test;
020import junit.framework.TestCase;
021import junit.framework.TestSuite;
022
023/**
024 * Test this package.
025 * 
026 * @version $Revision: 480451 $ $Date: 2006-11-29 02:45:08 -0500 (Wed, 29 Nov 2006) $
027 * @author Rodney Waldhoff
028 */
029public class PackageTestSuite extends TestCase {
030    public PackageTestSuite(String testName) {
031        super(testName);
032    }
033
034    public static void main(String args[]) {
035        String[] testCaseName = { PackageTestSuite.class.getName() };
036        junit.textui.TestRunner.main(testCaseName);
037    }
038
039    public static Test suite() {
040        TestSuite suite = new TestSuite();
041
042        suite.addTest(TestAdapt.suite());
043        
044        suite.addTest(TestCollectionByteCollection.suite());
045        suite.addTest(TestByteCollectionCollection.suite());
046        suite.addTest(TestByteListList.suite());
047        suite.addTest(TestListByteList.suite());
048        suite.addTest(TestIteratorByteIterator.suite());
049        suite.addTest(TestListIteratorByteListIterator.suite());
050        suite.addTest(TestByteIteratorIterator.suite());
051        suite.addTest(TestByteListIteratorListIterator.suite());
052
053        suite.addTest(TestCollectionShortCollection.suite());
054        suite.addTest(TestShortCollectionCollection.suite());
055        suite.addTest(TestShortListList.suite());
056        suite.addTest(TestListShortList.suite());
057        suite.addTest(TestIteratorShortIterator.suite());
058        suite.addTest(TestListIteratorShortListIterator.suite());
059        suite.addTest(TestShortIteratorIterator.suite());
060        suite.addTest(TestShortListIteratorListIterator.suite());
061
062        suite.addTest(TestCollectionCharCollection.suite());
063        suite.addTest(TestCharCollectionCollection.suite());
064        suite.addTest(TestCharListList.suite());
065        suite.addTest(TestListCharList.suite());
066        suite.addTest(TestIteratorCharIterator.suite());
067        suite.addTest(TestListIteratorCharListIterator.suite());
068        suite.addTest(TestCharIteratorIterator.suite());
069        suite.addTest(TestCharListIteratorListIterator.suite());
070
071        suite.addTest(TestCollectionIntCollection.suite());
072        suite.addTest(TestIntCollectionCollection.suite());
073        suite.addTest(TestIntListList.suite());
074        suite.addTest(TestListIntList.suite());
075        suite.addTest(TestIteratorIntIterator.suite());
076        suite.addTest(TestListIteratorIntListIterator.suite());
077        suite.addTest(TestIntIteratorIterator.suite());
078        suite.addTest(TestIntListIteratorListIterator.suite());
079        
080                suite.addTest(TestCollectionLongCollection.suite());
081                suite.addTest(TestLongCollectionCollection.suite());
082                suite.addTest(TestLongListList.suite());
083                suite.addTest(TestListLongList.suite());
084                suite.addTest(TestIteratorLongIterator.suite());
085                suite.addTest(TestListIteratorLongListIterator.suite());
086                suite.addTest(TestLongIteratorIterator.suite());
087                suite.addTest(TestLongListIteratorListIterator.suite());
088
089        suite.addTest(TestCollectionFloatCollection.suite());
090        suite.addTest(TestFloatCollectionCollection.suite());
091        suite.addTest(TestFloatListList.suite());
092        suite.addTest(TestListFloatList.suite());
093        suite.addTest(TestIteratorFloatIterator.suite());
094        suite.addTest(TestListIteratorFloatListIterator.suite());
095        suite.addTest(TestFloatIteratorIterator.suite());
096        suite.addTest(TestFloatListIteratorListIterator.suite());
097
098        suite.addTest(TestCollectionDoubleCollection.suite());
099        suite.addTest(TestDoubleCollectionCollection.suite());
100        suite.addTest(TestDoubleListList.suite());
101        suite.addTest(TestListDoubleList.suite());
102        suite.addTest(TestIteratorDoubleIterator.suite());
103        suite.addTest(TestListIteratorDoubleListIterator.suite());
104        suite.addTest(TestDoubleIteratorIterator.suite());
105        suite.addTest(TestDoubleListIteratorListIterator.suite());
106
107        return suite;
108    }
109}
110