From 2f4c6f7b7a5287a79b05ca7ea9e273b432f5d6b2 Mon Sep 17 00:00:00 2001 From: josephpv Date: Tue, 13 Aug 2024 22:25:52 +0000 Subject: [PATCH] Removing TODO from test In controller test, simulating profile with hideIndQuietMode set to true in by mocking AppEntry is not possible. updateAppList() method is assumed to already receive a filtered list of apps based on the profile's quiet mode status which is called from onRebuildComplete(). Corresponding filters for this page has test in the underlying settingsLib ApplicationsStateTest file Bug: 26013153 Test: Manual Flag: EXEMPT only test file Change-Id: I09ea3b279c40e0ee4806a80646a5dfcd3d3f784b --- .../zen/ZenModeAddBypassingAppsPreferenceControllerTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/robotests/src/com/android/settings/notification/zen/ZenModeAddBypassingAppsPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/notification/zen/ZenModeAddBypassingAppsPreferenceControllerTest.java index 27df89046f4..2569ca3592f 100644 --- a/tests/robotests/src/com/android/settings/notification/zen/ZenModeAddBypassingAppsPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/notification/zen/ZenModeAddBypassingAppsPreferenceControllerTest.java @@ -162,7 +162,4 @@ public class ZenModeAddBypassingAppsPreferenceControllerTest { assertThat(pref.getKey()).isEqualTo( ZenModeAddBypassingAppsPreferenceController.KEY_NO_APPS); } - - // TODO(b/331624810): Add tests to verify updateAppList() when the filter is - // ApplicationsState.FILTER_ENABLED_NOT_QUIET }