#include "components/autofill/core/browser/geo/address_i18n.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <vector>
#include "base/containers/contains.h"
#include "base/uuid.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/field_types.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_data.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_field.h"
namespace i18n::addressinput {
operator<<;
}
namespace autofill {
namespace i18n {
AddressData;
AddressField;
ADMIN_AREA;
COUNTRY;
DEPENDENT_LOCALITY;
LOCALITY;
ORGANIZATION;
POSTAL_CODE;
RECIPIENT;
SORTING_CODE;
STREET_ADDRESS;
struct FieldTypeMirrorConversionsTestCase { … };
class FieldTypeMirrorConversionsTest
: public testing::TestWithParam<FieldTypeMirrorConversionsTestCase> { … };
TEST_P(FieldTypeMirrorConversionsTest, FieldTypeMirrorConversions) { … }
INSTANTIATE_TEST_SUITE_P(…);
struct FieldTypeUnidirectionalConversionsTestCase { … };
class FieldTypeUnidirectionalConversionsTest
: public testing::TestWithParam<
FieldTypeUnidirectionalConversionsTestCase> { … };
TEST_P(FieldTypeUnidirectionalConversionsTest,
FieldTypeUnidirectionalConversions) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST(AddressI18nTest, UnconvertableFields) { … }
TEST(AddressI18nTest, CreateAddressDataFromAutofillProfile) { … }
TEST(AddressI18nTest, ProfileOnlyWithAddressLine2ReturnsOneAddressLine) { … }
TEST(AddressI18nTest, IsFieldRequired) { … }
}
}