#include "components/optimization_guide/core/optimization_guide_switches.h"
#include <optional>
#include "base/base64.h"
#include "base/command_line.h"
#include "build/build_config.h"
#include "components/optimization_guide/proto/hints.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace optimization_guide {
namespace switches {
#if !BUILDFLAG(IS_WIN)
TEST(OptimizationGuideSwitchesTest, ParseHintsFetchOverrideFromCommandLine) { … }
TEST(OptimizationGuideSwitchesTest,
ParseHintsFetchOverrideFromCommandLineMultipleHosts) { … }
TEST(OptimizationGuideSwitchesTest,
ParseHintsFetchOverrideFromCommandLineNoSwitch) { … }
TEST(OptimizationGuideSwitchesTest, ParseComponentConfigFromCommandLine) { … }
TEST(OptimizationGuideSwitchesTest,
ParseComponentConfigFromCommandLineNotAProto) { … }
TEST(OptimizationGuideSwitchesTest,
ParseComponentConfigFromCommandLineSwitchNotSet) { … }
TEST(OptimizationGuideSwitchesTest,
ParseComponentConfigFromCommandLineNotAConfiguration) { … }
#endif
}
}