#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_STRUCTURED_ADDRESS_TEST_UTILS_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_STRUCTURED_ADDRESS_TEST_UTILS_H_
#include <string>
#include "components/autofill/core/browser/data_model/autofill_structured_address_component.h"
#include "components/autofill/core/browser/data_model/autofill_structured_address_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
struct AddressComponentTestValue { … };
void TestMerging(
AddressComponent* older_component,
AddressComponent* newer_component,
const std::vector<AddressComponentTestValue>& merge_expectation,
bool is_mergeable = true,
int merge_modes = MergeMode::kRecursivelyMergeTokenEquivalentValues,
bool newer_was_more_recently_used = true);
void SetTestValues(AddressComponent* component,
const std::vector<AddressComponentTestValue>& test_values,
bool finalize = true);
void VerifyTestValues(AddressComponent* component,
const std::vector<AddressComponentTestValue> test_values);
}
#endif