15 |
|
public class LinkedBlockingQueueTest extends JSR166TestCase { |
16 |
|
|
17 |
|
public static void main(String[] args) { |
18 |
< |
junit.textui.TestRunner.run (suite()); |
18 |
> |
junit.textui.TestRunner.run(suite()); |
19 |
|
} |
20 |
|
|
21 |
|
public static Test suite() { |
686 |
|
/** |
687 |
|
* iterator.remove removes current element |
688 |
|
*/ |
689 |
< |
public void testIteratorRemove () { |
689 |
> |
public void testIteratorRemove() { |
690 |
|
final LinkedBlockingQueue q = new LinkedBlockingQueue(3); |
691 |
|
q.add(two); |
692 |
|
q.add(one); |
722 |
|
/** |
723 |
|
* Modifications do not cause iterators to fail |
724 |
|
*/ |
725 |
< |
public void testWeaklyConsistentIteration () { |
725 |
> |
public void testWeaklyConsistentIteration() { |
726 |
|
final LinkedBlockingQueue q = new LinkedBlockingQueue(3); |
727 |
|
q.add(one); |
728 |
|
q.add(two); |