#include "components/global_media_controls/public/views/media_item_ui_list_view.h"
#include "base/test/scoped_feature_list.h"
#include "components/global_media_controls/public/views/media_item_ui_detailed_view.h"
#include "components/global_media_controls/public/views/media_item_ui_updated_view.h"
#include "components/global_media_controls/public/views/media_item_ui_view.h"
#include "components/media_message_center/mock_media_notification_item.h"
#include "media/base/media_switches.h"
#include "ui/views/test/views_test_base.h"
NiceMock;
namespace global_media_controls {
namespace {
const char kTestItemId1[] = …;
const char kTestItemId2[] = …;
const char kTestItemId3[] = …;
}
class MediaItemUIListViewTest : public views::ViewsTestBase,
public testing::WithParamInterface<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(MediaItemUIListViewTest, NoSeparatorForOneItem) { … }
TEST_P(MediaItemUIListViewTest, SeparatorBetweenItems) { … }
TEST_P(MediaItemUIListViewTest, SeparatorRemovedWhenItemRemoved) { … }
}