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

Comparing jsr166/src/test/tck/ArrayBlockingQueueTest.java (file contents):
Revision 1.7 by dl, Sat Dec 27 19:26:42 2003 UTC vs.
Revision 1.9 by dl, Wed Jan 7 01:13:50 2004 UTC

# Line 744 | Line 744 | public class ArrayBlockingQueueTest exte
744      }
745  
746      /**
747 <     * toArray with incompatable array type throws CCE
747 >     * toArray with incompatible array type throws CCE
748       */
749      public void testToArray1_BadArg() {
750          try {
# Line 994 | Line 994 | public class ArrayBlockingQueueTest exte
994              for (int i = 0; i < SIZE; ++i)
995                  assertEquals(l.get(i), new Integer(i));
996              t.join();
997 <            assertTrue(q.size() + l.size() == SIZE+1);
997 >            assertTrue(q.size() + l.size() >= SIZE);
998          } catch(Exception e){
999              unexpectedException();
1000          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines