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

Side by Side Diff: chrome/browser/autofill/autofill_manager_unittest.cc

Issue 3068013: Exclude AutoFillManagerTest.GetBillingSuggestionsAddress1 from running in bra... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | Annotate | Revision Log
« 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 <vector> 5 #include <vector>
6 6
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/scoped_vector.h" 9 #include "base/scoped_vector.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 EXPECT_TRUE(GetAutoFillSuggestionsMessage(&page_id, &values, &labels)); 718 EXPECT_TRUE(GetAutoFillSuggestionsMessage(&page_id, &values, &labels));
719 EXPECT_EQ(kPageID, page_id); 719 EXPECT_EQ(kPageID, page_id);
720 ASSERT_EQ(2U, values.size()); 720 ASSERT_EQ(2U, values.size());
721 EXPECT_EQ(ASCIIToUTF16("Elvis"), values[0]); 721 EXPECT_EQ(ASCIIToUTF16("Elvis"), values[0]);
722 EXPECT_EQ(ASCIIToUTF16("Charles"), values[1]); 722 EXPECT_EQ(ASCIIToUTF16("Charles"), values[1]);
723 ASSERT_EQ(2U, labels.size()); 723 ASSERT_EQ(2U, labels.size());
724 EXPECT_EQ(string16(), labels[0]); 724 EXPECT_EQ(string16(), labels[0]);
725 EXPECT_EQ(string16(), labels[1]); 725 EXPECT_EQ(string16(), labels[1]);
726 } 726 }
727 727
728 TEST_F(AutoFillManagerTest, GetBillingSuggestionsAddress1) { 728 TEST_F(AutoFillManagerTest, SKIP_BRANDED(GetBillingSuggestionsAddress1)) {
729 FormData form; 729 FormData form;
730 CreateTestFormDataBilling(&form); 730 CreateTestFormDataBilling(&form);
731 731
732 // Set up our FormStructures. 732 // Set up our FormStructures.
733 std::vector<FormData> forms; 733 std::vector<FormData> forms;
734 forms.push_back(form); 734 forms.push_back(form);
735 autofill_manager_->FormsSeen(forms); 735 autofill_manager_->FormsSeen(forms);
736 736
737 // The page ID sent to the AutoFillManager from the RenderView, used to send 737 // The page ID sent to the AutoFillManager from the RenderView, used to send
738 // an IPC message back to the renderer. 738 // an IPC message back to the renderer.
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean( 1244 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
1245 prefs::kAutoFillAuxiliaryProfilesEnabled)); 1245 prefs::kAutoFillAuxiliaryProfilesEnabled));
1246 profile()->GetPrefs()->SetBoolean( 1246 profile()->GetPrefs()->SetBoolean(
1247 prefs::kAutoFillAuxiliaryProfilesEnabled, true); 1247 prefs::kAutoFillAuxiliaryProfilesEnabled, true);
1248 profile()->GetPrefs()->ClearPref(prefs::kAutoFillAuxiliaryProfilesEnabled); 1248 profile()->GetPrefs()->ClearPref(prefs::kAutoFillAuxiliaryProfilesEnabled);
1249 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean( 1249 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
1250 prefs::kAutoFillAuxiliaryProfilesEnabled)); 1250 prefs::kAutoFillAuxiliaryProfilesEnabled));
1251 #endif 1251 #endif
1252 } 1252 }
1253 1253
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