Integrate TestEnumerationUtils into test suite.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2003-10-28 18:56:12 +00:00
parent d7b20360c5
commit fd398f99d8
2 changed files with 15 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestAll.java,v 1.50 2003/10/06 23:47:17 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestAll.java,v 1.51 2003/10/28 18:56:12 ggregory Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,7 +64,7 @@ import junit.framework.TestSuite;
/**
* Entry point for all Collections package tests.
*
* @version $Revision: 1.50 $ $Date: 2003/10/06 23:47:17 $
* @version $Revision: 1.51 $ $Date: 2003/10/28 18:56:12 $
*
* @author Rodney Waldhoff
* @author Stephen Colebourne
@ -115,6 +115,7 @@ public class TestAll extends TestCase {
suite.addTest(TestStaticBucketMap.suite());
suite.addTest(TestTreeBag.suite());
suite.addTest(TestUnboundedFifoBuffer.suite());
suite.addTest(TestEnumerationUtils.suite());
return suite;
}

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestEnumerationUtils.java,v 1.1 2003/10/28 18:48:10 ggregory Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestEnumerationUtils.java,v 1.2 2003/10/28 18:56:12 ggregory Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -63,15 +63,19 @@ import java.util.List;
import java.util.StringTokenizer;
import junit.framework.Assert;
import junit.framework.TestCase;
import junit.framework.Test;
/**
* Tests EnumerationUtils.
*
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @version $Id: TestEnumerationUtils.java,v 1.1 2003/10/28 18:48:10 ggregory Exp $
* @version $Id: TestEnumerationUtils.java,v 1.2 2003/10/28 18:56:12 ggregory Exp $
*/
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";
@ -122,4 +126,8 @@ public class TestEnumerationUtils extends TestCase {
Assert.assertTrue(actualKeyList.containsAll(expectedKeyList));
}
public static Test suite() {
return BulkTest.makeSuite(TestEnumerationUtils.class);
}
}