1 16 package org.apache.commons.collections.bag; 17 18 import junit.framework.Test; 19 import junit.framework.TestSuite; 20 21 import org.apache.commons.collections.Bag; 22 23 31 public class TestHashBag extends AbstractTestBag { 32 33 public TestHashBag(String testName) { 34 super(testName); 35 } 36 37 public static Test suite() { 38 return new TestSuite(TestHashBag.class); 39 } 40 41 public static void main(String args[]) { 42 String [] testCaseName = { TestHashBag.class.getName()}; 43 junit.textui.TestRunner.main(testCaseName); 44 } 45 46 public Bag makeBag() { 47 return new HashBag(); 48 } 49 50 public String getCompatibilityVersion() { 51 return "3"; 52 } 53 54 } 66 | Popular Tags |