1 16 package org.apache.commons.collections.set; 17 18 import java.util.Set ; 19 20 import junit.framework.Test; 21 import junit.framework.TestSuite; 22 23 import org.apache.commons.collections.map.HashedMap; 24 25 33 public class TestMapBackedSet extends AbstractTestSet { 34 35 public TestMapBackedSet(String testName) { 36 super(testName); 37 } 38 39 public static Test suite() { 40 return new TestSuite(TestMapBackedSet.class); 41 } 42 43 public static void main(String args[]) { 44 String [] testCaseName = { TestMapBackedSet.class.getName()}; 45 junit.textui.TestRunner.main(testCaseName); 46 } 47 48 public Set makeEmptySet() { 49 return MapBackedSet.decorate(new HashedMap()); 50 } 51 52 public String getCompatibilityVersion() { 53 return "3.1"; 54 } 55 56 63 } 64 | Popular Tags |