6 |
|
*/ |
7 |
|
|
8 |
|
import java.util.ArrayList; |
9 |
– |
import java.util.Collection; |
9 |
|
import java.util.List; |
10 |
|
|
11 |
|
import junit.framework.Test; |
13 |
– |
import junit.framework.TestSuite; |
12 |
|
|
13 |
|
public class ArrayListTest extends JSR166TestCase { |
14 |
|
public static void main(String[] args) { |
28 |
|
return super.emptyCollection().subList(0, 0); |
29 |
|
} |
30 |
|
} |
31 |
< |
return atLeastJava9() |
34 |
< |
? newTestSuite( |
31 |
> |
return newTestSuite( |
32 |
|
// ArrayListTest.class, |
33 |
|
CollectionTest.testSuite(new Implementation()), |
34 |
< |
CollectionTest.testSuite(new SubListImplementation())) |
38 |
< |
: newTestSuite( |
39 |
< |
CollectionTest.testSuite(new Implementation())); |
34 |
> |
CollectionTest.testSuite(new SubListImplementation())); |
35 |
|
} |
36 |
|
|
37 |
|
} |