Searched refs:dq (Results 1 – 2 of 2) sorted by relevance
49 final AttachmentService.DownloadQueue dq = new AttachmentService.DownloadQueue(); in testDownloadQueueEmptyQueue() local50 assertEquals(0, dq.getSize()); in testDownloadQueueEmptyQueue()51 assertTrue(dq.isEmpty()); in testDownloadQueueEmptyQueue()55 final AttachmentService.DownloadQueue dq = new AttachmentService.DownloadQueue(); in testDownloadQueueAddRequest() local58 final boolean result = dq.addRequest(dr); in testDownloadQueueAddRequest()60 assertEquals(1, dq.getSize()); in testDownloadQueueAddRequest()61 assertFalse(dq.isEmpty()); in testDownloadQueueAddRequest()65 final AttachmentService.DownloadQueue dq = new AttachmentService.DownloadQueue(); in testDownloadQueueAddRequestNull() local68 dq.addRequest(null); in testDownloadQueueAddRequestNull()73 assertEquals(0, dq.getSize()); in testDownloadQueueAddRequestNull()[all …]