chromium/chrome/browser/ui/views/media_router/cast_dialog_coordinator_unittest.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/media_router/cast_dialog_coordinator.h"

#include <memory>

#include "base/test/scoped_feature_list.h"
#include "base/time/time.h"
#include "chrome/browser/ui/media_router/cast_dialog_controller.h"
#include "chrome/browser/ui/media_router/media_cast_mode.h"
#include "chrome/browser/ui/media_router/media_route_starter.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "chrome/browser/ui/views/frame/top_container_view.h"
#include "chrome/browser/ui/views/media_router/cast_dialog_view.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "content/public/browser/web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/test/widget_test.h"
#include "ui/views/widget/widget.h"

_;
Mock;
NiceMock;

namespace media_router {

class MockCastDialogController : public CastDialogController {};

class CastDialogCoordinatorTest : public TestWithBrowserView {};

// Tests show and hide for ShowDialogCenteredForBrowserWindow. Defers
// ShowDialogWithToolbarAction to Media Router tests (already covered) since
// additional Media Router services setup is required.
TEST_F(CastDialogCoordinatorTest, ShowAndHideDialog) {}

}  // namespace media_router