Merge "Use mocked JobParameters."
This commit is contained in:
committed by
Android (Google) Code Review
commit
fc86dfadff
@@ -52,9 +52,9 @@ import java.lang.reflect.Field;
|
||||
@RunWith(AndroidTestingRunner.class)
|
||||
public class NotificationHistoryJobServiceTest extends UiServiceTestCase {
|
||||
private NotificationHistoryJobService mJobService;
|
||||
private JobParameters mJobParams = new JobParameters(null,
|
||||
NotificationHistoryJobService.BASE_JOB_ID, null, null, null,
|
||||
0, false, false, null, null, null);
|
||||
|
||||
@Mock
|
||||
private JobParameters mJobParams;
|
||||
|
||||
@Captor
|
||||
ArgumentCaptor<JobInfo> mJobInfoCaptor;
|
||||
|
||||
@@ -44,9 +44,9 @@ import org.mockito.Mock;
|
||||
@RunWith(AndroidTestingRunner.class)
|
||||
public class ReviewNotificationPermissionsJobServiceTest extends UiServiceTestCase {
|
||||
private ReviewNotificationPermissionsJobService mJobService;
|
||||
private JobParameters mJobParams = new JobParameters(null,
|
||||
ReviewNotificationPermissionsJobService.JOB_ID, null, null, null,
|
||||
0, false, false, null, null, null);
|
||||
|
||||
@Mock
|
||||
private JobParameters mJobParams;
|
||||
|
||||
@Captor
|
||||
ArgumentCaptor<JobInfo> mJobInfoCaptor;
|
||||
|
||||
Reference in New Issue
Block a user