Lines Matching refs:poll
66 * @tests java.lang.ref.ReferenceQueue#poll()
71 method = "poll",
84 assertNull(rq.poll());
90 assertNull("Remove failed.", rq.poll().get());
96 assertEquals("Remove failed.", obj, (rq.poll().get()));
102 assertTrue("Remove failed.", ((Boolean) rq.poll().get())
107 assertNull(rq.poll());
115 assertNull(rq.poll());
141 assertNull(rq.poll());
168 assertNull(rq.poll());
182 assertNull("Queue should be empty. (poll)", rq.poll());
221 assertNull(rq.poll());
246 assertNull(rq.poll());
269 assertNull(rq.poll());