#include "components/omnibox/browser/autocomplete_match_type.h"
#include "base/json/json_reader.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "components/omnibox/browser/actions/omnibox_action.h"
#include "components/omnibox/browser/actions/omnibox_pedal.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "components/omnibox/browser/omnibox_feature_configs.h"
#include "components/omnibox/browser/suggestion_answer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/omnibox_proto/rich_answer_template.pb.h"
#include "url/gurl.h"
namespace {
class FakeOmniboxPedal : public OmniboxPedal { … };
}
TEST(AutocompleteMatchTypeTest, AccessibilityLabelHistory) { … }
TEST(AutocompleteMatchTypeTest, AccessibilityLabelSearch) { … }
TEST(AutocompleteMatchTypeTest, AccessibilityLabelPedal) { … }
namespace {
bool ParseAnswer(const std::string& answer_json,
omnibox::AnswerType answer_type,
SuggestionAnswer* answer) { … }
bool ParseJsonToAnswerData(const std::string& answer_json,
omnibox::RichAnswerTemplate* answer_template) { … }
}
TEST(AutocompleteMatchTypeTest, AccessibilityLabelAnswer) { … }