chromium/chrome/browser/media/router/discovery/dial/device_description_service_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/discovery/dial/device_description_service.h"

#include <memory>
#include <utility>

#include "base/containers/contains.h"
#include "base/memory/raw_ref.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "chrome/browser/media/router/discovery/dial/device_description_fetcher.h"
#include "chrome/browser/media/router/discovery/dial/dial_device_data.h"
#include "chrome/browser/media/router/discovery/dial/parsed_dial_device_description.h"
#include "chrome/browser/media/router/discovery/dial/safe_dial_device_description_parser.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "content/public/test/browser_task_environment.h"
#include "net/base/ip_address.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

_;
Return;
SaveArg;

namespace media_router {

// Create Test Data
namespace {

DialDeviceData CreateDialDeviceData(int num) {}

DialDeviceDescriptionData CreateDialDeviceDescriptionData(int num) {}

ParsedDialDeviceDescription CreateParsedDialDeviceDescription(int num) {}

}  // namespace

class TestDeviceDescriptionService : public DeviceDescriptionService {};

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

TEST_F(DeviceDescriptionServiceTest, TestGetDeviceDescriptionFromCache) {}

TEST_F(DeviceDescriptionServiceTest, TestGetDeviceDescriptionFetchURL) {}

TEST_F(DeviceDescriptionServiceTest, TestGetDeviceDescriptionFetchURLError) {}

TEST_F(DeviceDescriptionServiceTest,
       TestGetDeviceDescriptionRemoveOutDatedFetchers) {}

TEST_F(DeviceDescriptionServiceTest, TestCleanUpCacheEntries) {}

TEST_F(DeviceDescriptionServiceTest, TestOnParsedDeviceDescription) {}

}  // namespace media_router