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.45 by jsr166, Fri Nov 5 00:17:22 2010 UTC vs.
Revision 1.46 by jsr166, Thu Nov 18 18:49:18 2010 UTC

# Line 402 | Line 402 | public class DelayQueueTest extends JSR1
402                  try {
403                      q.take();
404                      shouldThrow();
405 <                } catch (InterruptedException expected) {}
405 >                } catch (InterruptedException success) {}
406                  assertTrue(millisElapsedSince(t0) >= SHORT_DELAY_MS);
407              }});
408          threadStarted.await();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines