chromium/components/media_router/browser/presentation/local_presentation_manager_unittest.cc

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

#include <utility>

#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "components/media_router/browser/presentation/local_presentation_manager.h"
#include "components/media_router/browser/test/test_helper.h"
#include "content/public/test/test_renderer_host.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

PresentationConnectionResultPtr;
PresentationInfo;
_;

namespace media_router {

namespace {
const char kPresentationId[] =;
const char kPresentationId2[] =;
const char kPresentationUrl[] =;
}  // namespace

class MockReceiverConnectionAvailableCallback {};

class LocalPresentationManagerTest : public content::RenderViewHostTestHarness {};

TEST_F(LocalPresentationManagerTest, RegisterUnregisterController) {}

TEST_F(LocalPresentationManagerTest, RegisterUnregisterReceiver) {}

TEST_F(LocalPresentationManagerTest, UnregisterNonexistentController) {}

TEST_F(LocalPresentationManagerTest, UnregisterNonexistentReceiver) {}

TEST_F(LocalPresentationManagerTest,
       RegisterMultipleControllersSamePresentation) {}

TEST_F(LocalPresentationManagerTest,
       RegisterMultipleControllersDifferentPresentations) {}

TEST_F(LocalPresentationManagerTest,
       RegisterControllerThenReceiverInvokesCallback) {}

TEST_F(LocalPresentationManagerTest,
       UnregisterReceiverFromConnectedPresentation) {}

TEST_F(LocalPresentationManagerTest,
       UnregisterControllerFromConnectedPresentation) {}

TEST_F(LocalPresentationManagerTest,
       UnregisterReceiverThenControllerFromConnectedPresentation) {}

TEST_F(LocalPresentationManagerTest,
       UnregisterControllerThenReceiverFromConnectedPresentation) {}

TEST_F(LocalPresentationManagerTest,
       RegisterTwoControllersThenReceiverInvokesCallbackTwice) {}

TEST_F(LocalPresentationManagerTest,
       RegisterControllerReceiverConontrollerInvokesCallbackTwice) {}

TEST_F(LocalPresentationManagerTest,
       UnregisterFirstControllerFromeConnectedPresentation) {}

TEST_F(LocalPresentationManagerTest, TwoPresentations) {}

TEST_F(LocalPresentationManagerTest,
       TestIsLocalPresentationWithPresentationId) {}

TEST_F(LocalPresentationManagerTest, TestIsLocalPresentationWithWebContents) {}

TEST_F(LocalPresentationManagerTest, TestRegisterAndGetRoute) {}

}  // namespace media_router