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.86 by jsr166, Sun May 14 00:48:20 2017 UTC vs.
Revision 1.87 by jsr166, Sun May 14 01:30:34 2017 UTC

# Line 410 | Line 410 | public class DelayQueueTest extends JSR1
410          Thread t = newStartedThread(new CheckedRunnable() {
411              public void realRun() throws InterruptedException {
412                  long startTime = System.nanoTime();
413 <                for (int i = 0; i < SIZE; ++i) {
413 >                for (int i = 0; i < SIZE; i++)
414                      assertEquals(new PDelay(i),
415                                   ((PDelay)q.poll(LONG_DELAY_MS, MILLISECONDS)));
416                }
416  
417                  Thread.currentThread().interrupt();
418                  try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines