#include "components/media_router/browser/mirroring_media_controller_host_impl.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/task_environment.h"
#include "components/media_router/common/media_route.h"
#include "components/media_router/common/mojom/media_controller.mojom.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media_router {
class MockMirroringMediaControllerHostObserver
: public MirroringMediaControllerHost::Observer { … };
class MockMediaController : public mojom::MediaController { … };
class MirroringMediaControllerHostTest : public ::testing::Test { … };
TEST_F(MirroringMediaControllerHostTest, GetMediaStatusObserverPendingRemote) { … }
TEST_F(MirroringMediaControllerHostTest, OnMediaStatusUpdated) { … }
TEST_F(MirroringMediaControllerHostTest, OnMediaStatusUpdatedCanFreeze) { … }
TEST_F(MirroringMediaControllerHostTest, OnMediaStatusUpdatedIsFrozen) { … }
TEST_F(MirroringMediaControllerHostTest, FreezeHasDelay) { … }
TEST_F(MirroringMediaControllerHostTest, Freeze) { … }
TEST_F(MirroringMediaControllerHostTest, FreezeMultipleTimes) { … }
TEST_F(MirroringMediaControllerHostTest, FreezeThenDeleteHost) { … }
TEST_F(MirroringMediaControllerHostTest, Unfreeze) { … }
}