14 |
|
public class CopyOnWriteArrayListTest extends JSR166TestCase { |
15 |
|
|
16 |
|
public static void main(String[] args) { |
17 |
< |
junit.textui.TestRunner.run (suite()); |
17 |
> |
junit.textui.TestRunner.run(suite()); |
18 |
|
} |
19 |
|
|
20 |
|
public static Test suite() { |
240 |
|
/** |
241 |
|
* iterator.remove throws UnsupportedOperationException |
242 |
|
*/ |
243 |
< |
public void testIteratorRemove () { |
243 |
> |
public void testIteratorRemove() { |
244 |
|
CopyOnWriteArrayList full = populatedArray(SIZE); |
245 |
|
Iterator it = full.iterator(); |
246 |
|
it.next(); |
593 |
|
} |
594 |
|
|
595 |
|
/** |
596 |
< |
* a deserialized serialiszed list is equal |
596 |
> |
* a deserialized serialized list is equal |
597 |
|
*/ |
598 |
|
public void testSerialization() throws Exception { |
599 |
|
CopyOnWriteArrayList q = populatedArray(SIZE); |