diff options
author | Jeff Chen <yuzhechen@google.com> | 2024-01-12 18:21:34 +0000 |
---|---|---|
committer | Jeff Chen <yuzhechen@google.com> | 2024-01-12 19:23:18 +0000 |
commit | 829d6b9c87a0e6181d4dc2b755343dc0e6931b89 (patch) | |
tree | 61a76e9c311dc7c365fe71c0bfd79b358766172d | |
parent | 3ddaf9bf15443d1e5e640351e809316f21572269 (diff) | |
download | base-829d6b9c87a0e6181d4dc2b755343dc0e6931b89.tar.gz |
[RESTRICT AUTOMERGE] Disable failing tests in MediaDataManagerTest.
Bug: 301081714
Change-Id: Ibadc862f015fc831c486fe239b884128151f014b
Test: presubmit
-rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt b/packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt index b00267cdd95c..856c94413333 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt @@ -35,6 +35,7 @@ import com.android.systemui.util.time.FakeSystemClock import com.google.common.truth.Truth.assertThat import org.junit.After import org.junit.Before +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @@ -231,6 +232,7 @@ class MediaDataManagerTest : SysuiTestCase() { verify(listener).onMediaDataRemoved(eq(KEY)) } + @Ignore("b/301081714") @Test fun testOnNotificationAdded_emptyTitle_hasPlaceholder() { // When the manager has a notification with an empty title @@ -257,6 +259,7 @@ class MediaDataManagerTest : SysuiTestCase() { assertThat(mediaDataCaptor.value.song).isEqualTo(placeholderTitle) } + @Ignore("b/301081714") @Test fun testOnNotificationAdded_blankTitle_hasPlaceholder() { // GIVEN that the manager has a notification with a blank title @@ -283,6 +286,7 @@ class MediaDataManagerTest : SysuiTestCase() { assertThat(mediaDataCaptor.value.song).isEqualTo(placeholderTitle) } + @Ignore("b/301081714") @Test fun testOnNotificationAdded_emptyMetadata_usesNotificationTitle() { // When the app sets the metadata title fields to empty strings, but does include a |