commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestEnumerationUtils.java TestAll.java
Date Tue, 28 Oct 2003 18:56:12 GMT
ggregory    2003/10/28 10:56:12

  Modified:    collections/src/test/org/apache/commons/collections
                        TestEnumerationUtils.java TestAll.java
  Log:
  Integrate TestEnumerationUtils into test suite.
  
  Revision  Changes    Path
  1.2       +12 -4     jakarta-commons/collections/src/test/org/apache/commons/collections/TestEnumerationUtils.java
  
  Index: TestEnumerationUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestEnumerationUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestEnumerationUtils.java	28 Oct 2003 18:48:10 -0000	1.1
  +++ TestEnumerationUtils.java	28 Oct 2003 18:56:12 -0000	1.2
  @@ -63,7 +63,7 @@
   import java.util.StringTokenizer;
   
   import junit.framework.Assert;
  -import junit.framework.TestCase;
  +import junit.framework.Test;
   
   /**
    * Tests EnumerationUtils.
  @@ -71,7 +71,11 @@
    * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
    * @version $Id$
    */
  -public class TestEnumerationUtils extends TestCase {
  +public class TestEnumerationUtils extends BulkTest {
  +
  +    public TestEnumerationUtils(String name) {
  +        super(name);
  +    }
   
       public static final String TO_LIST_FIXTURE = "this is a test";
       
  @@ -120,6 +124,10 @@
           expectedKeyList.add("two");
           expectedKeyList.add("three");
           Assert.assertTrue(actualKeyList.containsAll(expectedKeyList));
  +    }
  +
  +    public static Test suite() {
  +        return BulkTest.makeSuite(TestEnumerationUtils.class);
       }
   
   }
  
  
  
  1.51      +3 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/TestAll.java
  
  Index: TestAll.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestAll.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- TestAll.java	6 Oct 2003 23:47:17 -0000	1.50
  +++ TestAll.java	28 Oct 2003 18:56:12 -0000	1.51
  @@ -115,6 +115,7 @@
           suite.addTest(TestStaticBucketMap.suite());
           suite.addTest(TestTreeBag.suite());
           suite.addTest(TestUnboundedFifoBuffer.suite());
  +        suite.addTest(TestEnumerationUtils.suite());
           return suite;
       }
           
  
  
  

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


Mime
View raw message