Searched refs:ZenDurationDialog (Results 1 – 2 of 2) sorted by relevance
41 private ZenDurationDialog mController;54 mController = spy(new ZenDurationDialog(mContext)); in setup()66 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt()68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()71 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testAlwaysPrompt()80 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever()82 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testForever()85 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked()); in testForever()93 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testSpecificDuration()95 assertTrue(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testSpecificDuration()[all …]
46 public class ZenDurationDialog { class65 public ZenDurationDialog(Context context) { in ZenDurationDialog() method in ZenDurationDialog