ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/LinkedBlockingDequeTest.java
(Generate patch)

Comparing jsr166/src/test/tck/LinkedBlockingDequeTest.java (file contents):
Revision 1.29 by jsr166, Wed Nov 3 07:54:52 2010 UTC vs.
Revision 1.30 by jsr166, Wed Nov 3 16:46:34 2010 UTC

# Line 1315 | Line 1315 | public class LinkedBlockingDequeTest ext
1315      }
1316  
1317      /**
1318 <     * toArray(null) throws NPE
1318 >     * toArray(null) throws NullPointerException
1319       */
1320 <    public void testToArray_BadArg() {
1320 >    public void testToArray_NullArg() {
1321          LinkedBlockingDeque q = populatedDeque(SIZE);
1322          try {
1323 <            Object o[] = q.toArray(null);
1323 >            q.toArray(null);
1324              shouldThrow();
1325          } catch (NullPointerException success) {}
1326      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines