scolebourne 2003/10/05 14:11:06
Modified: collections/src/test/org/apache/commons/collections
TestFactoryUtils.java TestClosureUtils.java
TestExtendedProperties.java TestFastTreeMap1.java
TestFastArrayList1.java TestCircularFifoBuffer.java
TestFastHashMap1.java TestFastArrayList.java
TestCommonsLinkedList.java
TestDoubleOrderedMap.java TestFastHashMap.java
TestFastTreeMap.java TestCursorableLinkedList.java
Log:
Update licence and version
Revision Changes Path
1.5 +3 -3
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFactoryUtils.java
Index: TestFactoryUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFactoryUtils.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestFactoryUtils.java 31 Aug 2003 17:28:43 -0000 1.4
+++ TestFactoryUtils.java 5 Oct 2003 21:11:06 -0000 1.5
@@ -4,7 +4,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.3 +3 -3
jakarta-commons/collections/src/test/org/apache/commons/collections/TestClosureUtils.java
Index: TestClosureUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestClosureUtils.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestClosureUtils.java 31 Aug 2003 17:28:43 -0000 1.2
+++ TestClosureUtils.java 5 Oct 2003 21:11:06 -0000 1.3
@@ -4,7 +4,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.10 +8 -10
jakarta-commons/collections/src/test/org/apache/commons/collections/TestExtendedProperties.java
Index: TestExtendedProperties.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestExtendedProperties.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- TestExtendedProperties.java 20 Sep 2003 17:02:03 -0000 1.9
+++ TestExtendedProperties.java 5 Oct 2003 21:11:06 -0000 1.10
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -69,15 +66,16 @@
import junit.framework.TestSuite;
/**
- * Tests some basic functions of the ExtendedProperties
- * class
+ * Tests some basic functions of the ExtendedProperties class.
+ *
+ * @version $Revision$ $Date$
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
+ * @author Geir Magnusson Jr.
* @author Mohan Kishore
* @author Stephen Colebourne
- * @version $Id$
*/
public class TestExtendedProperties extends TestCase {
+
protected ExtendedProperties eprop = new ExtendedProperties();
public TestExtendedProperties(String testName) {
1.7 +12 -19
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap1.java
Index: TestFastTreeMap1.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap1.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestFastTreeMap1.java 31 Aug 2003 17:28:43 -0000 1.6
+++ TestFastTreeMap1.java 5 Oct 2003 21:11:06 -0000 1.7
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,7 +55,6 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
import java.util.Map;
@@ -68,25 +64,23 @@
/**
* Test FastTreeMap in <strong>fast</strong> mode.
+ *
+ * @version $Revision$ $Date$
*
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id$
*/
-public class TestFastTreeMap1 extends TestFastTreeMap
-{
- public TestFastTreeMap1(String testName)
- {
+public class TestFastTreeMap1 extends TestFastTreeMap {
+
+ public TestFastTreeMap1(String testName) {
super(testName);
}
- public static Test suite()
- {
+ public static Test suite() {
return BulkTest.makeSuite(TestFastTreeMap1.class);
}
- public static void main(String args[])
- {
- String[] testCaseName = { TestFastTreeMap1.class.getName() };
+ public static void main(String args[]) {
+ String[] testCaseName = { TestFastTreeMap1.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
@@ -96,8 +90,7 @@
return (ftm);
}
- public void setUp()
- {
+ public void setUp() {
map = (TreeMap) makeEmptyMap();
}
1.6 +14 -23
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList1.java
Index: TestFastArrayList1.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList1.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TestFastArrayList1.java 31 Aug 2003 17:28:43 -0000 1.5
+++ TestFastArrayList1.java 5 Oct 2003 21:11:06 -0000 1.6
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,7 +55,6 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
import java.util.ArrayList;
@@ -68,39 +64,34 @@
/**
* Test FastArrayList implementation in <strong>fast</strong> mode.
+ *
+ * @version $Revision$ $Date$
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id$
+ * @author Jason van Zyl
*/
-public class TestFastArrayList1 extends TestFastArrayList
-{
- public TestFastArrayList1(String testName)
- {
+public class TestFastArrayList1 extends TestFastArrayList {
+
+ public TestFastArrayList1(String testName) {
super(testName);
}
- public static Test suite()
- {
+ public static Test suite() {
return BulkTest.makeSuite(TestFastArrayList1.class);
}
- public static void main(String args[])
- {
- String[] testCaseName = { TestFastArrayList1.class.getName() };
+ public static void main(String args[]) {
+ String[] testCaseName = { TestFastArrayList1.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
- public void setUp()
- {
+ public void setUp() {
list = (ArrayList) makeEmptyList();
}
- public List makeEmptyList()
- {
+ public List makeEmptyList() {
FastArrayList fal = new FastArrayList();
fal.setFast(true);
return (fal);
}
-
}
1.5 +4 -4
jakarta-commons/collections/src/test/org/apache/commons/collections/TestCircularFifoBuffer.java
Index: TestCircularFifoBuffer.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestCircularFifoBuffer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestCircularFifoBuffer.java 2 Oct 2003 22:14:29 -0000 1.4
+++ TestCircularFifoBuffer.java 5 Oct 2003 21:11:06 -0000 1.5
@@ -4,7 +4,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1.7 +13 -20
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastHashMap1.java
Index: TestFastHashMap1.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastHashMap1.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestFastHashMap1.java 31 Aug 2003 17:28:43 -0000 1.6
+++ TestFastHashMap1.java 5 Oct 2003 21:11:06 -0000 1.7
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,7 +55,6 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
import java.util.HashMap;
@@ -68,25 +64,23 @@
/**
* Test FastHashMap in <strong>fast</strong> mode.
+ *
+ * @version $Revision$ $Date$
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id$
+ * @author Jason van Zyl
*/
-public class TestFastHashMap1 extends TestFastHashMap
-{
- public TestFastHashMap1(String testName)
- {
+public class TestFastHashMap1 extends TestFastHashMap {
+
+ public TestFastHashMap1(String testName) {
super(testName);
}
- public static Test suite()
- {
+ public static Test suite() {
return BulkTest.makeSuite(TestFastHashMap1.class);
}
- public static void main(String args[])
- {
- String[] testCaseName = { TestFastHashMap1.class.getName() };
+ public static void main(String args[]) {
+ String[] testCaseName = { TestFastHashMap1.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
@@ -96,8 +90,7 @@
return (fhm);
}
- public void setUp()
- {
+ public void setUp() {
map = (HashMap) makeEmptyMap();
}
1.8 +16 -22
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList.java
Index: TestFastArrayList.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TestFastArrayList.java 31 Aug 2003 17:28:43 -0000 1.7
+++ TestFastArrayList.java 5 Oct 2003 21:11:06 -0000 1.8
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,7 +55,6 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
import java.util.ArrayList;
@@ -67,34 +63,32 @@
import junit.framework.Test;
/**
- * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id$
+ * Test FastArrayList.
+ *
+ * @version $Revision$ $Date$
+ *
+ * @author Jason van Zyl
*/
-public class TestFastArrayList extends TestArrayList
-{
- public TestFastArrayList(String testName)
- {
+public class TestFastArrayList extends TestArrayList {
+
+ public TestFastArrayList(String testName) {
super(testName);
}
- public static Test suite()
- {
+ public static Test suite() {
return BulkTest.makeSuite(TestFastArrayList.class);
}
- public static void main(String args[])
- {
- String[] testCaseName = { TestFastArrayList.class.getName() };
+ public static void main(String args[]) {
+ String[] testCaseName = { TestFastArrayList.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
- public void setUp()
- {
+ public void setUp() {
list = (ArrayList) makeEmptyList();
}
- public List makeEmptyList()
- {
+ public List makeEmptyList() {
FastArrayList fal = new FastArrayList();
fal.setFast(false);
return (fal);
1.5 +6 -7
jakarta-commons/collections/src/test/org/apache/commons/collections/TestCommonsLinkedList.java
Index: TestCommonsLinkedList.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestCommonsLinkedList.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestCommonsLinkedList.java 5 Oct 2003 06:41:08 -0000 1.4
+++ TestCommonsLinkedList.java 5 Oct 2003 21:11:06 -0000 1.5
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -68,7 +65,9 @@
/**
* Test case for [EMAIL PROTECTED] CommonsLinkedList}.
*
- * @author <a href="mailto:[EMAIL PROTECTED]">Rich Dougherty</a>
+ * @version $Revision$ $Date$
+ *
+ * @author Rich Dougherty
* @author David Hay
* @author Phil Steitz
*/
1.9 +6 -11
jakarta-commons/collections/src/test/org/apache/commons/collections/TestDoubleOrderedMap.java
Index: TestDoubleOrderedMap.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestDoubleOrderedMap.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- TestDoubleOrderedMap.java 2 Oct 2003 23:01:09 -0000 1.8
+++ TestDoubleOrderedMap.java 5 Oct 2003 21:11:06 -0000 1.9
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,11 +55,8 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
-
-
import java.util.Collection;
import java.util.ConcurrentModificationException;
import java.util.HashMap;
@@ -75,14 +69,15 @@
import junit.framework.Test;
-
/**
* Class TestDoubleOrderedMap
- *
+ * <p>
* Test cases for DoubleOrderedMap. This class cannot
* implement TestMap.SupportsPut, because it is a special
* Map that does not support duplicate keys, duplicate
* values, or null values.
+ *
+ * @version $Revision$ $Date$
*
* @author Marc Johnson (marcj at users dot sourceforge dot net)
*/
1.11 +14 -18
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastHashMap.java
Index: TestFastHashMap.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastHashMap.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- TestFastHashMap.java 2 Oct 2003 23:01:10 -0000 1.10
+++ TestFastHashMap.java 5 Oct 2003 21:11:06 -0000 1.11
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,7 +55,6 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
import java.util.Map;
@@ -66,24 +62,24 @@
import junit.framework.Test;
/**
- * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id$
+ * Tests FastHashMap.
+ *
+ * @version $Revision$ $Date$
+ *
+ * @author Jason van Zyl
*/
-public class TestFastHashMap extends AbstractTestMap
-{
- public TestFastHashMap(String testName)
- {
+public class TestFastHashMap extends AbstractTestMap {
+
+ public TestFastHashMap(String testName) {
super(testName);
}
- public static Test suite()
- {
+ public static Test suite() {
return BulkTest.makeSuite(TestFastHashMap.class);
}
- public static void main(String args[])
- {
- String[] testCaseName = { TestFastHashMap.class.getName() };
+ public static void main(String args[]) {
+ String[] testCaseName = { TestFastHashMap.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
1.11 +18 -24
jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap.java
Index: TestFastTreeMap.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- TestFastTreeMap.java 31 Aug 2003 17:28:43 -0000 1.10
+++ TestFastTreeMap.java 5 Oct 2003 21:11:06 -0000 1.11
@@ -1,13 +1,10 @@
/*
* $Header$
- * $Revision$
- * $Date$
- *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +33,7 @@
*
* 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.
+ * permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -58,7 +55,6 @@
* <http://www.apache.org/>.
*
*/
-
package org.apache.commons.collections;
import java.util.Map;
@@ -67,24 +63,24 @@
import junit.framework.Test;
/**
- * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id$
+ * Tests FastTreeMap.
+ *
+ * @version $Revision$ $Date$
+ *
+ * @author Jason van Zyl
*/
-public class TestFastTreeMap extends TestTreeMap
-{
- public TestFastTreeMap(String testName)
- {
+public class TestFastTreeMap extends TestTreeMap {
+
+ public TestFastTreeMap(String testName) {
super(testName);
}
- public static Test suite()
- {
+ public static Test suite() {
return BulkTest.makeSuite(TestFastTreeMap.class);
}
- public static void main(String args[])
- {
- String[] testCaseName = { TestFastTreeMap.class.getName() };
+ public static void main(String args[]) {
+ String[] testCaseName = { TestFastTreeMap.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
@@ -97,25 +93,23 @@
public Map makeConfirmedEmptyMap() {
return new TreeMap();
}
-
+
/**
* The comparator for the fast tree map does not support null keys.
**/
public boolean useNullKey() {
- return false;
+ return false;
}
-
/**
* There is a bug in JDK1.2.2 TreeMap; the keySet will incorrectly
* return false when a null value is removed
*/
public boolean useNullValue() {
- return false;
+ return false;
}
- public void setUp()
- {
+ public void setUp() {
map = (TreeMap) makeEmptyMap();
}
1.14 +2 -2
jakarta-commons/collections/src/test/org/apache/commons/collections/TestCursorableLinkedList.java
Index: TestCursorableLinkedList.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestCursorableLinkedList.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]