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.47 by jsr166, Tue Mar 15 19:47:06 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
# 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