Merge "Fix test relying on implementation details." am: 8410e0ea92
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2481489 Change-Id: I282b2ec6b9f2a7530de8c9bf2090cc546d6970dd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -736,8 +736,8 @@ public class AlarmManagerServiceTest {
|
|||||||
verify(alarmPi).send(eq(mMockContext), eq(0), any(Intent.class),
|
verify(alarmPi).send(eq(mMockContext), eq(0), any(Intent.class),
|
||||||
onFinishedCaptor.capture(), any(Handler.class), isNull(),
|
onFinishedCaptor.capture(), any(Handler.class), isNull(),
|
||||||
optionsCaptor.capture());
|
optionsCaptor.capture());
|
||||||
assertTrue(optionsCaptor.getValue()
|
final BroadcastOptions options = new BroadcastOptions(optionsCaptor.getValue());
|
||||||
.getBoolean(BroadcastOptions.KEY_ALARM_BROADCAST, false));
|
assertTrue(options.isAlarmBroadcast());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user