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

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

Issue 6650014: Autofill extend profiles to include multi-valued fields, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 9 years, 9 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
« no previous file with comments | « chrome/browser/autofill/autofill_type.cc ('k') | chrome/browser/autofill/contact_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_type_unittest.cc
diff --git a/chrome/browser/autofill/autofill_type_unittest.cc b/chrome/browser/autofill/autofill_type_unittest.cc
index 6f812e27842ac415b3cabc3794f14311f249fe56..4f5d4012123ff3485efc29a7fbf7458a20f96dd7 100644
--- a/chrome/browser/autofill/autofill_type_unittest.cc
+++ b/chrome/browser/autofill/autofill_type_unittest.cc
@@ -23,7 +23,7 @@ TEST(AutofillTypeTest, Basic) {
// Type with group but no subgroup.
AutofillType first(NAME_FIRST);
EXPECT_EQ(NAME_FIRST, first.field_type());
- EXPECT_EQ(AutofillType::CONTACT_INFO, first.group());
+ EXPECT_EQ(AutofillType::NAME, first.group());
EXPECT_EQ(AutofillType::NO_SUBGROUP, first.subgroup());
// Type with group and subgroup.
@@ -35,7 +35,7 @@ TEST(AutofillTypeTest, Basic) {
// Last value, to check any offset errors.
AutofillType last(COMPANY_NAME);
EXPECT_EQ(COMPANY_NAME, last.field_type());
- EXPECT_EQ(AutofillType::CONTACT_INFO, last.group());
+ EXPECT_EQ(AutofillType::COMPANY, last.group());
EXPECT_EQ(AutofillType::NO_SUBGROUP, last.subgroup());
// Boundary (error) condition.
« no previous file with comments | « chrome/browser/autofill/autofill_type.cc ('k') | chrome/browser/autofill/contact_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698