Loading packages/SystemUI/tests/src/com/android/keyguard/ClockEventControllerTest.kt +2 −1 Original line number Diff line number Diff line Loading @@ -529,6 +529,8 @@ class ClockEventControllerTest : SysuiTestCase() { fun listenForDnd_onDndChange_updatesClockZenMode() = testScope.runTest { underTest.listenForDnd(testScope.backgroundScope) runCurrent() clearInvocations(events) zenModeRepository.activateMode(dndModeId) runCurrent() Loading @@ -537,7 +539,6 @@ class ClockEventControllerTest : SysuiTestCase() { .onZenDataChanged( eq(ZenData(ZenMode.IMPORTANT_INTERRUPTIONS, R.string::dnd_is_on.name)) ) clearInvocations(events) zenModeRepository.deactivateMode(dndModeId) runCurrent() Loading Loading
packages/SystemUI/tests/src/com/android/keyguard/ClockEventControllerTest.kt +2 −1 Original line number Diff line number Diff line Loading @@ -529,6 +529,8 @@ class ClockEventControllerTest : SysuiTestCase() { fun listenForDnd_onDndChange_updatesClockZenMode() = testScope.runTest { underTest.listenForDnd(testScope.backgroundScope) runCurrent() clearInvocations(events) zenModeRepository.activateMode(dndModeId) runCurrent() Loading @@ -537,7 +539,6 @@ class ClockEventControllerTest : SysuiTestCase() { .onZenDataChanged( eq(ZenData(ZenMode.IMPORTANT_INTERRUPTIONS, R.string::dnd_is_on.name)) ) clearInvocations(events) zenModeRepository.deactivateMode(dndModeId) runCurrent() Loading