chromium/chrome/browser/ui/webui/searchbox/realbox_handler_unittest.cc

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

#include "realbox_handler.h"

#include "base/memory/raw_ptr.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/ui/webui/searchbox/lens_searchbox_client.h"
#include "chrome/test/base/testing_profile.h"
#include "components/omnibox/browser/autocomplete_controller.h"
#include "components/omnibox/browser/mock_autocomplete_provider_client.h"
#include "components/omnibox/browser/omnibox_controller.h"
#include "components/omnibox/browser/test_omnibox_client.h"
#include "components/omnibox/browser/test_omnibox_edit_model.h"
#include "components/search/ntp_features.h"
#include "components/variations/scoped_variations_ids_provider.h"
#include "components/variations/variations_ids_provider.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_web_ui_data_source.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/metrics_proto/omnibox_event.pb.h"
#include "third_party/metrics_proto/omnibox_focus_type.pb.h"

namespace {

_;
DoAll;
Return;
ReturnRef;
SaveArg;

class MockPage : public searchbox::mojom::Page {};

class MockAutocompleteController : public AutocompleteController {};

class MockOmniboxEditModel : public OmniboxEditModel {};

class MockLensSearchboxClient : public LensSearchboxClient {};

class TestObserver : public OmniboxWebUIPopupChangeObserver {};

}  // namespace

class RealboxHandlerTest : public ::testing::Test {};

TEST_F(RealboxHandlerTest, RealboxLensVariationsContainsVariations) {}

TEST_F(RealboxHandlerTest, RealboxUpdatesSelection) {}

TEST_F(RealboxHandlerTest, RealboxObservationWorks) {}

TEST_F(RealboxHandlerTest, AutocompleteController_Start) {}

TEST_F(RealboxHandlerTest, Lens_AutocompleteController_Start) {}