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

Comparing jsr166/src/test/tck/PriorityBlockingQueueTest.java (file contents):
Revision 1.59 by jsr166, Sat Feb 28 19:59:23 2015 UTC vs.
Revision 1.60 by jsr166, Sat Feb 28 20:13:46 2015 UTC

# Line 197 | Line 197 | public class PriorityBlockingQueueTest e
197       * Offer of non-Comparable throws CCE
198       */
199      public void testOfferNonComparable() {
200 +        PriorityBlockingQueue q = new PriorityBlockingQueue(1);
201          try {
201            PriorityBlockingQueue q = new PriorityBlockingQueue(1);
202            q.offer(new Object());
202              q.offer(new Object());
203              q.offer(new Object());
204              shouldThrow();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines