Searched refs:mockDownloadListener1 (Results 1 – 2 of 2) sorted by relevance
70 @Mock private DownloadListener mockDownloadListener1; field in DownloadProgressMonitorTest90 downloadMonitor.addDownloadListener(GROUP_NAME_1, mockDownloadListener1); in bytesWritten_cleanSlate()110 verifyNoInteractions(mockDownloadListener1); in bytesWritten_cleanSlate()118 verify(mockDownloadListener1).onProgress(1 + 2); in bytesWritten_cleanSlate()122 verify(mockDownloadListener1, times(0)).onProgress(1 + 2 + 4); in bytesWritten_cleanSlate()129 verify(mockDownloadListener1).onProgress(1 + 2 + 4 + 8); in bytesWritten_cleanSlate()177 downloadMonitor.addDownloadListener(GROUP_NAME_1, mockDownloadListener1); in bytesWritten_forBothFileAndFileGroupDownloads_cleanSlate()193 verifyNoInteractions(mockDownloadListener1); in bytesWritten_forBothFileAndFileGroupDownloads_cleanSlate()204 verify(mockDownloadListener1).onProgress(1 + 2); in bytesWritten_forBothFileAndFileGroupDownloads_cleanSlate()211 verify(mockDownloadListener1, times(0)).onProgress(1 + 2 + 4); in bytesWritten_forBothFileAndFileGroupDownloads_cleanSlate()[all …]
65 @Mock private DownloadListener mockDownloadListener1; field in DownloadProgressMonitorTest75 downloadMonitor.addDownloadListener(uri1, mockDownloadListener1); in bytesWritten_cleanSlate()88 verifyNoInteractions(mockDownloadListener1); in bytesWritten_cleanSlate()96 verify(mockDownloadListener1).onProgress(1 + 2); in bytesWritten_cleanSlate()100 verifyNoMoreInteractions(mockDownloadListener1); in bytesWritten_cleanSlate()107 verify(mockDownloadListener1).onProgress(1 + 2 + 4 + 8); in bytesWritten_cleanSlate()120 downloadMonitor.addDownloadListener(uri1, mockDownloadListener1); in bytesWritten_addAndRemoveDownloadListener()129 downloadMonitor.addDownloadListener(uri1, mockDownloadListener1); in downloaderLifecycleCallback()132 verify(mockDownloadListener1).onPausedForConnectivity(); in downloaderLifecycleCallback()