chromium/chrome/browser/ui/media_router/query_result_manager_unittest.cc

// Copyright 2015 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/media_router/query_result_manager.h"

#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/json/json_writer.h"
#include "components/media_router/browser/media_sinks_observer.h"
#include "components/media_router/browser/test/mock_media_router.h"
#include "components/media_router/common/media_route_provider_helper.h"
#include "components/media_router/common/media_sink.h"
#include "components/media_router/common/media_source.h"
#include "components/media_router/common/test/test_helper.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

_;
Eq;
IsEmpty;
Mock;
NiceMock;
Return;

namespace media_router {

namespace {

const char kOrigin[] =;

class MockObserver : public MediaSinkWithCastModesObserver {};

}  // namespace

class QueryResultManagerTest : public ::testing::Test {};

// Requires that the elements of |expected| are unique.
MATCHER_P(VectorSetEquals, expected, "") {}

TEST_F(QueryResultManagerTest, Observers) {}

TEST_F(QueryResultManagerTest, StartStopSinksQuery) {}

TEST_F(QueryResultManagerTest, MultipleQueries) {}

TEST_F(QueryResultManagerTest, MultipleUrls) {}

TEST_F(QueryResultManagerTest, AddInvalidSource) {}

}  // namespace media_router