diff options
author | Jeff Chen <yuzhechen@google.com> | 2024-01-16 20:38:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2024-01-16 20:38:00 +0000 |
commit | 92e2db6dbbd80f3a7770168578e1333da0f1f740 (patch) | |
tree | 3bcb4da132025ee3c23c7d40be8924d7bf67530a | |
parent | 7ca4dcca9d22849355545fbd8905c47fcba2f948 (diff) | |
parent | 829d6b9c87a0e6181d4dc2b755343dc0e6931b89 (diff) | |
download | base-92e2db6dbbd80f3a7770168578e1333da0f1f740.tar.gz |
[RESTRICT AUTOMERGE] Disable failing tests in MediaDataManagerTest. am: 829d6b9c87
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/25874996
Change-Id: Ifa6ca2b73f8eafc54cf7e32b2b3a5868b0081310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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 d6ee9dda3efb..cce3dbf1bcdb 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/media/MediaDataManagerTest.kt @@ -36,6 +36,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 @@ -257,6 +258,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 @@ -283,6 +285,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 @@ -309,6 +312,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 |