chromium/chrome/browser/lookalikes/lookalike_url_navigation_throttle_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 "chrome/browser/lookalikes/lookalike_url_navigation_throttle.h"

#include "base/test/scoped_feature_list.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "components/lookalikes/core/safety_tip_test_utils.h"
#include "components/url_formatter/spoof_checks/idn_spoof_checker.h"
#include "components/url_formatter/url_formatter.h"
#include "content/public/test/mock_navigation_handle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/url_features.h"

namespace lookalikes {

// IDNA mode to use in tests.
enum class IDNAMode {};

class LookalikeThrottleTest : public testing::WithParamInterface<IDNAMode>,
                              public ChromeRenderViewHostTestHarness {};

INSTANTIATE_TEST_SUITE_P();

// Tests that spoofy hostnames are properly handled in the throttle.
TEST_P(LookalikeThrottleTest, SpoofsBlocked) {}

}  // namespace lookalikes