#include "components/autofill/core/browser/data_model/autofill_structured_address_utils.h"
#include <stddef.h>
#include <map>
#include <string>
#include <vector>
#include "base/i18n/char_iterator.h"
#include "base/i18n/unicodestring.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/gtest_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
bool operator==(const AddressToken& lhs, const AddressToken& rhs) { … }
char kFirstMiddleLastRe[] = …;
TEST(AutofillStructuredAddressUtils, TestParseValueByRegularExpression) { … }
TEST(AutofillStructuredAddressUtils,
TestParseValueByRegularExpression_OnlyPartialMatch) { … }
TEST(AutofillStructuredAddressUtils,
TestParseValueByRegularExpression_InvalidRegEx) { … }
TEST(AutofillStructuredAddressUtils, TestIsPartialMatch) { … }
TEST(AutofillStructuredAddressUtils, TestIsPartialMatch_InvalidRegEx) { … }
TEST(AutofillStructuredAddressUtils, TestRegExCaching) { … }
TEST(AutofillStructuredAddressUtils, TestGetAllPartialMatches) { … }
TEST(AutofillStructuredAddressUtils, TestGetAllPartialMatches_InvalidPattern) { … }
TEST(AutofillStructuredAddressUtils,
TestExtractAllPlaceholders_Isolated_Placeholder) { … }
TEST(AutofillStructuredAddressUtils,
TestExtractAllPlaceholders_Placeholder_In_Text) { … }
TEST(AutofillStructuredAddressUtils,
TestExtractAllPlaceholders_Multiple_Placeholders_In_Text) { … }
TEST(AutofillStructuredAddressUtils, TestExtractAllPlaceholders_Broken_Syntax) { … }
TEST(AutofillStructuredAddressUtils,
TestExtractAllPlaceholders_Nested_Placeholders) { … }
TEST(AutofillStructuredAddressUtils, TestGetPlaceholderToken) { … }
TEST(AutofillStructuredAddressUtils, CaptureTypeWithPattern) { … }
TEST(AutofillStructuredAddressUtils, NoCaptureTypeWithPattern) { … }
TEST(AutofillStructuredAddressUtils, TokenizeValue) { … }
TEST(AutofillStructuredAddressUtils, NormalizeValue) { … }
TEST(AutofillStructuredAddressUtils, TestGetRewriter) { … }
TEST(AutofillStructuredAddressUtils, AreStringTokenCompatible) { … }
}