Searched refs:NOCAP (Results 1 – 2 of 2) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | DelayQueueTest.java | 35 private static final int NOCAP = Integer.MAX_VALUE; field in DelayQueueTest 123 assertEquals(NOCAP, q.remainingCapacity()); in populatedQueue() 132 assertEquals(NOCAP, new DelayQueue().remainingCapacity()); in testConstructor1() 187 assertEquals(NOCAP, q.remainingCapacity()); in testEmpty() 203 assertEquals(NOCAP, q.remainingCapacity()); in testRemainingCapacity() 208 assertEquals(NOCAP, q.remainingCapacity()); in testRemainingCapacity() 501 assertEquals(NOCAP, q.remainingCapacity()); in testClear()
|
D | PriorityBlockingQueueTest.java | 28 private static final int NOCAP = Integer.MAX_VALUE; field in PriorityBlockingQueueTest 50 assertEquals(NOCAP, q.remainingCapacity()); in populatedQueue() 59 assertEquals(NOCAP, new PriorityBlockingQueue(SIZE).remainingCapacity()); in testConstructor1() 140 assertEquals(NOCAP, q.remainingCapacity()); in testEmpty() 156 assertEquals(NOCAP, q.remainingCapacity()); in testRemainingCapacity() 161 assertEquals(NOCAP, q.remainingCapacity()); in testRemainingCapacity()
|