#include "components/omnibox/browser/actions/omnibox_action_in_suggest.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "components/omnibox/browser/actions/omnibox_pedal_provider.h"
#include "components/omnibox/browser/mock_autocomplete_provider_client.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/omnibox_proto/entity_info.pb.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/window_open_disposition.h"
#include "url/gurl.h"
ActionInfo;
ActionType;
namespace {
class FakeOmniboxAction : public OmniboxAction { … };
const char* ToString(ActionType type) { … }
}
class OmniboxActionInSuggestTest : public testing::Test { … };
OmniboxActionInSuggestTest::OmniboxActionInSuggestTest()
: … { … }
TEST_F(OmniboxActionInSuggestTest, CheckLabelsArePresentForKnownTypes) { … }
TEST_F(OmniboxActionInSuggestTest, ConversionFromAction) { … }
TEST_F(OmniboxActionInSuggestTest, ConversionFromNonAction) { … }
TEST_F(OmniboxActionInSuggestTest, AllDeclaredActionTypesAreProperlyReflected) { … }
TEST_F(OmniboxActionInSuggestTest, HistogramsRecording) { … }