chromium/components/subresource_filter/tools/filter_tool_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/subresource_filter/tools/filter_tool.h"

#include <algorithm>
#include <memory>
#include <sstream>
#include <string>
#include <vector>

#include "base/json/json_writer.h"
#include "base/values.h"
#include "components/subresource_filter/core/common/memory_mapped_ruleset.h"
#include "components/subresource_filter/core/common/test_ruleset_creator.h"
#include "components/subresource_filter/core/common/test_ruleset_utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace subresource_filter {

proto;

namespace {

std::string CreateJsonLine(const std::string& origin,
                           const std::string& request_url,
                           const std::string& request_type) {}

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

TEST_F(FilterToolTest, MatchBlocklist) {}

TEST_F(FilterToolTest, MatchAllowlist) {}

TEST_F(FilterToolTest, NoMatch) {}

TEST_F(FilterToolTest, MatchBatch) {}

TEST_F(FilterToolTest, MatchRules) {}

TEST_F(FilterToolTest, MatchRulesMinCount) {}

}  // namespace

}  // namespace subresource_filter