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.28 by jsr166, Tue Dec 1 06:39:23 2009 UTC vs.
Revision 1.31 by jsr166, Wed Aug 25 00:07:03 2010 UTC

# Line 13 | Line 13 | import java.util.concurrent.*;
13  
14   public class DelayQueueTest extends JSR166TestCase {
15      public static void main(String[] args) {
16 <        junit.textui.TestRunner.run (suite());
16 >        junit.textui.TestRunner.run(suite());
17      }
18  
19      public static Test suite() {
# Line 191 | Line 191 | public class DelayQueueTest extends JSR1
191      }
192  
193      /**
194 <     * remainingCapacity does not change when elementa added or removed,
194 >     * remainingCapacity does not change when elements added or removed,
195       * but size does
196       */
197      public void testRemainingCapacity() {
# Line 708 | Line 708 | public class DelayQueueTest extends JSR1
708      /**
709       * iterator.remove removes current element
710       */
711 <    public void testIteratorRemove () {
711 >    public void testIteratorRemove() {
712          final DelayQueue q = new DelayQueue();
713          q.add(new PDelay(2));
714          q.add(new PDelay(1));
# Line 754 | Line 754 | public class DelayQueueTest extends JSR1
754              }});
755  
756          joinPool(executor);
757
757      }
758  
759  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines