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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.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 <map> 5 #include <map>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/guid.h" 9 #include "base/guid.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/test/base/scoped_testing_local_state.h" 26 #include "chrome/test/base/scoped_testing_local_state.h"
27 #include "chrome/test/base/testing_browser_process.h" 27 #include "chrome/test/base/testing_browser_process.h"
28 #include "chrome/test/base/testing_profile.h" 28 #include "chrome/test/base/testing_profile.h"
29 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 29 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
30 #include "components/autofill/content/browser/wallet/full_wallet.h" 30 #include "components/autofill/content/browser/wallet/full_wallet.h"
31 #include "components/autofill/content/browser/wallet/instrument.h" 31 #include "components/autofill/content/browser/wallet/instrument.h"
32 #include "components/autofill/content/browser/wallet/mock_wallet_client.h" 32 #include "components/autofill/content/browser/wallet/mock_wallet_client.h"
33 #include "components/autofill/content/browser/wallet/wallet_address.h" 33 #include "components/autofill/content/browser/wallet/wallet_address.h"
34 #include "components/autofill/content/browser/wallet/wallet_service_url.h" 34 #include "components/autofill/content/browser/wallet/wallet_service_url.h"
35 #include "components/autofill/content/browser/wallet/wallet_test_util.h" 35 #include "components/autofill/content/browser/wallet/wallet_test_util.h"
36 #include "components/autofill/core/browser/autofill_common_test.h"
37 #include "components/autofill/core/browser/autofill_metrics.h" 36 #include "components/autofill/core/browser/autofill_metrics.h"
37 #include "components/autofill/core/browser/autofill_test_utils.h"
38 #include "components/autofill/core/browser/test_personal_data_manager.h" 38 #include "components/autofill/core/browser/test_personal_data_manager.h"
39 #include "components/autofill/core/common/autofill_switches.h" 39 #include "components/autofill/core/common/autofill_switches.h"
40 #include "components/autofill/core/common/form_data.h" 40 #include "components/autofill/core/common/form_data.h"
41 #include "components/user_prefs/user_prefs.h" 41 #include "components/user_prefs/user_prefs.h"
42 #include "content/public/browser/web_contents.h" 42 #include "content/public/browser/web_contents.h"
43 #include "content/public/test/mock_render_process_host.h" 43 #include "content/public/test/mock_render_process_host.h"
44 #include "google_apis/gaia/google_service_auth_error.h" 44 #include "google_apis/gaia/google_service_auth_error.h"
45 #include "testing/gmock/include/gmock/gmock.h" 45 #include "testing/gmock/include/gmock/gmock.h"
46 #include "testing/gtest/include/gtest/gtest.h" 46 #include "testing/gtest/include/gtest/gtest.h"
47 47
(...skipping 2648 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 controller()->OnUserNameFetchSuccess(usernames); 2696 controller()->OnUserNameFetchSuccess(usernames);
2697 controller()->OnDidFetchWalletCookieValue(std::string()); 2697 controller()->OnDidFetchWalletCookieValue(std::string());
2698 controller()->OnDidGetWalletItems(CompleteAndValidWalletItems()); 2698 controller()->OnDidGetWalletItems(CompleteAndValidWalletItems());
2699 controller()->OnPassiveSigninFailure(GoogleServiceAuthError( 2699 controller()->OnPassiveSigninFailure(GoogleServiceAuthError(
2700 GoogleServiceAuthError::CONNECTION_FAILED)); 2700 GoogleServiceAuthError::CONNECTION_FAILED));
2701 EXPECT_FALSE(controller()->ShouldDisableSignInLink()); 2701 EXPECT_FALSE(controller()->ShouldDisableSignInLink());
2702 EXPECT_NE(use_wallet_text, controller()->SignInLinkText()); 2702 EXPECT_NE(use_wallet_text, controller()->SignInLinkText());
2703 } 2703 }
2704 2704
2705 } // namespace autofill 2705 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698