[SB Refactor] Un-ignore #onDarkChanged tests.

See reasoning in bug.

Fixes: 262660044
Test: `atest ModernStatusBarWifiViewTest#onDarkChanged_iconHasNewColor
--iterations 100` -> all pass

Change-Id: Ic38b9698afab43f274007d9f66ff73675f526a1e
This commit is contained in:
Caitlin Shkuratov
2022-12-27 22:03:29 +00:00
parent f7055e6d60
commit 50a849cdfa
2 changed files with 0 additions and 4 deletions

View File

@@ -41,7 +41,6 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.TestScope
import kotlinx.coroutines.test.UnconfinedTestDispatcher
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mock
@@ -143,7 +142,6 @@ class ModernStatusBarMobileViewTest : SysuiTestCase() {
}
@Test
@Ignore("b/262660044")
fun onDarkChanged_iconHasNewColor() {
whenever(statusBarPipelineFlags.useDebugColoring()).thenReturn(false)
val view = ModernStatusBarMobileView.constructAndBind(context, SLOT_NAME, viewModel)

View File

@@ -50,7 +50,6 @@ import com.google.common.truth.Truth.assertThat
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mock
@@ -196,7 +195,6 @@ class ModernStatusBarWifiViewTest : SysuiTestCase() {
}
@Test
@Ignore("b/262660044")
fun onDarkChanged_iconHasNewColor() {
whenever(statusBarPipelineFlags.useDebugColoring()).thenReturn(false)
val view = ModernStatusBarWifiView.constructAndBind(context, SLOT_NAME, viewModel)