Repository: commons-collections Updated Branches: refs/heads/COLLECTIONS_2_1_BRANCH [created] 79f14a890
http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bc4bf904/src/test/org/apache/commons/collections/primitives/TestIntArrayList.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/primitives/TestIntArrayList.java b/src/test/org/apache/commons/collections/primitives/TestIntArrayList.java deleted file mode 100644 index 0bd9993..0000000 --- a/src/test/org/apache/commons/collections/primitives/TestIntArrayList.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestIntArrayList.java,v 1.5 2002/10/12 22:36:21 scolebourne Exp $ - * $Revision: 1.5 $ - * $Date: 2002/10/12 22:36:21 $ - * - * ==================================================================== - * - * The Apache Software License, Version 1.1 - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. - * - * 4. The names "The Jakarta Project", "Commons", and "Apache Software - * Foundation" must not be used to endorse or promote products derived - * from this software without prior written permission. For written - * permission, please contact apa...@apache.org. - * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - * - */ - -package org.apache.commons.collections.primitives; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.commons.collections.BulkTest; - -/** - * @version $Revision: 1.5 $ $Date: 2002/10/12 22:36:21 $ - * @author Rodney Waldhoff - */ -public class TestIntArrayList extends TestAbstractIntArrayList { - - //------------------------------------------------------------ Conventional - - public TestIntArrayList(String testName) { - super(testName); - } - - public static Test suite() { - TestSuite suite = BulkTest.makeSuite(TestIntArrayList.class); - return suite; - } - - //---------------------------------------------------------------- Abstract - - protected AbstractIntList createList() { - return new IntArrayList(); - } - - //---------------------------------------------------------------- Tests - - public void testZeroInitialCapacityIsValid() { - IntArrayList list = new IntArrayList(0); - } - -} - http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bc4bf904/src/test/org/apache/commons/collections/primitives/TestLongArrayList.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/primitives/TestLongArrayList.java b/src/test/org/apache/commons/collections/primitives/TestLongArrayList.java deleted file mode 100644 index 9419c74..0000000 --- a/src/test/org/apache/commons/collections/primitives/TestLongArrayList.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestLongArrayList.java,v 1.5 2002/10/12 22:36:21 scolebourne Exp $ - * $Revision: 1.5 $ - * $Date: 2002/10/12 22:36:21 $ - * - * ==================================================================== - * - * The Apache Software License, Version 1.1 - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. - * - * 4. The names "The Jakarta Project", "Commons", and "Apache Software - * Foundation" must not be used to endorse or promote products derived - * from this software without prior written permission. For written - * permission, please contact apa...@apache.org. - * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - * - */ - -package org.apache.commons.collections.primitives; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.commons.collections.BulkTest; - -/** - * @version $Revision: 1.5 $ $Date: 2002/10/12 22:36:21 $ - * @author Rodney Waldhoff - */ -public class TestLongArrayList extends TestAbstractLongArrayList { - - //------------------------------------------------------------ Conventional - - public TestLongArrayList(String testName) { - super(testName); - } - - public static Test suite() { - TestSuite suite = BulkTest.makeSuite(TestLongArrayList.class); - return suite; - } - - //---------------------------------------------------------- Abstract Impls - - protected AbstractLongList createList() { - return new LongArrayList(); - } - - //---------------------------------------------------------------- Tests - - public void testZeroInitialCapacityIsValid() { - LongArrayList list = new LongArrayList(0); - } - -} - http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bc4bf904/src/test/org/apache/commons/collections/primitives/TestShortArrayList.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/primitives/TestShortArrayList.java b/src/test/org/apache/commons/collections/primitives/TestShortArrayList.java deleted file mode 100644 index b51eaed..0000000 --- a/src/test/org/apache/commons/collections/primitives/TestShortArrayList.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestShortArrayList.java,v 1.5 2002/10/12 22:36:21 scolebourne Exp $ - * $Revision: 1.5 $ - * $Date: 2002/10/12 22:36:21 $ - * - * ==================================================================== - * - * The Apache Software License, Version 1.1 - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. - * - * 4. The names "The Jakarta Project", "Commons", and "Apache Software - * Foundation" must not be used to endorse or promote products derived - * from this software without prior written permission. For written - * permission, please contact apa...@apache.org. - * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - * - */ - -package org.apache.commons.collections.primitives; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.commons.collections.BulkTest; - -/** - * @version $Revision: 1.5 $ $Date: 2002/10/12 22:36:21 $ - * @author Rodney Waldhoff - */ -public class TestShortArrayList extends TestAbstractShortArrayList { - - //------------------------------------------------------------ Conventional - - public TestShortArrayList(String testName) { - super(testName); - } - - public static Test suite() { - TestSuite suite = BulkTest.makeSuite(TestShortArrayList.class); - return suite; - } - - //---------------------------------------------------------------- Abstract - - protected AbstractShortList createList() { - return new ShortArrayList(); - } - - //---------------------------------------------------------------- Tests - - public void testZeroInitialCapacityIsValid() { - ShortArrayList list = new ShortArrayList(0); - } - -} - http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bc4bf904/src/test/org/apache/commons/collections/primitives/TestUnsignedByteArrayList.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/primitives/TestUnsignedByteArrayList.java b/src/test/org/apache/commons/collections/primitives/TestUnsignedByteArrayList.java deleted file mode 100644 index f79ed87..0000000 --- a/src/test/org/apache/commons/collections/primitives/TestUnsignedByteArrayList.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestUnsignedByteArrayList.java,v 1.5 2002/10/12 22:36:21 scolebourne Exp $ - * $Revision: 1.5 $ - * $Date: 2002/10/12 22:36:21 $ - * - * ==================================================================== - * - * The Apache Software License, Version 1.1 - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. - * - * 4. The names "The Jakarta Project", "Commons", and "Apache Software - * Foundation" must not be used to endorse or promote products derived - * from this software without prior written permission. For written - * permission, please contact apa...@apache.org. - * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - * - */ - -package org.apache.commons.collections.primitives; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.commons.collections.BulkTest; - -/** - * @version $Revision: 1.5 $ $Date: 2002/10/12 22:36:21 $ - * @author Rodney Waldhoff - */ -public class TestUnsignedByteArrayList extends TestAbstractShortArrayList { - - //------------------------------------------------------------ Conventional - - public TestUnsignedByteArrayList(String testName) { - super(testName); - } - - public static Test suite() { - TestSuite suite = BulkTest.makeSuite(TestUnsignedByteArrayList.class); - return suite; - } - - //---------------------------------------------------------------- Abstract - - protected AbstractShortList createList() { - return new UnsignedByteArrayList(); - } - - //---------------------------------------------------------------- Tests - - public void testZeroInitialCapacityIsValid() { - UnsignedByteArrayList list = new UnsignedByteArrayList(0); - } - -} - http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bc4bf904/src/test/org/apache/commons/collections/primitives/TestUnsignedIntArrayList.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/primitives/TestUnsignedIntArrayList.java b/src/test/org/apache/commons/collections/primitives/TestUnsignedIntArrayList.java deleted file mode 100644 index 7dea223..0000000 --- a/src/test/org/apache/commons/collections/primitives/TestUnsignedIntArrayList.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestUnsignedIntArrayList.java,v 1.5 2002/10/12 22:36:21 scolebourne Exp $ - * $Revision: 1.5 $ - * $Date: 2002/10/12 22:36:21 $ - * - * ==================================================================== - * - * The Apache Software License, Version 1.1 - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. - * - * 4. The names "The Jakarta Project", "Commons", and "Apache Software - * Foundation" must not be used to endorse or promote products derived - * from this software without prior written permission. For written - * permission, please contact apa...@apache.org. - * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - * - */ - -package org.apache.commons.collections.primitives; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.commons.collections.BulkTest; - -/** - * @version $Revision: 1.5 $ $Date: 2002/10/12 22:36:21 $ - * @author Rodney Waldhoff - */ -public class TestUnsignedIntArrayList extends TestAbstractLongArrayList { - - //------------------------------------------------------------ Conventional - - public TestUnsignedIntArrayList(String testName) { - super(testName); - } - - public static Test suite() { - TestSuite suite = BulkTest.makeSuite(TestUnsignedIntArrayList.class); - return suite; - } - - //---------------------------------------------------------- Abstract Impls - - protected AbstractLongList createList() { - return new UnsignedIntArrayList(); - } - - //---------------------------------------------------------------- Tests - - public void testZeroInitialCapacityIsValid() { - UnsignedIntArrayList list = new UnsignedIntArrayList(0); - } - -} - http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bc4bf904/src/test/org/apache/commons/collections/primitives/TestUnsignedShortArrayList.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/primitives/TestUnsignedShortArrayList.java b/src/test/org/apache/commons/collections/primitives/TestUnsignedShortArrayList.java deleted file mode 100644 index 5efb623..0000000 --- a/src/test/org/apache/commons/collections/primitives/TestUnsignedShortArrayList.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestUnsignedShortArrayList.java,v 1.5 2002/10/12 22:36:21 scolebourne Exp $ - * $Revision: 1.5 $ - * $Date: 2002/10/12 22:36:21 $ - * - * ==================================================================== - * - * The Apache Software License, Version 1.1 - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, if - * any, must include the following acknowlegement: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowlegement may appear in the software itself, - * if and wherever such third-party acknowlegements normally appear. - * - * 4. The names "The Jakarta Project", "Commons", and "Apache Software - * Foundation" must not be used to endorse or promote products derived - * from this software without prior written permission. For written - * permission, please contact apa...@apache.org. - * - * 5. Products derived from this software may not be called "Apache" - * nor may "Apache" appear in their names without prior written - * permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - * - */ - -package org.apache.commons.collections.primitives; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.commons.collections.BulkTest; - -/** - * @version $Revision: 1.5 $ $Date: 2002/10/12 22:36:21 $ - * @author Rodney Waldhoff - */ -public class TestUnsignedShortArrayList extends TestAbstractIntArrayList { - - //------------------------------------------------------------ Conventional - - public TestUnsignedShortArrayList(String testName) { - super(testName); - } - - public static Test suite() { - TestSuite suite = BulkTest.makeSuite(TestUnsignedShortArrayList.class); - return suite; - } - - //---------------------------------------------------------------- Abstract - - protected AbstractIntList createList() { - return new UnsignedShortArrayList(); - } - - //---------------------------------------------------------------- Tests - - public void testZeroInitialCapacityIsValid() { - UnsignedShortArrayList list = new UnsignedShortArrayList(0); - } - -} -