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.46 by jsr166, Tue Feb 21 01:54:04 2012 UTC vs.
Revision 1.48 by jsr166, Mon Jul 16 13:17:43 2012 UTC

# Line 44 | Line 44 | public class LinkedBlockingDequeTest ext
44      }
45  
46      /**
47 <     * Creates a deque of given size containing consecutive
47 >     * Returns a new deque of given size containing consecutive
48       * Integers 0 ... n.
49       */
50      private LinkedBlockingDeque<Integer> populatedDeque(int n) {
# Line 1064 | Line 1064 | public class LinkedBlockingDequeTest ext
1064  
1065                  pleaseInterrupt.countDown();
1066                  try {
1067 <                    q.pollFirst(SMALL_DELAY_MS, MILLISECONDS);
1067 >                    q.pollFirst(LONG_DELAY_MS, MILLISECONDS);
1068                      shouldThrow();
1069                  } catch (InterruptedException success) {}
1070                  assertFalse(Thread.interrupted());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines