chromium/components/optimization_guide/core/optimization_filter_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 "components/optimization_guide/core/optimization_filter.h"

#include "components/optimization_guide/core/bloom_filter.h"
#include "components/optimization_guide/proto/hints.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace optimization_guide {

namespace {

std::unique_ptr<BloomFilter> CreateBloomFilter() {}

std::unique_ptr<RegexpList> CreateRegexps(
    const std::vector<std::string>& regexps) {}

TEST(OptimizationFilterTest, TestMatchesBloomFilter) {}

TEST(OptimizationFilterTest, TestMatchesBloomFilterUnknownFormat) {}

TEST(OptimizationFilterTest, TestMatchesHashedBloomFilter) {}

TEST(OptimizationFilterTest, TestMatchesBloomFilterChecksRegexpFirst) {}

TEST(OptimizationFilterTest, TestMatchesBloomFilterSkipHostSuffixChecking) {}

TEST(OptimizationFilterTest, TestMatchesRegexp) {}

TEST(OptimizationFilterTest, TestMatchesRegexpFragment) {}

TEST(OptimizationFilterTest, TestMatchesRegexpClearsAuth) {}

TEST(OptimizationFilterTest, TestMatchesRegexpInvalid) {}

TEST(OptimizationFilterTest, TestMatchesRegexpInvalidGURL) {}

TEST(OptimizationFilterTest, TestMatchesMaxSuffix) {}

TEST(OptimizationFilterTest, TestMatchesMinSuffix) {}

}  // namespace

}  // namespace optimization_guide