Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50a849cd authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB Refactor] Un-ignore #onDarkChanged tests.

See reasoning in bug.

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

Change-Id: Ic38b9698afab43f274007d9f66ff73675f526a1e
parent f7055e6d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)
+0 −2
Original line number Diff line number Diff line
@@ -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)