#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SUGGESTION_TEST_HELPERS_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SUGGESTION_TEST_HELPERS_H_
#include "components/autofill/core/browser/ui/suggestion.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
::testing::Matcher<Suggestion> EqualsSuggestion(SuggestionType id);
::testing::Matcher<Suggestion> EqualsSuggestion(
SuggestionType id,
const std::u16string& main_text);
::testing::Matcher<Suggestion> EqualsSuggestion(SuggestionType id,
const std::u16string& main_text,
Suggestion::Icon icon);
::testing::Matcher<Suggestion> EqualsSuggestion(
SuggestionType type,
const std::u16string& main_text,
Suggestion::Icon icon,
const std::vector<std::vector<Suggestion::Text>>& labels);
::testing::Matcher<Suggestion> EqualsSuggestion(
SuggestionType id,
const std::u16string& main_text,
Suggestion::Icon icon,
const Suggestion::Payload& payload);
template <class... Matchers>
inline auto SuggestionVectorIdsAre(const Matchers&... matchers) { … }
template <class... Matchers>
inline auto SuggestionVectorMainTextsAre(const Matchers&... matchers) { … }
template <class... Matchers>
inline auto SuggestionAdditionalLabelsContains(const Matchers&... matchers) { … }
template <class... Matchers>
inline auto SuggestionVectorIconsAre(const Matchers&... matchers) { … }
template <class... Matchers>
inline auto SuggestionVectorStoreIndicatorIconsAre(
const Matchers&... matchers) { … }
}
#endif