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/ui/webui/bidi_checker_web_ui_test.cc

Issue 180953004: Componentize several Autofill unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/ui/webui/bidi_checker_web_ui_test.h" 5 #include "chrome/browser/ui/webui/bidi_checker_web_ui_test.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 const char* last_name, 258 const char* last_name,
259 const char* email, 259 const char* email,
260 const char* company, 260 const char* company,
261 const char* address1, 261 const char* address1,
262 const char* address2, 262 const char* address2,
263 const char* city, 263 const char* city,
264 const char* state, 264 const char* state,
265 const char* zipcode, 265 const char* zipcode,
266 const char* country, 266 const char* country,
267 const char* phone) { 267 const char* phone) {
268 autofill::test::DisableSystemServices(profile); 268 autofill::test::DisableSystemServices(profile->GetPrefs());
269 AutofillProfile autofill_profile; 269 AutofillProfile autofill_profile;
270 autofill::test::SetProfileInfo(&autofill_profile, 270 autofill::test::SetProfileInfo(&autofill_profile,
271 first_name, 271 first_name,
272 middle_name, 272 middle_name,
273 last_name, 273 last_name,
274 email, 274 email,
275 company, 275 company,
276 address1, 276 address1,
277 address2, 277 address2,
278 city, 278 city,
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 // chrome://history-frame 731 // chrome://history-frame
732 //============================== 732 //==============================
733 733
734 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestHistoryFrame) { 734 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestHistoryFrame) {
735 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); 735 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL);
736 } 736 }
737 737
738 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, TestHistoryFrame) { 738 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, TestHistoryFrame) {
739 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); 739 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL);
740 } 740 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698