11 |
|
|
12 |
|
public class ConcurrentSkipListSubSetTest 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(ConcurrentSkipListSubSetTest.class); |
338 |
|
|
339 |
|
Object e4 = q.lower(zero); |
340 |
|
assertNull(e4); |
341 |
– |
|
341 |
|
} |
342 |
|
|
343 |
|
/** |
356 |
|
|
357 |
|
Object e4 = q.higher(six); |
358 |
|
assertNull(e4); |
360 |
– |
|
359 |
|
} |
360 |
|
|
361 |
|
/** |
374 |
|
|
375 |
|
Object e4 = q.floor(zero); |
376 |
|
assertNull(e4); |
379 |
– |
|
377 |
|
} |
378 |
|
|
379 |
|
/** |
392 |
|
|
393 |
|
Object e4 = q.ceiling(six); |
394 |
|
assertNull(e4); |
398 |
– |
|
395 |
|
} |
396 |
|
|
397 |
|
/** |
448 |
|
/** |
449 |
|
* iterator.remove removes current element |
450 |
|
*/ |
451 |
< |
public void testIteratorRemove () { |
451 |
> |
public void testIteratorRemove() { |
452 |
|
final NavigableSet q = set0(); |
453 |
|
q.add(new Integer(2)); |
454 |
|
q.add(new Integer(1)); |
840 |
|
|
841 |
|
Object e4 = q.lower(zero); |
842 |
|
assertNull(e4); |
847 |
– |
|
843 |
|
} |
844 |
|
|
845 |
|
/** |
858 |
|
|
859 |
|
Object e4 = q.higher(m6); |
860 |
|
assertNull(e4); |
866 |
– |
|
861 |
|
} |
862 |
|
|
863 |
|
/** |
876 |
|
|
877 |
|
Object e4 = q.floor(zero); |
878 |
|
assertNull(e4); |
885 |
– |
|
879 |
|
} |
880 |
|
|
881 |
|
/** |
894 |
|
|
895 |
|
Object e4 = q.ceiling(m6); |
896 |
|
assertNull(e4); |
904 |
– |
|
897 |
|
} |
898 |
|
|
899 |
|
/** |
950 |
|
/** |
951 |
|
* iterator.remove removes current element |
952 |
|
*/ |
953 |
< |
public void testDescendingIteratorRemove () { |
953 |
> |
public void testDescendingIteratorRemove() { |
954 |
|
final NavigableSet q = dset0(); |
955 |
|
q.add(new Integer(2)); |
956 |
|
q.add(new Integer(1)); |