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 TestFastArrayList1 extends TestFastArrayList { 31 32 public TestFastArrayList1(String testName) { 33 super(testName); 34 } 35 36 public static Test suite() { 37 return BulkTest.makeSuite(TestFastArrayList1.class); 38 } 39 40 public static void main(String args[]) { 41 String [] testCaseName = { TestFastArrayList1.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(true); 52 return (fal); 53 } 54 55 public String [] ignoredTests() { 56 return new String [] { 58 "TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet", 59 "TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove", 60 }; 61 } 62 63 } 64 | Popular Tags |