1 16 package org.apache.commons.collections.map; 17 18 import java.util.Map ; 19 20 import junit.framework.Test; 21 22 import org.apache.commons.collections.BulkTest; 23 24 32 public class TestStaticBucketMap extends AbstractTestMap { 33 34 public TestStaticBucketMap(String name) { 35 super(name); 36 } 37 38 public static Test suite() { 39 return BulkTest.makeSuite(TestStaticBucketMap.class); 40 } 41 42 public static void main(String [] args[]) { 43 String [] testCaseName = { TestStaticBucketMap.class.getName() }; 44 junit.textui.TestRunner.main(testCaseName); 45 } 46 47 public Map makeEmptyMap() { 48 return new StaticBucketMap(30); 49 } 50 51 public String [] ignoredTests() { 52 String pre = "TestStaticBucketMap.bulkTestMap"; 53 String post = ".testCollectionIteratorFailFast"; 54 return new String [] { 55 pre + "EntrySet" + post, 56 pre + "KeySet" + post, 57 pre + "Values" + post 58 }; 59 } 60 } 61 | Popular Tags |