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

Comparing jsr166/src/test/tck/DelayQueueTest.java (file contents):
Revision 1.33 by jsr166, Thu Sep 16 00:52:49 2010 UTC vs.
Revision 1.34 by dl, Wed Sep 29 12:33:48 2010 UTC

# Line 492 | Line 492 | public class DelayQueueTest extends JSR1
492          final PDelay pdelay = new PDelay(0);
493          Thread t = new Thread(new CheckedRunnable() {
494              public void realRun() throws InterruptedException {
495                assertNull(q.poll(SHORT_DELAY_MS, MILLISECONDS));
496                assertSame(pdelay, q.poll(LONG_DELAY_MS, MILLISECONDS));
495                  try {
496 +                    assertNull(q.poll(SHORT_DELAY_MS, MILLISECONDS));
497 +                    assertSame(pdelay, q.poll(LONG_DELAY_MS, MILLISECONDS));
498                      q.poll(LONG_DELAY_MS, MILLISECONDS);
499                      shouldThrow();
500                  } catch (InterruptedException success) {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines