chromium/components/ip_protection/common/ip_protection_proxy_config_fetcher_unittest.cc

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

#include "components/ip_protection/common/ip_protection_proxy_config_fetcher.h"

#include <memory>
#include <optional>

#include "base/memory/scoped_refptr.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "base/time/time.h"
#include "base/types/expected.h"
#include "components/ip_protection/common/ip_protection_config_provider_helper.h"
#include "components/ip_protection/common/ip_protection_data_types.h"
#include "services/network/test/test_shared_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace ip_protection {

namespace {

constexpr char kServiceType[] =;
constexpr char kApiKey[] =;

class MockIpProtectionProxyConfigRetriever
    : public IpProtectionProxyConfigRetriever {};
}  // namespace

class IpProtectionProxyConfigFetcherTest : public testing::Test {};

TEST_F(IpProtectionProxyConfigFetcherTest, CallGetProxyConfigProxyChains) {}

TEST_F(IpProtectionProxyConfigFetcherTest,
       CallGetProxyConfigProxyChainsWithPorts) {}

TEST_F(IpProtectionProxyConfigFetcherTest, CallGetProxyConfigProxyInvalid) {}

TEST_F(IpProtectionProxyConfigFetcherTest,
       CallGetProxyConfigProxyInvalidChainId) {}

TEST_F(IpProtectionProxyConfigFetcherTest,
       CallGetProxyConfigProxyCountryLevelGeo) {}

TEST_F(IpProtectionProxyConfigFetcherTest,
       CallGetProxyConfigProxyGeoMissingFailure) {}

}  // namespace ip_protection