chromium/extensions/common/user_script_unittest.cc

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

#include <stddef.h>

#include "base/files/file_path.h"
#include "base/pickle.h"
#include "extensions/common/mojom/host_id.mojom.h"
#include "extensions/common/mojom/run_location.mojom-shared.h"
#include "extensions/common/user_script.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace extensions {

static const int kAllSchemes =;

inline constexpr char kStaticContentScript[] =;
inline constexpr char kDynamicContentScript[] =;
inline constexpr char kDynamicUserScript[] =;

class UserScriptMatchesTest : public testing::Test,
                              public testing::WithParamInterface<std::string> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(UserScriptMatchesTest, Glob_HostString) {}

TEST_P(UserScriptMatchesTest, Glob_TrailingSlash) {}

TEST_P(UserScriptMatchesTest, Glob_TrailingSlashStar) {}

TEST_P(UserScriptMatchesTest, Glob_Star) {}

TEST_P(UserScriptMatchesTest, Glob_StringAnywhere) {}

TEST_P(UserScriptMatchesTest, UrlPattern) {}

TEST_P(UserScriptMatchesTest, ExcludeUrlPattern) {}

TEST_P(UserScriptMatchesTest, ExcludeUrlPatternWithTrailingDot) {}

TEST_P(UserScriptMatchesTest, UrlPatternAndIncludeGlobs) {}

TEST_P(UserScriptMatchesTest, UrlPatternAndExcludeGlobs) {}

TEST_P(UserScriptMatchesTest, UrlPatternGlobInteraction) {}

TEST(ExtensionUserScriptTest, Pickle) {}

TEST(ExtensionUserScriptTest, Defaults) {}

// Verifies the correct source is returned for a script id with source prefix.
TEST(ExtensionUserScriptTest, GetSourceForScriptID) {}

}  // namespace extensions