/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | Collection8Test.java | 304 for (int i = 0; i < n; i++) c.add(impl.makeElement(i)); 395 Object x = impl.makeElement(i); 434 Object x = impl.makeElement(i); 496 for (int i = 0; i < n; i++) c.add(impl.makeElement(i)); 570 for (int i = 0; i < n; i++) c.add(impl.makeElement(i)); 605 for (int i = 0; i < n; i++) c.add(impl.makeElement(i)); 608 assertEquals(impl.makeElement(0), it.next()); 610 assertEquals(impl.makeElement(1), it.next()); 622 assertTrue(c.contains(impl.makeElement(i))); 623 assertFalse(c.contains(impl.makeElement(n - 1))); [all …]
|
D | BlockingQueueTest.java | 82 protected Object makeElement(int i) { in makeElement() method in BlockingQueueTest 224 Object one = makeElement(1); 242 final Object zero = makeElement(0); in testTimedPollWithOffer() 371 assertFalse(q.contains(makeElement(99))); 372 assertFalse(q.remove(makeElement(99))); 375 q.add(elts[i] = makeElement(i));
|
D | CollectionImplementation.java | 44 public Object makeElement(int i); in makeElement() method
|
D | ArrayListTest.java | 52 public Object makeElement(int i) { return i; } in suite() method in ArrayListTest.Implementation
|
D | VectorTest.java | 52 public Object makeElement(int i) { return i; } in suite() method in VectorTest.Implementation
|
D | DelayQueueTest.java | 60 protected PDelay makeElement(int i) { in makeElement() method in DelayQueueTest.Generic 73 public Object makeElement(int i) { return new PDelay(i); } in suite() method in DelayQueueTest.Implementation
|
D | ConcurrentLinkedQueueTest.java | 57 public Object makeElement(int i) { return i; } in suite() method in ConcurrentLinkedQueueTest.Implementation
|
D | PriorityQueueTest.java | 56 public Object makeElement(int i) { return i; } in suite() method in PriorityQueueTest.Implementation
|
D | LinkedListTest.java | 55 public Object makeElement(int i) { return i; } in suite() method in LinkedListTest.Implementation
|
D | PriorityBlockingQueueTest.java | 76 public Object makeElement(int i) { return i; } in suite() method in PriorityBlockingQueueTest.Implementation
|
D | CopyOnWriteArrayListTest.java | 60 public Object makeElement(int i) { return i; } in suite() method in CopyOnWriteArrayListTest.Implementation
|
D | ConcurrentLinkedDequeTest.java | 59 public Object makeElement(int i) { return i; } in suite() method in ConcurrentLinkedDequeTest.Implementation
|
D | LinkedBlockingQueueTest.java | 75 public Object makeElement(int i) { return i; } in suite() method in LinkedBlockingQueueTest.Implementation
|
D | ArrayDequeTest.java | 59 public Object makeElement(int i) { return i; } in suite() method in ArrayDequeTest.Implementation
|
D | LinkedTransferQueueTest.java | 70 public Object makeElement(int i) { return i; } in suite() method in LinkedTransferQueueTest.Implementation
|
D | ArrayBlockingQueueTest.java | 68 public Object makeElement(int i) { return i; } in suite() method in ArrayBlockingQueueTest.Implementation
|
D | LinkedBlockingDequeTest.java | 75 public Object makeElement(int i) { return i; } in suite() method in LinkedBlockingDequeTest.Implementation
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | BlockingQueueTest.java | 58 protected Object makeElement(int i) { in makeElement() method in BlockingQueueTest 200 Object one = makeElement(1); 218 final Object zero = makeElement(0); in testTimedPollWithOffer() 347 assertFalse(q.contains(makeElement(99))); 348 assertFalse(q.remove(makeElement(99))); 351 q.add(elts[i] = makeElement(i));
|
D | Collection8Test.java | 51 final Object x = impl.makeElement(1); in testForEach() 52 final Object y = impl.makeElement(2); in testForEach() 80 final Object elt = impl.makeElement(1); in testForEachConcurrentStressTest()
|
D | CollectionImplementation.java | 18 public Object makeElement(int i); in makeElement() method
|
D | DelayQueueTest.java | 57 protected PDelay makeElement(int i) { in makeElement() method in DelayQueueTest
|
D | LinkedTransferQueueTest.java | 33 public Object makeElement(int i) { return i; } in makeElement() method in LinkedTransferQueueTest.Implementation
|