#include "chrome/browser/ui/views/global_media_controls/cast_device_selector_view.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/test/base/scoped_testing_local_state.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/global_media_controls/public/test/mock_device_service.h"
#include "components/global_media_controls/public/views/media_item_ui_updated_view.h"
#include "ui/events/base_event_utils.h"
#include "ui/views/test/button_test_api.h"
MockDeviceListHost;
namespace {
const char kTestDeviceId[] = …;
const char kTestDeviceName[] = …;
const char kTestDeviceStatusText[] = …;
}
class CastDeviceSelectorViewTest : public ChromeViewsTestBase { … };
TEST_F(CastDeviceSelectorViewTest, ShowDevicesAfterDevicesUpdated) { … }
TEST_F(CastDeviceSelectorViewTest, ShowOrHideDevices) { … }
TEST_F(CastDeviceSelectorViewTest, CloseButtonCheck) { … }
TEST_F(CastDeviceSelectorViewTest, DeviceEntryCheck) { … }
TEST_F(CastDeviceSelectorViewTest, DeviceEntryWithIssueCheck) { … }
TEST_F(CastDeviceSelectorViewTest, ShowPermissionRejectedError) { … }