/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentLinkedDequeTest.java | 40 ConcurrentLinkedDeque<Integer> q = new ConcurrentLinkedDeque<Integer>(); in populatedDeque() local 97 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(Arrays.asList(ints)); in testConstructor6() local 106 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testEmpty() local 120 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testSize() local 135 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testPushNull() local 146 ConcurrentLinkedDeque q = populatedDeque(3); in testPush() local 156 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPop() local 170 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testOfferNull() local 181 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testOfferFirstNull() local 192 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testOfferLastNull() local [all …]
|
D | ArrayDequeTest.java | 37 ArrayDeque<Integer> q = new ArrayDeque<Integer>(); in populatedDeque() local 93 ArrayDeque q = new ArrayDeque(Arrays.asList(ints)); in testConstructor6() local 102 ArrayDeque q = new ArrayDeque(); in testEmpty() local 116 ArrayDeque q = populatedDeque(SIZE); in testSize() local 131 ArrayDeque q = new ArrayDeque(1); in testPushNull() local 142 ArrayDeque q = populatedDeque(3); in testPush() local 152 ArrayDeque q = populatedDeque(SIZE); in testPop() local 166 ArrayDeque q = new ArrayDeque(); in testOfferNull() local 177 ArrayDeque q = new ArrayDeque(); in testOfferFirstNull() local 188 ArrayDeque q = new ArrayDeque(); in testOfferLastNull() local [all …]
|
D | LinkedBlockingDequeTest.java | 58 LinkedBlockingDeque<Integer> q = in populatedDeque() local 73 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testEmpty() local 87 LinkedBlockingDeque q = populatedDeque(SIZE); in testSize() local 102 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferFirstNull() local 113 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferLastNull() local 124 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferFirst() local 133 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferLast() local 142 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollFirst() local 153 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollLast() local 164 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeekFirst() local [all …]
|
D | LinkedListTest.java | 36 LinkedList<Integer> q = new LinkedList<Integer>(); in populatedQueue() local 69 LinkedList q = new LinkedList(Arrays.asList(ints)); in testConstructor6() local 78 LinkedList q = new LinkedList(); in testEmpty() local 92 LinkedList q = populatedQueue(SIZE); in testSize() local 107 LinkedList q = new LinkedList(); in testOfferNull() local 117 LinkedList q = new LinkedList(); in testOffer() local 126 LinkedList q = new LinkedList(); in testAdd() local 137 LinkedList q = new LinkedList(); in testAddAll1() local 152 LinkedList q = new LinkedList(); in testAddAll5() local 191 LinkedList q = populatedQueue(SIZE); in testPoll() local [all …]
|
D | ConcurrentLinkedQueueTest.java | 38 ConcurrentLinkedQueue<Integer> q = new ConcurrentLinkedQueue<Integer>(); in populatedQueue() local 94 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(Arrays.asList(ints)); in testConstructor6() local 103 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testEmpty() local 117 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testSize() local 132 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testOfferNull() local 143 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testAddNull() local 154 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testOffer() local 163 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testAdd() local 174 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testAddAll1() local 185 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testAddAllSelf() local [all …]
|
D | PriorityQueueTest.java | 44 PriorityQueue<Integer> q = new PriorityQueue<Integer>(n); in populatedQueue() local 112 PriorityQueue q = new PriorityQueue(Arrays.asList(ints)); in testConstructor6() local 122 PriorityQueue q = new PriorityQueue(SIZE, cmp); in testConstructor7() local 136 PriorityQueue q = new PriorityQueue(2); in testEmpty() local 150 PriorityQueue q = populatedQueue(SIZE); in testSize() local 165 PriorityQueue q = new PriorityQueue(1); in testOfferNull() local 176 PriorityQueue q = new PriorityQueue(1); in testAddNull() local 187 PriorityQueue q = new PriorityQueue(1); in testOffer() local 196 PriorityQueue q = new PriorityQueue(1); in testOfferNonComparable() local 208 PriorityQueue q = new PriorityQueue(SIZE); in testAdd() local [all …]
|
D | PriorityBlockingQueueTest.java | 69 PriorityBlockingQueue<Integer> q = in populatedQueue() local 142 PriorityBlockingQueue q = new PriorityBlockingQueue(Arrays.asList(ints)); in testConstructor6() local 152 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE, cmp); in testConstructor7() local 166 PriorityBlockingQueue q = new PriorityBlockingQueue(2); in testEmpty() local 181 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 198 PriorityBlockingQueue q = new PriorityBlockingQueue(1); in testOffer() local 207 PriorityBlockingQueue q = new PriorityBlockingQueue(1); in testOfferNonComparable() local 219 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE); in testAdd() local 230 PriorityBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf() local 242 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE); in testAddAll3() local [all …]
|
D | LinkedBlockingQueueTest.java | 61 LinkedBlockingQueue<Integer> q = in populatedQueue() local 134 LinkedBlockingQueue q = new LinkedBlockingQueue(Arrays.asList(ints)); in testConstructor6() local 143 LinkedBlockingQueue q = new LinkedBlockingQueue(2); in testEmptyFull() local 158 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 175 LinkedBlockingQueue q = new LinkedBlockingQueue(1); in testOffer() local 184 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); in testAdd() local 198 LinkedBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf() local 210 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); in testAddAll3() local 225 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE - 1); in testAddAll4() local 244 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); in testAddAll5() local [all …]
|
D | LinkedTransferQueueTest.java | 117 LinkedTransferQueue q in testConstructor5() local 136 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 153 LinkedTransferQueue q = populatedQueue(SIZE); in testAddAllSelf() local 165 LinkedTransferQueue q = new LinkedTransferQueue(); in testAddAll3() local 184 LinkedTransferQueue q = new LinkedTransferQueue(); in testAddAll5() local 196 LinkedTransferQueue<Integer> q = new LinkedTransferQueue<Integer>(); in testPut() local 208 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTake() local 218 final BlockingQueue q = populatedQueue(SIZE); in testBlockingTake() local 251 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testPoll() local 263 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll0() local [all …]
|
D | ArrayBlockingQueueTest.java | 61 ArrayBlockingQueue<Integer> q = new ArrayBlockingQueue<Integer>(n); in populatedQueue() local 145 ArrayBlockingQueue q = new ArrayBlockingQueue(SIZE, true, elements); in testConstructor7() local 154 ArrayBlockingQueue q = new ArrayBlockingQueue(2); in testEmptyFull() local 169 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 186 ArrayBlockingQueue q = new ArrayBlockingQueue(1); in testOffer() local 195 ArrayBlockingQueue q = new ArrayBlockingQueue(SIZE); in testAdd() local 210 ArrayBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf() local 222 ArrayBlockingQueue q = new ArrayBlockingQueue(SIZE); in testAddAll3() local 236 ArrayBlockingQueue q = new ArrayBlockingQueue(1); in testAddAll4() local 254 ArrayBlockingQueue q = new ArrayBlockingQueue(SIZE); in testAddAll5() local [all …]
|
D | DelayQueueTest.java | 140 DelayQueue<PDelay> q = new DelayQueue<PDelay>(); in populatedQueue() local 199 DelayQueue q = new DelayQueue(Arrays.asList(ints)); in testConstructor6() local 208 DelayQueue q = new DelayQueue(); in testEmpty() local 223 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 240 DelayQueue q = new DelayQueue(); in testOffer() local 249 DelayQueue q = new DelayQueue(); in testAdd() local 260 DelayQueue q = populatedQueue(SIZE); in testAddAllSelf() local 272 DelayQueue q = new DelayQueue(); in testAddAll3() local 290 DelayQueue q = new DelayQueue(); in testAddAll5() local 301 DelayQueue q = new DelayQueue(); in testPut() local [all …]
|
D | ConcurrentSkipListSubSetTest.java | 41 ConcurrentSkipListSet<Integer> q = in populatedSet() local 61 ConcurrentSkipListSet q = new ConcurrentSkipListSet(); in set5() local 79 ConcurrentSkipListSet q = new ConcurrentSkipListSet(); in dset5() local 114 NavigableSet q = set0(); in testEmpty() local 128 NavigableSet q = populatedSet(SIZE); in testSize() local 143 NavigableSet q = set0(); in testAddNull() local 154 NavigableSet q = set0(); in testAdd() local 162 NavigableSet q = set0(); in testAddDup() local 171 NavigableSet q = set0(); in testAddNonComparable() local 183 NavigableSet q = set0(); in testAddAll1() local [all …]
|
D | TreeSubSetTest.java | 42 TreeSet<Integer> q = new TreeSet<Integer>(); in populatedSet() local 61 TreeSet q = new TreeSet(); in set5() local 76 TreeSet q = new TreeSet(); in dset5() local 111 NavigableSet q = set0(); in testEmpty() local 125 NavigableSet q = populatedSet(SIZE); in testSize() local 140 NavigableSet q = set0(); in testAddNull() local 151 NavigableSet q = set0(); in testAdd() local 159 NavigableSet q = set0(); in testAddDup() local 168 NavigableSet q = set0(); in testAddNonComparable() local 180 NavigableSet q = set0(); in testAddAll1() local [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentLinkedDequeTest.java | 72 ConcurrentLinkedDeque<Integer> q = new ConcurrentLinkedDeque<>(); in populatedDeque() local 131 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(Arrays.asList(ints)); in testConstructor6() local 140 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testEmpty() local 154 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testSize() local 169 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testPushNull() local 180 ConcurrentLinkedDeque q = populatedDeque(3); in testPush() local 190 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPop() local 204 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testOfferNull() local 215 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testOfferFirstNull() local 226 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testOfferLastNull() local [all …]
|
D | LinkedBlockingDequeTest.java | 90 LinkedBlockingDeque<Integer> q = in populatedDeque() local 107 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testEmpty() local 121 LinkedBlockingDeque q = populatedDeque(SIZE); in testSize() local 136 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferFirstNull() local 147 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferLastNull() local 158 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferFirst() local 167 LinkedBlockingDeque q = new LinkedBlockingDeque(); in testOfferLast() local 176 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollFirst() local 187 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollLast() local 198 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeekFirst() local [all …]
|
D | ArrayDequeTest.java | 74 final ArrayDeque<Integer> q; in populatedDeque() local 160 ArrayDeque q = new ArrayDeque(Arrays.asList(ints)); in testConstructor6() local 169 ArrayDeque q = new ArrayDeque(); in testEmpty() local 183 ArrayDeque q = populatedDeque(SIZE); in testSize() local 198 ArrayDeque q = new ArrayDeque(1); in testPushNull() local 209 ArrayDeque q = populatedDeque(3); in testPush() local 219 ArrayDeque q = populatedDeque(SIZE); in testPop() local 233 ArrayDeque q = new ArrayDeque(); in testOfferNull() local 244 ArrayDeque q = new ArrayDeque(); in testOfferFirstNull() local 255 ArrayDeque q = new ArrayDeque(); in testOfferLastNull() local [all …]
|
D | LinkedListTest.java | 75 LinkedList<Integer> q = new LinkedList<>(); in populatedQueue() local 110 LinkedList q = new LinkedList(Arrays.asList(ints)); in testConstructor6() local 119 LinkedList q = new LinkedList(); in testEmpty() local 133 LinkedList q = populatedQueue(SIZE); in testSize() local 148 LinkedList q = new LinkedList(); in testOfferNull() local 158 LinkedList q = new LinkedList(); in testOffer() local 167 LinkedList q = new LinkedList(); in testAdd() local 178 LinkedList q = new LinkedList(); in testAddAll1() local 193 LinkedList q = new LinkedList(); in testAddAll5() local 232 LinkedList q = populatedQueue(SIZE); in testPoll() local [all …]
|
D | ConcurrentLinkedQueueTest.java | 70 ConcurrentLinkedQueue<Integer> q = new ConcurrentLinkedQueue<>(); in populatedQueue() local 127 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(Arrays.asList(ints)); in testConstructor6() local 136 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testEmpty() local 150 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testSize() local 165 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testOfferNull() local 176 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testAddNull() local 187 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testOffer() local 196 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testAdd() local 207 ConcurrentLinkedQueue q = new ConcurrentLinkedQueue(); in testAddAll1() local 218 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testAddAllSelf() local [all …]
|
D | LinkedTransferQueueTest.java | 135 LinkedTransferQueue q in testConstructor5() local 154 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 171 LinkedTransferQueue q = populatedQueue(SIZE); in testAddAllSelf() local 183 LinkedTransferQueue q = new LinkedTransferQueue(); in testAddAll3() local 202 LinkedTransferQueue q = new LinkedTransferQueue(); in testAddAll5() local 214 LinkedTransferQueue<Integer> q = new LinkedTransferQueue<>(); in testPut() local 226 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTake() local 236 final BlockingQueue q = populatedQueue(SIZE); in testBlockingTake() local 269 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testPoll() local 281 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll0() local [all …]
|
D | PriorityQueueTest.java | 75 PriorityQueue<Integer> q = new PriorityQueue<>(n); in populatedQueue() local 144 PriorityQueue q = new PriorityQueue(Arrays.asList(ints)); in testConstructor6() local 154 PriorityQueue q = new PriorityQueue(SIZE, cmp); in testConstructor7() local 168 PriorityQueue q = new PriorityQueue(2); in testEmpty() local 182 PriorityQueue q = populatedQueue(SIZE); in testSize() local 197 PriorityQueue q = new PriorityQueue(1); in testOfferNull() local 208 PriorityQueue q = new PriorityQueue(1); in testAddNull() local 219 PriorityQueue q = new PriorityQueue(1); in testOffer() local 228 PriorityQueue q = new PriorityQueue(1); in testOfferNonComparable() local 243 PriorityQueue q = new PriorityQueue(SIZE); in testAdd() local [all …]
|
D | LinkedBlockingQueueTest.java | 90 LinkedBlockingQueue<Integer> q = in populatedQueue() local 164 LinkedBlockingQueue q = new LinkedBlockingQueue(Arrays.asList(ints)); in testConstructor6() local 173 LinkedBlockingQueue q = new LinkedBlockingQueue(2); in testEmptyFull() local 188 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 205 LinkedBlockingQueue q = new LinkedBlockingQueue(1); in testOffer() local 214 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); in testAdd() local 228 LinkedBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf() local 240 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); in testAddAll3() local 255 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE - 1); in testAddAll4() local 274 LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); in testAddAll5() local [all …]
|
D | PriorityBlockingQueueTest.java | 98 PriorityBlockingQueue<Integer> q = in populatedQueue() local 172 PriorityBlockingQueue q = new PriorityBlockingQueue(Arrays.asList(ints)); in testConstructor6() local 182 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE, cmp); in testConstructor7() local 196 PriorityBlockingQueue q = new PriorityBlockingQueue(2); in testEmpty() local 211 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 228 PriorityBlockingQueue q = new PriorityBlockingQueue(1); in testOffer() local 237 PriorityBlockingQueue q = new PriorityBlockingQueue(1); in testOfferNonComparable() local 252 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE); in testAdd() local 263 PriorityBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf() local 275 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE); in testAddAll3() local [all …]
|
D | DelayQueueTest.java | 147 DelayQueue<PDelay> q = new DelayQueue<>(); in populatedQueue() local 207 DelayQueue q = new DelayQueue(Arrays.asList(ints)); in testConstructor6() local 216 DelayQueue q = new DelayQueue(); in testEmpty() local 231 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() local 248 DelayQueue q = new DelayQueue(); in testOffer() local 257 DelayQueue q = new DelayQueue(); in testAdd() local 268 DelayQueue q = populatedQueue(SIZE); in testAddAllSelf() local 280 DelayQueue q = new DelayQueue(); in testAddAll3() local 298 DelayQueue q = new DelayQueue(); in testAddAll5() local 309 DelayQueue q = new DelayQueue(); in testPut() local [all …]
|
D | ConcurrentSkipListSubSetTest.java | 64 ConcurrentSkipListSet<Integer> q = in populatedSet() local 84 ConcurrentSkipListSet q = new ConcurrentSkipListSet(); in set5() local 102 ConcurrentSkipListSet q = new ConcurrentSkipListSet(); in dset5() local 137 NavigableSet q = set0(); in testEmpty() local 151 NavigableSet q = populatedSet(SIZE); in testSize() local 166 NavigableSet q = set0(); in testAddNull() local 177 NavigableSet q = set0(); in testAdd() local 185 NavigableSet q = set0(); in testAddDup() local 194 NavigableSet q = set0(); in testAddNonComparable() local 206 NavigableSet q = set0(); in testAddAll1() local [all …]
|
D | TreeSubSetTest.java | 65 TreeSet<Integer> q = new TreeSet<>(); in populatedSet() local 84 TreeSet q = new TreeSet(); in set5() local 99 TreeSet q = new TreeSet(); in dset5() local 134 NavigableSet q = set0(); in testEmpty() local 148 NavigableSet q = populatedSet(SIZE); in testSize() local 163 NavigableSet q = set0(); in testAddNull() local 174 NavigableSet q = set0(); in testAdd() local 182 NavigableSet q = set0(); in testAddDup() local 191 NavigableSet q = set0(); in testAddNonComparable() local 203 NavigableSet q = set0(); in testAddAll1() local [all …]
|