#include "chrome/browser/ui/views/media_router/cast_dialog_sink_view.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/media/router/discovery/access_code/access_code_cast_feature.h"
#include "chrome/browser/media/router/media_router_feature.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/prefs/pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/accessibility/view_accessibility.h"
namespace media_router {
namespace {
UIMediaSink CreateAvailableSink() { … }
UIMediaSink CreateNonfreezableSink() { … }
UIMediaSink CreateFreezableSink() { … }
UIMediaSink CreateFreezableFrozenSink() { … }
UIMediaSink CreateFreezableSinkWithTabSource() { … }
UIMediaSink CreateFrozenSinkWithTabSource() { … }
UIMediaSink CreateFreezableSinkWithDesktopSource() { … }
UIMediaSink CreateFrozenSinkWithDesktopSource() { … }
}
class CastDialogSinkViewTest : public ChromeViewsTestBase { … };
TEST_F(CastDialogSinkViewTest, FreezableSink) { … }
TEST_F(CastDialogSinkViewTest, NonfreezableSink) { … }
TEST_F(CastDialogSinkViewTest, SetEnabledState) { … }
TEST_F(CastDialogSinkViewTest, StopButton) { … }
TEST_F(CastDialogSinkViewTest, ButtonsAccessibleName) { … }
}