chromium/chrome/browser/media/router/providers/wired_display/wired_display_media_route_provider_unittest.cc

// Copyright 2017 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/media/router/providers/wired_display/wired_display_media_route_provider.h"

#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "chrome/browser/media/router/providers/wired_display/wired_display_presentation_receiver.h"
#include "chrome/browser/media/router/providers/wired_display/wired_display_presentation_receiver_factory.h"
#include "chrome/browser/media/router/test/media_router_mojo_test.h"
#include "chrome/browser/media/router/test/mock_mojo_media_router.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.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"
#include "ui/display/display.h"
#include "ui/display/test/test_screen.h"
#include "ui/gfx/geometry/rect.h"

Display;
_;
Invoke;
IsEmpty;
NiceMock;
WithArg;

namespace media_router {

namespace {

static constexpr int kFrameTreeNodeId =;

class MockCallback {};

std::string GetSinkId(const Display& display) {}

class MockPresentationReceiver : public WiredDisplayPresentationReceiver {};

class MockReceiverCreator {};

const char kPresentationSource[] =;
const char kNonPresentationSource[] =;
const mojom::MediaRouteProviderId kProviderId =;

}  // namespace

class TestWiredDisplayMediaRouteProvider
    : public WiredDisplayMediaRouteProvider {};

class WiredDisplayMediaRouteProviderTest : public testing::Test {};

TEST_F(WiredDisplayMediaRouteProviderTest, GetDisplaysAsSinks) {}

TEST_F(WiredDisplayMediaRouteProviderTest, NotifyOnDisplayChange) {}

TEST_F(WiredDisplayMediaRouteProviderTest, NoDisplay) {}

TEST_F(WiredDisplayMediaRouteProviderTest, NoSinksForNonPresentationSource) {}

TEST_F(WiredDisplayMediaRouteProviderTest, CreateAndTerminateRoute) {}

TEST_F(WiredDisplayMediaRouteProviderTest, SendMediaStatusUpdate) {}

TEST_F(WiredDisplayMediaRouteProviderTest, ExitFullscreenOnDisplayRemoved) {}

}  // namespace media_router