[cvs] / jsr166 / src / test / tck / ArrayDequeTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ArrayDequeTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9, Sat Nov 21 10:25:05 2009 UTC revision 1.10, Sat Nov 21 10:29:49 2009 UTC
# Line 180  Line 180 
180       * Queue contains all elements, in traversal order, of successful addAll       * Queue contains all elements, in traversal order, of successful addAll
181       */       */
182      public void testAddAll5() {      public void testAddAll5() {
         try {  
183              Integer[] empty = new Integer[0];              Integer[] empty = new Integer[0];
184              Integer[] ints = new Integer[SIZE];              Integer[] ints = new Integer[SIZE];
185              for (int i = 0; i < SIZE; ++i)              for (int i = 0; i < SIZE; ++i)
# Line 191  Line 190 
190              for (int i = 0; i < SIZE; ++i)              for (int i = 0; i < SIZE; ++i)
191                  assertEquals(ints[i], q.pollFirst());                  assertEquals(ints[i], q.pollFirst());
192          }          }
         finally {}  
     }  
193    
194      /**      /**
195       *  pollFirst succeeds unless empty       *  pollFirst succeeds unless empty

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8