14 |
|
|
15 |
|
public class PriorityBlockingQueueTest extends JSR166TestCase { |
16 |
|
public static void main(String[] args) { |
17 |
< |
junit.textui.TestRunner.run (suite()); |
17 |
> |
junit.textui.TestRunner.run(suite()); |
18 |
|
} |
19 |
|
public static Test suite() { |
20 |
|
return new TestSuite(PriorityBlockingQueueTest.class); |
663 |
|
/** |
664 |
|
* iterator.remove removes current element |
665 |
|
*/ |
666 |
< |
public void testIteratorRemove () { |
666 |
> |
public void testIteratorRemove() { |
667 |
|
final PriorityBlockingQueue q = new PriorityBlockingQueue(3); |
668 |
|
q.add(new Integer(2)); |
669 |
|
q.add(new Integer(1)); |