chromium/components/omnibox/browser/autocomplete_input_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/omnibox/browser/autocomplete_input.h"

#include <stddef.h>

#include <string>

#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "components/omnibox/browser/test_scheme_classifier.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/metrics_proto/omnibox_event.pb.h"
#include "third_party/metrics_proto/omnibox_input_type.pb.h"
#include "url/third_party/mozilla/url_parse.h"

ASCIIToUTF16;
OmniboxEventProto;

TEST(AutocompleteInputTest, InputType) {}

TEST(AutocompleteInputTest, InputTypeWithDesiredTLD) {}

// This tests for a regression where certain input in the omnibox caused us to
// crash. As long as the test completes without crashing, we're fine.
TEST(AutocompleteInputTest, InputCrash) {}

TEST(AutocompleteInputTest, ParseForEmphasizeComponent) {}

TEST(AutocompleteInputTest, InputTypeWithCursorPosition) {}

TEST(AutocompleteInputTest, UpgradeTypedNavigationsToHttps) {}

TEST(AutocompleteInputTest, TypedURLHadHTTPSchemeTest) {}