55 |
|
*/ |
56 |
|
public void testConstructor3() { |
57 |
|
try { |
58 |
< |
ConcurrentLinkedDeque q = new ConcurrentLinkedDeque((Collection)null); |
58 |
> |
new ConcurrentLinkedDeque((Collection)null); |
59 |
|
shouldThrow(); |
60 |
|
} catch (NullPointerException success) {} |
61 |
|
} |
66 |
|
public void testConstructor4() { |
67 |
|
try { |
68 |
|
Integer[] ints = new Integer[SIZE]; |
69 |
< |
ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(Arrays.asList(ints)); |
69 |
> |
new ConcurrentLinkedDeque(Arrays.asList(ints)); |
70 |
|
shouldThrow(); |
71 |
|
} catch (NullPointerException success) {} |
72 |
|
} |
79 |
|
Integer[] ints = new Integer[SIZE]; |
80 |
|
for (int i = 0; i < SIZE-1; ++i) |
81 |
|
ints[i] = new Integer(i); |
82 |
< |
ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(Arrays.asList(ints)); |
82 |
> |
new ConcurrentLinkedDeque(Arrays.asList(ints)); |
83 |
|
shouldThrow(); |
84 |
|
} catch (NullPointerException success) {} |
85 |
|
} |