Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc
diff --git a/chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc b/chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc
index f98e52aacbd98cb2cdd48d4ccc77cb2ea4a3288f..d4c17317432f5a5c9bc878d3f48f73425b18493f 100644
--- a/chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc
+++ b/chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc
@@ -53,9 +53,6 @@ ValueDescription profile2[] = {
{ L"name_last", L"Doe" },
{ L"email", L"janedoe@test.com" },
{ L"company_name", L"Testcompany" },
- { L"phone_fax_number", L"555-6666" },
- { L"phone_fax_city_code", L"812" },
- { L"phone_fax_country_code", L"7" },
};
ValueDescription credit_card[] = {
@@ -177,10 +174,6 @@ TEST_F(AutofillIeToolbarImportTest, TestAutofillImport) {
EXPECT_EQ(profile2[1].value, profiles[0].GetInfo(NAME_LAST));
EXPECT_EQ(profile2[2].value, profiles[0].GetInfo(EMAIL_ADDRESS));
EXPECT_EQ(profile2[3].value, profiles[0].GetInfo(COMPANY_NAME));
- EXPECT_EQ(profile2[6].value, profiles[0].GetInfo(PHONE_FAX_COUNTRY_CODE));
- EXPECT_EQ(profile2[5].value, profiles[0].GetInfo(PHONE_FAX_CITY_CODE));
- EXPECT_EQ(L"5556666", profiles[0].GetInfo(PHONE_FAX_NUMBER));
- EXPECT_EQ(L"+7 812 555-66-66", profiles[0].GetInfo(PHONE_FAX_WHOLE_NUMBER));
ASSERT_EQ(1U, credit_cards.size());
EXPECT_EQ(credit_card[0].value, credit_cards[0].GetInfo(CREDIT_CARD_NAME));
« no previous file with comments | « chrome/browser/autofill/autofill_ie_toolbar_import_win.cc ('k') | chrome/browser/autofill/autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698