Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956.
Also see the following revisions: ------------------------------------------------------------------------ r571381 | skestle | 2007-08-30 22:13:56 -0700 (Thu, 30 Aug 2007) | 1 line Generified LazyMap ------------------------------------------------------------------------ git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7777f1c6ee
commit
59de6795f7
|
@ -16,9 +16,11 @@
|
||||||
*/
|
*/
|
||||||
package org.apache.commons.collections.map;
|
package org.apache.commons.collections.map;
|
||||||
|
|
||||||
import junit.framework.Test;
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.junit.runners.Suite;
|
||||||
|
import org.junit.runners.Suite.SuiteClasses;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entry point for tests.
|
* Entry point for tests.
|
||||||
|
@ -27,51 +29,38 @@ import junit.framework.TestSuite;
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
*
|
*
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
|
* @author Stephen Kestle
|
||||||
*/
|
*/
|
||||||
|
@RunWith(Suite.class)
|
||||||
|
@SuiteClasses({
|
||||||
|
TestCaseInsensitiveMap.class,
|
||||||
|
TestCompositeMap.class,
|
||||||
|
TestDefaultedMap.class,
|
||||||
|
TestFlat3Map.class,
|
||||||
|
TestHashedMap.class,
|
||||||
|
TestIdentityMap.class,
|
||||||
|
TestLinkedMap.class,
|
||||||
|
TestLRUMap.class,
|
||||||
|
TestMultiKeyMap.class,
|
||||||
|
TestReferenceMap.class,
|
||||||
|
TestReferenceIdentityMap.class,
|
||||||
|
TestStaticBucketMap.class,
|
||||||
|
TestSingletonMap.class,
|
||||||
|
|
||||||
|
TestFixedSizeMap.class,
|
||||||
|
TestFixedSizeSortedMap.class,
|
||||||
|
TestLazyMap.class,
|
||||||
|
TestLazySortedMap.class,
|
||||||
|
TestListOrderedMap.class,
|
||||||
|
TestListOrderedMap2.class,
|
||||||
|
TestMultiValueMap.class,
|
||||||
|
TestPredicatedMap.class,
|
||||||
|
TestPredicatedSortedMap.class,
|
||||||
|
TestTransformedMap.class,
|
||||||
|
TestTransformedSortedMap.class,
|
||||||
|
TestUnmodifiableMap.class,
|
||||||
|
TestUnmodifiableOrderedMap.class,
|
||||||
|
TestUnmodifiableSortedMap.class
|
||||||
|
})
|
||||||
public class TestAll extends TestCase {
|
public class TestAll extends TestCase {
|
||||||
|
|
||||||
public TestAll(String testName) {
|
|
||||||
super(testName);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void main(String args[]) {
|
|
||||||
String[] testCaseName = { TestAll.class.getName() };
|
|
||||||
junit.textui.TestRunner.main(testCaseName);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Test suite() {
|
|
||||||
TestSuite suite = new TestSuite();
|
|
||||||
|
|
||||||
suite.addTest(TestCaseInsensitiveMap.suite());
|
|
||||||
suite.addTest(TestCompositeMap.suite());
|
|
||||||
suite.addTest(TestDefaultedMap.suite());
|
|
||||||
suite.addTest(TestFlat3Map.suite());
|
|
||||||
suite.addTest(TestHashedMap.suite());
|
|
||||||
suite.addTest(TestIdentityMap.suite());
|
|
||||||
suite.addTest(TestLinkedMap.suite());
|
|
||||||
suite.addTest(TestLRUMap.suite());
|
|
||||||
suite.addTest(TestMultiKeyMap.suite());
|
|
||||||
suite.addTest(TestReferenceMap.suite());
|
|
||||||
suite.addTest(TestReferenceIdentityMap.suite());
|
|
||||||
suite.addTest(TestStaticBucketMap.suite());
|
|
||||||
suite.addTest(TestSingletonMap.suite());
|
|
||||||
|
|
||||||
suite.addTest(TestFixedSizeMap.suite());
|
|
||||||
suite.addTest(TestFixedSizeSortedMap.suite());
|
|
||||||
suite.addTest(TestLazyMap.suite());
|
|
||||||
suite.addTest(TestLazySortedMap.suite());
|
|
||||||
suite.addTest(TestListOrderedMap.suite());
|
|
||||||
suite.addTest(TestListOrderedMap2.suite());
|
|
||||||
suite.addTest(TestMultiValueMap.suite());
|
|
||||||
suite.addTest(TestPredicatedMap.suite());
|
|
||||||
suite.addTest(TestPredicatedSortedMap.suite());
|
|
||||||
suite.addTest(TestTransformedMap.suite());
|
|
||||||
suite.addTest(TestTransformedSortedMap.suite());
|
|
||||||
suite.addTest(TestUnmodifiableMap.suite());
|
|
||||||
suite.addTest(TestUnmodifiableOrderedMap.suite());
|
|
||||||
suite.addTest(TestUnmodifiableSortedMap.suite());
|
|
||||||
|
|
||||||
return suite;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue