#include "components/global_media_controls/public/views/media_action_button.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "services/media_session/public/mojom/media_session.mojom.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/image/image_unittest_util.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/test/views_test_base.h"
namespace global_media_controls {
namespace {
MediaSessionAction;
constexpr int kTooltipTextId = …;
constexpr int kUpdatedTooltipTextId = …;
constexpr int kIconSize = …;
constexpr ui::ColorId kIconColorId = …;
std::unique_ptr<MediaActionButton> CreateMediaActionButton(int button_id) { … }
}
MediaActionButtonTest;
TEST_F(MediaActionButtonTest, CheckFlipCanvasOnPaintForRTLUI) { … }
TEST_F(MediaActionButtonTest, UpdateButton) { … }
TEST_F(MediaActionButtonTest, UpdateButtonText) { … }
TEST_F(MediaActionButtonTest, UpdateButtonIcon) { … }
}