[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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user