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.decorators; 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(TestBaseProxyByteCollection.suite()); 043 suite.addTest(TestBaseProxyByteList.suite()); 044 suite.addTest(TestUnmodifiableByteList.suite()); 045 suite.addTest(TestUnmodifiableByteIterator.suite()); 046 suite.addTest(TestUnmodifiableByteListIterator.suite()); 047 048 suite.addTest(TestBaseProxyCharCollection.suite()); 049 suite.addTest(TestBaseProxyCharList.suite()); 050 suite.addTest(TestUnmodifiableCharList.suite()); 051 suite.addTest(TestUnmodifiableCharIterator.suite()); 052 suite.addTest(TestUnmodifiableCharListIterator.suite()); 053 054 suite.addTest(TestBaseProxyDoubleCollection.suite()); 055 suite.addTest(TestBaseProxyDoubleList.suite()); 056 suite.addTest(TestUnmodifiableDoubleList.suite()); 057 suite.addTest(TestUnmodifiableDoubleIterator.suite()); 058 suite.addTest(TestUnmodifiableDoubleListIterator.suite()); 059 060 suite.addTest(TestBaseProxyFloatCollection.suite()); 061 suite.addTest(TestBaseProxyFloatList.suite()); 062 suite.addTest(TestUnmodifiableFloatList.suite()); 063 suite.addTest(TestUnmodifiableFloatIterator.suite()); 064 suite.addTest(TestUnmodifiableFloatListIterator.suite()); 065 066 suite.addTest(TestBaseProxyShortCollection.suite()); 067 suite.addTest(TestBaseProxyShortList.suite()); 068 suite.addTest(TestUnmodifiableShortList.suite()); 069 suite.addTest(TestUnmodifiableShortIterator.suite()); 070 suite.addTest(TestUnmodifiableShortListIterator.suite()); 071 072 suite.addTest(TestBaseProxyIntCollection.suite()); 073 suite.addTest(TestBaseProxyIntList.suite()); 074 suite.addTest(TestUnmodifiableIntList.suite()); 075 suite.addTest(TestUnmodifiableIntIterator.suite()); 076 suite.addTest(TestUnmodifiableIntListIterator.suite()); 077 078 suite.addTest(TestBaseProxyLongCollection.suite()); 079 suite.addTest(TestBaseProxyLongList.suite()); 080 suite.addTest(TestUnmodifiableLongList.suite()); 081 suite.addTest(TestUnmodifiableLongIterator.suite()); 082 suite.addTest(TestUnmodifiableLongListIterator.suite()); 083 084 return suite; 085 } 086} 087