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

Side by Side Diff: components/autofill/browser/autocheckout_manager_unittest.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/tuple.h" 5 #include "base/tuple.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/autofill/autocheckout_manager.h"
8 #include "chrome/browser/autofill/autofill_common_test.h"
9 #include "chrome/browser/autofill/autofill_manager.h"
10 #include "chrome/browser/autofill/form_structure.h"
11 #include "chrome/browser/autofill/test_autofill_manager_delegate.h"
12 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
8 #include "components/autofill/browser/autocheckout_manager.h"
9 #include "components/autofill/browser/autofill_common_test.h"
10 #include "components/autofill/browser/autofill_manager.h"
11 #include "components/autofill/browser/form_structure.h"
12 #include "components/autofill/browser/test_autofill_manager_delegate.h"
13 #include "components/autofill/common/autofill_messages.h" 13 #include "components/autofill/common/autofill_messages.h"
14 #include "components/autofill/common/form_data.h" 14 #include "components/autofill/common/form_data.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "content/public/test/mock_render_process_host.h" 16 #include "content/public/test/mock_render_process_host.h"
17 #include "content/public/test/test_browser_thread.h" 17 #include "content/public/test/test_browser_thread.h"
18 #include "ipc/ipc_test_sink.h" 18 #include "ipc/ipc_test_sink.h"
19 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 22
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 CheckIpcMessageSent(); 520 CheckIpcMessageSent();
521 // Go to third page. 521 // Go to third page.
522 EXPECT_CALL(*autofill_manager_delegate_, UpdateProgressBar(1)).Times(1); 522 EXPECT_CALL(*autofill_manager_delegate_, UpdateProgressBar(1)).Times(1);
523 autocheckout_manager_->OnLoadedPageMetaData(CreateEndOfFlowMetaData()); 523 autocheckout_manager_->OnLoadedPageMetaData(CreateEndOfFlowMetaData());
524 CheckIpcMessageSent(); 524 CheckIpcMessageSent();
525 EXPECT_FALSE(autocheckout_manager_->in_autocheckout_flow()); 525 EXPECT_FALSE(autocheckout_manager_->in_autocheckout_flow());
526 EXPECT_FALSE(autofill_manager_delegate_->request_autocomplete_dialog_open()); 526 EXPECT_FALSE(autofill_manager_delegate_->request_autocomplete_dialog_open());
527 } 527 }
528 528
529 } // namespace autofill 529 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/browser/autocheckout_manager.cc ('k') | components/autofill/browser/autocheckout_page_meta_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698