chromium/components/subresource_filter/core/common/document_subresource_filter_unittest.cc

// Copyright 2016 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/core/common/document_subresource_filter.h"

#include <string_view>

#include "base/files/file.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"
#include "url/gurl.h"
#include "url/origin.h"

namespace subresource_filter {

proto;

namespace {

constexpr auto kDryRun =;
constexpr auto kEnabled =;

constexpr auto kImageType =;
constexpr auto kSubdocumentType =;

constexpr const char kTestAlphaURL[] =;
constexpr const char kTestAlphaDataURI[] =;
constexpr const char kTestAlphaWSURI[] =;
constexpr const char kTestBetaURL[] =;

constexpr const char kTestAlphaURLPathSuffix[] =;

}  // namespace

// Tests for DocumentSubresourceFilter class. ----------------------------------

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

TEST_F(DocumentSubresourceFilterTest, DryRun) {}

TEST_F(DocumentSubresourceFilterTest, MatchingRuleDryRun) {}

TEST_F(DocumentSubresourceFilterTest, Enabled) {}

TEST_F(DocumentSubresourceFilterTest, MatchingRuleEnabled) {}

}  // namespace subresource_filter