chromium/components/omnibox/browser/on_device_head_provider_unittest.cc

// Copyright 2019 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/omnibox/browser/on_device_head_provider.h"

#include <memory>

#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "components/omnibox/browser/autocomplete_input.h"
#include "components/omnibox/browser/autocomplete_provider_listener.h"
#include "components/omnibox/browser/fake_autocomplete_provider_client.h"
#include "components/omnibox/browser/on_device_head_model.h"
#include "components/omnibox/browser/on_device_model_update_listener.h"
#include "components/omnibox/browser/test_scheme_classifier.h"
#include "components/omnibox/common/omnibox_features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/metrics_proto/omnibox_focus_type.pb.h"

#if BUILDFLAG(BUILD_WITH_TFLITE_LIB)
#include "components/optimization_guide/core/test_model_info_builder.h"
#endif

_;
NiceMock;
Return;

class OnDeviceHeadProviderTest : public testing::Test,
                                 public AutocompleteProviderListener {};

TEST_F(OnDeviceHeadProviderTest, ModelInstanceNotCreated) {}

TEST_F(OnDeviceHeadProviderTest, RejectSynchronousRequest) {}

TEST_F(OnDeviceHeadProviderTest, TestIfIncognitoIsAllowed) {}

TEST_F(OnDeviceHeadProviderTest, RejectOnFocusRequest) {}

TEST_F(OnDeviceHeadProviderTest, NoMatches) {}

TEST_F(OnDeviceHeadProviderTest, HasHeadMatches) {}

#if BUILDFLAG(BUILD_WITH_TFLITE_LIB)
TEST_F(OnDeviceHeadProviderTest, HasTailMatches) {}
#endif

TEST_F(OnDeviceHeadProviderTest, CancelInProgressRequest) {}