chromium/third_party/blink/renderer/core/speculation_rules/auto_speculation_rules_config_test.cc

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

#include "third_party/blink/renderer/core/speculation_rules/auto_speculation_rules_config.h"

#include "base/types/cxx23_to_underlying.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace blink {
namespace {

ElementsAre;

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

TEST_F(AutoSpeculationRulesConfigTest, EmptyConfig) {}

TEST_F(AutoSpeculationRulesConfigTest, NonJSONConfig) {}

TEST_F(AutoSpeculationRulesConfigTest, NonObjectConfig) {}

TEST_F(AutoSpeculationRulesConfigTest, ValidFrameworkToSpeculationRules) {}

TEST_F(AutoSpeculationRulesConfigTest, NonObjectFrameworkToSpeculationRules) {}

TEST_F(AutoSpeculationRulesConfigTest, OutOfRangeFramework) {}

TEST_F(AutoSpeculationRulesConfigTest, NonIntegerFramework) {}

TEST_F(AutoSpeculationRulesConfigTest, NonStringFrameworkSpeculationRules) {}

TEST_F(AutoSpeculationRulesConfigTest, ValidUrlMatchPattern) {}

TEST_F(AutoSpeculationRulesConfigTest, NonObjectUrlMatchPatterns) {}

TEST_F(AutoSpeculationRulesConfigTest,
       NonStringUrlMatchPatternSpeculationRules) {}

TEST_F(AutoSpeculationRulesConfigTest,
       NonObjectFrameworkValidUrlMatchPatterns) {}

TEST_F(AutoSpeculationRulesConfigTest,
       ValidFrameworkNonObjectUrlMatchPatterns) {}

TEST_F(AutoSpeculationRulesConfigTest, ValidFrameworkValidUrlMatchPatterns) {}

TEST_F(AutoSpeculationRulesConfigTest, ValidUrlMatchPatternsIgnoreOptOut) {}

}  // namespace
}  // namespace blink