chromium/chrome/browser/media/router/discovery/dial/dial_app_discovery_service_unittest.cc

// Copyright 2018 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/dial_app_discovery_service.h"

#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/media/router/discovery/dial/dial_url_fetcher.h"
#include "chrome/browser/media/router/discovery/dial/parsed_dial_device_description.h"
#include "chrome/browser/media/router/discovery/dial/safe_dial_app_info_parser.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "content/public/test/browser_task_environment.h"
#include "net/http/http_status_code.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

_;
Invoke;
Return;
SaveArg;

namespace media_router {

namespace {

constexpr char kYouTubeName[] =;

class TestSafeDialAppInfoParser : public SafeDialAppInfoParser {};

}  // namespace

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

TEST_F(DialAppDiscoveryServiceTest, TestFetchDialAppInfoFetchURL) {}

TEST_F(DialAppDiscoveryServiceTest,
       TestFetchDialAppInfoFetchURLTransientError) {}

TEST_F(DialAppDiscoveryServiceTest, TestFetchDialAppInfoFetchURLError) {}

TEST_F(DialAppDiscoveryServiceTest, TestFetchDialAppInfoErrorWithHttpSuccess) {}

TEST_F(DialAppDiscoveryServiceTest, TestFetchDialAppInfoParseError) {}

}  // namespace media_router