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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc

Issue 65953002: [Autofill] Rename autofill_common_test -> autofill_test_utils (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/ui/autofill/testable_autofill_dialog_view.h" 21 #include "chrome/browser/ui/autofill/testable_autofill_dialog_view.h"
22 #include "chrome/browser/ui/browser.h" 22 #include "chrome/browser/ui/browser.h"
23 #include "chrome/browser/ui/tabs/tab_strip_model.h" 23 #include "chrome/browser/ui/tabs/tab_strip_model.h"
24 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
25 #include "chrome/common/url_constants.h" 25 #include "chrome/common/url_constants.h"
26 #include "chrome/test/base/in_process_browser_test.h" 26 #include "chrome/test/base/in_process_browser_test.h"
27 #include "chrome/test/base/ui_test_utils.h" 27 #include "chrome/test/base/ui_test_utils.h"
28 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 28 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
29 #include "components/autofill/content/browser/wallet/mock_wallet_client.h" 29 #include "components/autofill/content/browser/wallet/mock_wallet_client.h"
30 #include "components/autofill/content/browser/wallet/wallet_test_util.h" 30 #include "components/autofill/content/browser/wallet/wallet_test_util.h"
31 #include "components/autofill/core/browser/autofill_common_test.h"
32 #include "components/autofill/core/browser/autofill_metrics.h" 31 #include "components/autofill/core/browser/autofill_metrics.h"
32 #include "components/autofill/core/browser/autofill_test_utils.h"
33 #include "components/autofill/core/browser/test_personal_data_manager.h" 33 #include "components/autofill/core/browser/test_personal_data_manager.h"
34 #include "components/autofill/core/browser/validation.h" 34 #include "components/autofill/core/browser/validation.h"
35 #include "components/autofill/core/common/autofill_switches.h" 35 #include "components/autofill/core/common/autofill_switches.h"
36 #include "components/autofill/core/common/form_data.h" 36 #include "components/autofill/core/common/form_data.h"
37 #include "components/autofill/core/common/form_field_data.h" 37 #include "components/autofill/core/common/form_field_data.h"
38 #include "content/public/browser/browser_thread.h" 38 #include "content/public/browser/browser_thread.h"
39 #include "content/public/browser/notification_service.h" 39 #include "content/public/browser/notification_service.h"
40 #include "content/public/browser/web_contents.h" 40 #include "content/public/browser/web_contents.h"
41 #include "content/public/browser/web_contents_delegate.h" 41 #include "content/public/browser/web_contents_delegate.h"
42 #include "content/public/common/url_constants.h" 42 #include "content/public/common/url_constants.h"
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 1069
1070 // Select "New X..." from the suggestion menu to clear the section's inputs. 1070 // Select "New X..." from the suggestion menu to clear the section's inputs.
1071 controller()->MenuModelForSection(SECTION_CC)->ActivatedAt(1); 1071 controller()->MenuModelForSection(SECTION_CC)->ActivatedAt(1);
1072 EXPECT_FALSE(controller()->IsEditingExistingData(SECTION_CC)); 1072 EXPECT_FALSE(controller()->IsEditingExistingData(SECTION_CC));
1073 1073
1074 // Ensure that the credit card expiration month has changed. 1074 // Ensure that the credit card expiration month has changed.
1075 EXPECT_NE(cc_exp_month_text, view->GetTextContentsOfInput(cc_exp_month)); 1075 EXPECT_NE(cc_exp_month_text, view->GetTextContentsOfInput(cc_exp_month));
1076 } 1076 }
1077 1077
1078 } // namespace autofill 1078 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698