Merge "Fix test relying on implementation details."
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