// Copyright 2020 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/lookalikes/core/safety_tips_config.h" #include "components/lookalikes/core/safety_tip_test_utils.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" namespace lookalikes { // Build an allowlist with testable scoped allowlist entries. void ConfigureAllowlistWithScopes() { … } // Minimal test for an unscoped allowlist entry. TEST(SafetyTipsConfigTest, TestBasicUrlAllowlist) { … } // Tests for a scoped allowlist (i.e. entries not permitted to spoof anything). TEST(SafetyTipsConfigTest, TestScopedUrlAllowlist) { … } TEST(SafetyTipsConfigTest, TestTargetUrlAllowlist) { … } TEST(SafetyTipsConfigTest, TestCommonWords) { … } } // namespace lookalikes