| Index: chrome/browser/autofill/autofill_profile_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_profile_unittest.cc b/chrome/browser/autofill/autofill_profile_unittest.cc
|
| index d207bc488c0cfba839cf5ad71a3bf5bdeb488e2e..ab4a8535c312a46658ba4ebf08aec07608b25e0a 100644
|
| --- a/chrome/browser/autofill/autofill_profile_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_profile_unittest.cc
|
| @@ -22,6 +22,8 @@ bool UpdateProfileLabel(AutoFillProfile *profile) {
|
| return AutoFillProfile::AdjustInferredLabels(&profiles);
|
| }
|
|
|
| +} // namespace
|
| +
|
| // Tests different possibilities for summary string generation.
|
| // Based on existence of first name, last name, and address line 1.
|
| TEST(AutoFillProfileTest, PreviewSummaryString) {
|
| @@ -633,4 +635,10 @@ TEST(AutoFillProfileTest, Compare) {
|
| EXPECT_LT(0, b.Compare(a));
|
| }
|
|
|
| -} // namespace
|
| +TEST(AutoFillProfileTest, CountryCode) {
|
| + AutoFillProfile profile;
|
| + EXPECT_EQ(std::string(), profile.CountryCode());
|
| +
|
| + profile.SetCountryCode("US");
|
| + EXPECT_EQ("US", profile.CountryCode());
|
| +}
|
|
|