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

Side by Side Diff: chrome/browser/sync/glue/autofill_profile_model_associator_unittest.cc

Issue 7624009: Original patch by rlarocque@chromium.org at http://codereview.chromium.org/7633077/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build pt5 Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/tracked.h" 5 #include "base/tracked.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/sync/engine/read_node_mock.h" 7 #include "chrome/browser/sync/internal_api/read_node_mock.h"
8 #include "chrome/browser/sync/engine/syncapi_mock.h" 8 #include "chrome/browser/sync/internal_api/syncapi_mock.h"
9 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h" 9 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h"
10 #include "chrome/browser/sync/syncable/syncable.h" 10 #include "chrome/browser/sync/syncable/syncable.h"
11 #include "chrome/browser/sync/syncable/syncable_mock.h" 11 #include "chrome/browser/sync/syncable/syncable_mock.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using ::testing::_; 15 using ::testing::_;
16 using ::testing::Return; 16 using ::testing::Return;
17 using ::testing::DoDefault; 17 using ::testing::DoDefault;
18 using ::testing::ReturnRef; 18 using ::testing::ReturnRef;
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 associator_.AddNativeProfileIfNeededWrapper( 252 associator_.AddNativeProfileIfNeededWrapper(
253 profile_specifics, 253 profile_specifics,
254 &bundle, 254 &bundle,
255 read_node); 255 read_node);
256 256
257 EXPECT_EQ(bundle.new_profiles.size(), (unsigned int)1); 257 EXPECT_EQ(bundle.new_profiles.size(), (unsigned int)1);
258 EXPECT_EQ(bundle.new_profiles.front()->GetInfo(NAME_FIRST), 258 EXPECT_EQ(bundle.new_profiles.front()->GetInfo(NAME_FIRST),
259 UTF8ToUTF16(first_name)); 259 UTF8ToUTF16(first_name));
260 } 260 }
261 261
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/autofill_profile_model_associator.cc ('k') | chrome/browser/sync/glue/bookmark_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698