You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/09/20 19:02:03 UTC

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestBufferUtils.java TestListUtils.java TestSetUtils.java TestMapUtils.java TestExtendedProperties.java TestBagUtils.java TestReferenceMap.java TestHashBag.java TestTreeBag.java

scolebourne    2003/09/20 10:02:03

  Modified:    collections/src/test/org/apache/commons/collections
                        TestBufferUtils.java TestListUtils.java
                        TestSetUtils.java TestMapUtils.java
                        TestExtendedProperties.java TestBagUtils.java
                        TestReferenceMap.java TestHashBag.java
                        TestTreeBag.java
  Log:
  Organize imports
  
  Revision  Changes    Path
  1.6       +4 -4      jakarta-commons/collections/src/test/org/apache/commons/collections/TestBufferUtils.java
  
  Index: TestBufferUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBufferUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestBufferUtils.java	12 Sep 2003 03:59:00 -0000	1.5
  +++ TestBufferUtils.java	20 Sep 2003 17:02:03 -0000	1.6
  @@ -62,10 +62,10 @@
   
   import java.util.Arrays;
   import java.util.Collection;
  -import org.apache.commons.collections.decorators.PredicatedBuffer;
   
   import junit.framework.Test;
   
  +import org.apache.commons.collections.decorators.PredicatedBuffer;
   
   /**
    *  Tests for BufferUtils.
  
  
  
  1.12      +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestListUtils.java
  
  Index: TestListUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestListUtils.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TestListUtils.java	12 Sep 2003 03:59:00 -0000	1.11
  +++ TestListUtils.java	20 Sep 2003 17:02:03 -0000	1.12
  @@ -65,9 +65,9 @@
   import java.util.Collection;
   import java.util.List;
   
  -import org.apache.commons.collections.decorators.PredicatedList;
  -
   import junit.framework.Test;
  +
  +import org.apache.commons.collections.decorators.PredicatedList;
   
   /**
    * Tests for ListUtils.
  
  
  
  1.9       +4 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestSetUtils.java
  
  Index: TestSetUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestSetUtils.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestSetUtils.java	12 Sep 2003 03:59:00 -0000	1.8
  +++ TestSetUtils.java	20 Sep 2003 17:02:03 -0000	1.9
  @@ -65,10 +65,9 @@
   import java.util.HashSet;
   import java.util.Set;
   
  -import org.apache.commons.collections.decorators.PredicatedSet;
  -
   import junit.framework.Test;
   
  +import org.apache.commons.collections.decorators.PredicatedSet;
   
   /**
    * Tests for SetUtils.
  
  
  
  1.15      +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestMapUtils.java
  
  Index: TestMapUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMapUtils.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TestMapUtils.java	20 Sep 2003 11:26:57 -0000	1.14
  +++ TestMapUtils.java	20 Sep 2003 17:02:03 -0000	1.15
  @@ -68,10 +68,10 @@
   import java.util.Set;
   import java.util.TreeMap;
   
  -import org.apache.commons.collections.decorators.PredicatedMap;
  -import org.apache.commons.collections.decorators.LazyMap;
  -
   import junit.framework.Test;
  +
  +import org.apache.commons.collections.decorators.LazyMap;
  +import org.apache.commons.collections.decorators.PredicatedMap;
   
   /**
    * Tests for MapUtils.
  
  
  
  1.9       +8 -7      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestExtendedProperties.java	31 Aug 2003 17:28:43 -0000	1.8
  +++ TestExtendedProperties.java	20 Sep 2003 17:02:03 -0000	1.9
  @@ -58,14 +58,15 @@
    * <http://www.apache.org/>.
    *
    */
  -
   package org.apache.commons.collections;
   
  +import java.io.ByteArrayInputStream;
  +import java.io.ByteArrayOutputStream;
  +import java.io.IOException;
  +
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  -
  -import java.io.*;
   
   /**
    * Tests some basic functions of the ExtendedProperties
  
  
  
  1.2       +9 -13     jakarta-commons/collections/src/test/org/apache/commons/collections/TestBagUtils.java
  
  Index: TestBagUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBagUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestBagUtils.java	20 Sep 2003 02:51:50 -0000	1.1
  +++ TestBagUtils.java	20 Sep 2003 17:02:03 -0000	1.2
  @@ -58,20 +58,16 @@
    */
   package org.apache.commons.collections;
   
  -import org.apache.commons.collections.decorators.SynchronizedBag;
  -import org.apache.commons.collections.decorators.UnmodifiableBag;
  +import junit.framework.Test;
  +
   import org.apache.commons.collections.decorators.PredicatedBag;
  -import org.apache.commons.collections.decorators.TypedBag;
  -import org.apache.commons.collections.decorators.TransformedBag;
  -import org.apache.commons.collections.decorators.SynchronizedSortedBag;
  -import org.apache.commons.collections.decorators.UnmodifiableSortedBag;
   import org.apache.commons.collections.decorators.PredicatedSortedBag;
  -import org.apache.commons.collections.decorators.TypedSortedBag;
  +import org.apache.commons.collections.decorators.SynchronizedBag;
  +import org.apache.commons.collections.decorators.SynchronizedSortedBag;
  +import org.apache.commons.collections.decorators.TransformedBag;
   import org.apache.commons.collections.decorators.TransformedSortedBag;
  -
  -
  -import junit.framework.Test;
  -
  +import org.apache.commons.collections.decorators.UnmodifiableBag;
  +import org.apache.commons.collections.decorators.UnmodifiableSortedBag;
   
   /**
    * Tests for BagUtils factory methods.
  
  
  
  1.10      +4 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestReferenceMap.java
  
  Index: TestReferenceMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestReferenceMap.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- TestReferenceMap.java	31 Aug 2003 17:28:43 -0000	1.9
  +++ TestReferenceMap.java	20 Sep 2003 17:02:03 -0000	1.10
  @@ -58,15 +58,12 @@
    * <http://www.apache.org/>.
    *
    */
  -
   package org.apache.commons.collections;
   
   import java.lang.ref.WeakReference;
  -
   import java.util.Map;
   
   import junit.framework.Test;
  -
   
   /**
    * Tests for ReferenceMap. 
  
  
  
  1.4       +6 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestHashBag.java
  
  Index: TestHashBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestHashBag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestHashBag.java	31 Aug 2003 17:28:43 -0000	1.3
  +++ TestHashBag.java	20 Sep 2003 17:02:03 -0000	1.4
  @@ -58,10 +58,10 @@
    * <http://www.apache.org/>.
    *
    */
  -
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
import junit.framework.TestSuite;
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
   
   /**
    * Extension of {@link TestBag} for exercising the {@link HashBag}
  
  
  
  1.4       +6 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestTreeBag.java
  
  Index: TestTreeBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestTreeBag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestTreeBag.java	31 Aug 2003 17:28:43 -0000	1.3
  +++ TestTreeBag.java	20 Sep 2003 17:02:03 -0000	1.4
  @@ -58,10 +58,10 @@
    * <http://www.apache.org/>.
    *
    */
  -
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
import junit.framework.TestSuite;
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
   
   /**
    * Extension of {@link TestBag} for exercising the {@link TreeBag}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org