chromium/components/optimization_guide/core/command_line_top_host_provider_unittest.cc

// Copyright 2019 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/optimization_guide/core/command_line_top_host_provider.h"

#include "base/command_line.h"
#include "components/optimization_guide/core/optimization_guide_switches.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace optimization_guide {

TEST(CommandLineTopHostProviderTest, DoesNotCreateIfFlagNotEnabled) {}

TEST(CommandLineTopHostProviderTest, DoesNotCreateIfSwitchEnabledButNoHosts) {}

TEST(CommandLineTopHostProviderTest, CreateIfFlagEnabledAndHasHosts) {}

TEST(CommandLineTopHostProviderTest,
     GetTopHostsMaxLessThanProvidedSizeReturnsEverything) {}

TEST(CommandLineTopHostProviderTest,
     GetTopHostsMaxGreaterThanTotalVectorSizeReturnsFirstN) {}

}  // namespace optimization_guide