chromium/chrome/browser/media/router/discovery/dial/device_description_fetcher_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 <memory>
#include <string>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.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/test/provider_test_helpers.h"
#include "net/base/ip_address.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

HasSubstr;
NiceMock;

namespace media_router {

class DeviceDescriptionFetcherTest : public testing::Test {};

TEST_F(DeviceDescriptionFetcherTest, FetchSuccessful) {}

TEST_F(DeviceDescriptionFetcherTest, FetchSuccessfulAppUrlWithTrailingSlash) {}

TEST_F(DeviceDescriptionFetcherTest, FetchFailsOnMissingDescription) {}

TEST_F(DeviceDescriptionFetcherTest, FetchFailsOnMissingAppUrl) {}

TEST_F(DeviceDescriptionFetcherTest, FetchFailsOnEmptyAppUrl) {}

TEST_F(DeviceDescriptionFetcherTest, FetchFailsOnInvalidAppUrl) {}

TEST_F(DeviceDescriptionFetcherTest, FetchFailsOnEmptyDescription) {}

TEST_F(DeviceDescriptionFetcherTest, FetchFailsOnBadDescription) {}

}  // namespace media_router