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

Comparing jsr166/src/test/tck/LinkedTransferQueueTest.java (file contents):
Revision 1.33 by jsr166, Fri Oct 29 06:22:12 2010 UTC vs.
Revision 1.34 by jsr166, Fri Oct 29 07:01:51 2010 UTC

# Line 910 | Line 910 | public class LinkedTransferQueueTest ext
910          Thread t = newStartedThread(new CheckedRunnable() {
911              public void realRun() throws InterruptedException {
912                  threadStarted.countDown();
913 <                q.transfer(SIZE);
913 >                q.transfer(five);
914                  checkEmpty(q);
915              }});
916  
917          threadStarted.await();
918          waitForThreadToEnterWaitState(t, SMALL_DELAY_MS);
919        assertTrue(t.isAlive());
919          assertEquals(1, q.size());
920 <        assertEquals(SIZE, (int) q.poll());
920 >        assertSame(five, q.poll());
921          checkEmpty(q);
922          awaitTermination(t, MEDIUM_DELAY_MS);
923      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines