1 16 package org.apache.commons.collections; 17 18 import java.util.ArrayList ; 19 import java.util.List ; 20 21 import junit.framework.Test; 22 23 30 public class TestFastArrayList extends TestArrayList { 31 32 public TestFastArrayList(String testName) { 33 super(testName); 34 } 35 36 public static Test suite() { 37 return BulkTest.makeSuite(TestFastArrayList.class); 38 } 39 40 public static void main(String args[]) { 41 String [] testCaseName = { TestFastArrayList.class.getName()}; 42 junit.textui.TestRunner.main(testCaseName); 43 } 44 45 public void setUp() { 46 list = (ArrayList ) makeEmptyList(); 47 } 48 49 public List makeEmptyList() { 50 FastArrayList fal = new FastArrayList(); 51 fal.setFast(false); 52 return (fal); 53 } 54 55 } 56 | Popular Tags |