#include "components/global_media_controls/public/views/media_item_ui_view.h"
#include "build/build_config.h"
#include "components/global_media_controls/public/test/mock_media_item_manager.h"
#include "components/global_media_controls/public/test/mock_media_item_ui_device_selector.h"
#include "components/global_media_controls/public/test/mock_media_item_ui_footer.h"
#include "components/global_media_controls/public/test/mock_media_item_ui_observer.h"
#include "components/media_message_center/mock_media_notification_item.h"
#include "services/media_session/public/mojom/media_session.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/display/test/test_screen.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/test/event_generator.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/test/button_test_api.h"
#include "ui/views/test/view_metadata_test_utils.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/widget/widget_utils.h"
MediaPlaybackState;
MediaSessionAction;
_;
NiceMock;
namespace global_media_controls {
namespace {
const char kTestNotificationId[] = …;
const char kOtherTestNotificationId[] = …;
}
class MediaItemUIViewTest : public views::ViewsTestBase { … };
TEST_F(MediaItemUIViewTest, ClickToDismiss) { … }
TEST_F(MediaItemUIViewTest, KeyboardToDismiss) { … }
TEST_F(MediaItemUIViewTest, ForceExpandedState) { … }
TEST_F(MediaItemUIViewTest, SendsMetadataUpdates) { … }
TEST_F(MediaItemUIViewTest, SendsDestroyedUpdates) { … }
TEST_F(MediaItemUIViewTest, SendsClicks) { … }
TEST_F(MediaItemUIViewTest, MetadataTest) { … }
TEST_F(MediaItemUIViewTest, UpdateView) { … }
}