11 |
|
|
12 |
|
public class ConcurrentSkipListSetTest extends JSR166TestCase { |
13 |
|
public static void main(String[] args) { |
14 |
< |
junit.textui.TestRunner.run (suite()); |
14 |
> |
junit.textui.TestRunner.run(suite()); |
15 |
|
} |
16 |
|
public static Test suite() { |
17 |
|
return new TestSuite(ConcurrentSkipListSetTest.class); |
375 |
|
|
376 |
|
Object e4 = q.lower(zero); |
377 |
|
assertNull(e4); |
378 |
– |
|
378 |
|
} |
379 |
|
|
380 |
|
/** |
393 |
|
|
394 |
|
Object e4 = q.higher(six); |
395 |
|
assertNull(e4); |
397 |
– |
|
396 |
|
} |
397 |
|
|
398 |
|
/** |
411 |
|
|
412 |
|
Object e4 = q.floor(zero); |
413 |
|
assertNull(e4); |
416 |
– |
|
414 |
|
} |
415 |
|
|
416 |
|
/** |
429 |
|
|
430 |
|
Object e4 = q.ceiling(six); |
431 |
|
assertNull(e4); |
435 |
– |
|
432 |
|
} |
433 |
|
|
434 |
|
/** |
485 |
|
/** |
486 |
|
* iterator.remove removes current element |
487 |
|
*/ |
488 |
< |
public void testIteratorRemove () { |
488 |
> |
public void testIteratorRemove() { |
489 |
|
final ConcurrentSkipListSet q = new ConcurrentSkipListSet(); |
490 |
|
q.add(new Integer(2)); |
491 |
|
q.add(new Integer(1)); |