Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc86dfad authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use mocked JobParameters."

parents b4de8520 6a24de2a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
+3 −3
Original line number Diff line number Diff line
@@ -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;