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

Side by Side Diff: chrome/test/live_sync/two_client_live_autofill_sync_test.cc

Issue 3146013: Marking Client1HasData test as failed due to bug 51956. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/test/live_sync/live_autofill_sync_test.h" 6 #include "chrome/test/live_sync/live_autofill_sync_test.h"
7 7
8 IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest, Client1HasData) { 8 // TODO(rsimha): Remove FAILS prefix after crbug.com/51956 is fixed.
9 IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest,
10 FAILS_Client1HasData) {
9 ASSERT_TRUE(SetupClients()) << "SetupClients() failed."; 11 ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
10 12
11 AutofillKeys keys; 13 AutofillKeys keys;
12 keys.insert(AutofillKey("name0", "value0")); 14 keys.insert(AutofillKey("name0", "value0"));
13 keys.insert(AutofillKey("name0", "value1")); 15 keys.insert(AutofillKey("name0", "value1"));
14 keys.insert(AutofillKey("name1", "value2")); 16 keys.insert(AutofillKey("name1", "value2"));
15 keys.insert(AutofillKey(WideToUTF16(L"Sigur R\u00F3s"), 17 keys.insert(AutofillKey(WideToUTF16(L"Sigur R\u00F3s"),
16 WideToUTF16(L"\u00C1g\u00E6tis byrjun"))); 18 WideToUTF16(L"\u00C1g\u00E6tis byrjun")));
17 AddFormFieldsToWebData(GetWebDataService(0), keys); 19 AddFormFieldsToWebData(GetWebDataService(0), keys);
18 20
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 STLDeleteElements(&expected_profiles); 279 STLDeleteElements(&expected_profiles);
278 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing")); 280 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing"));
279 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing2")); 281 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing2"));
280 EXPECT_TRUE(GetClient(1)->AwaitMutualSyncCycleCompletion(GetClient(0))); 282 EXPECT_TRUE(GetClient(1)->AwaitMutualSyncCycleCompletion(GetClient(0)));
281 283
282 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles, 284 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
283 GetAllAutoFillProfiles(GetPersonalDataManager(0)))); 285 GetAllAutoFillProfiles(GetPersonalDataManager(0))));
284 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles, 286 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
285 GetAllAutoFillProfiles(GetPersonalDataManager(1)))); 287 GetAllAutoFillProfiles(GetPersonalDataManager(1))));
286 } 288 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698