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

Unified Diff: chrome/browser/sync/glue/autofill_model_associator_unittest.cc

Issue 4683003: Sending the proto files for review to unblcok the server team Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years, 1 month 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/sync/glue/autofill_model_associator_unittest.cc
diff --git a/chrome/browser/sync/glue/autofill_model_associator_unittest.cc b/chrome/browser/sync/glue/autofill_model_associator_unittest.cc
index cfd7e8d5287a893a8fca491d63e7d22abdd4fbf5..e8803599650e3d36b66e29450dd2e6e3250a636d 100644
--- a/chrome/browser/sync/glue/autofill_model_associator_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_model_associator_unittest.cc
@@ -6,6 +6,7 @@
#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "chrome/browser/sync/glue/autofill_model_associator.h"
+#include "chrome/browser/sync/glue/autofill_model_associator2.h"
using browser_sync::AutofillModelAssociator;
@@ -26,15 +27,3 @@ TEST_F(AutofillModelAssociatorTest, KeyToTag) {
AutofillModelAssociator::KeyToTag(UTF8ToUTF16(""),
UTF8ToUTF16("|")));
}
-
-TEST_F(AutofillModelAssociatorTest, ProfileLabelToTag) {
- string16 label(ASCIIToUTF16("awesome_address"));
- EXPECT_EQ("autofill_profile|awesome_address",
- AutofillModelAssociator::ProfileLabelToTag(label));
-
- EXPECT_EQ("autofill_profile|%7C%7C",
- AutofillModelAssociator::ProfileLabelToTag(ASCIIToUTF16("||")));
- EXPECT_NE(AutofillModelAssociator::KeyToTag(ASCIIToUTF16("autofill_profile"),
- ASCIIToUTF16("home")),
- AutofillModelAssociator::ProfileLabelToTag(ASCIIToUTF16("home")));
-}
« no previous file with comments | « chrome/browser/sync/glue/autofill_model_associator2.cc ('k') | chrome/browser/sync/glue/autofill_profile_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698