OLD | NEW |
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 <string> | 5 #include <string> |
6 | 6 |
7 #include "app/keyboard_code_conversion.h" | 7 #include "app/keyboard_code_conversion.h" |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "chrome/browser/autofill/autofill_common_test.h" | 12 #include "chrome/browser/autofill/autofill_common_test.h" |
13 #include "chrome/browser/autofill/autofill_profile.h" | 13 #include "chrome/browser/autofill/autofill_profile.h" |
14 #include "chrome/browser/autofill/personal_data_manager.h" | 14 #include "chrome/browser/autofill/personal_data_manager.h" |
15 #include "chrome/browser/net/predictor_api.h" | 15 #include "chrome/browser/net/predictor_api.h" |
16 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/tab_contents/tab_contents.h" | 17 #include "chrome/browser/tab_contents/tab_contents.h" |
18 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
19 #include "chrome/browser/ui/browser_window.h" | 19 #include "chrome/browser/ui/browser_window.h" |
20 #include "chrome/common/pref_names.h" | 20 #include "chrome/common/pref_names.h" |
21 #include "chrome/test/in_process_browser_test.h" | 21 #include "chrome/test/in_process_browser_test.h" |
22 #include "chrome/test/ui_test_utils.h" | 22 #include "chrome/test/ui_test_utils.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 | 24 |
25 class AutoFillTest : public InProcessBrowserTest { | 25 class AutoFillTest : public InProcessBrowserTest { |
26 protected: | 26 protected: |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 ExpectFieldValue(L"firstname", "Milton"); | 146 ExpectFieldValue(L"firstname", "Milton"); |
147 ExpectFieldValue(L"lastname", "Waddams"); | 147 ExpectFieldValue(L"lastname", "Waddams"); |
148 ExpectFieldValue(L"address1", "4120 Freidrich Lane"); | 148 ExpectFieldValue(L"address1", "4120 Freidrich Lane"); |
149 ExpectFieldValue(L"address2", "Basement"); | 149 ExpectFieldValue(L"address2", "Basement"); |
150 ExpectFieldValue(L"city", "Austin"); | 150 ExpectFieldValue(L"city", "Austin"); |
151 ExpectFieldValue(L"state", "TX"); | 151 ExpectFieldValue(L"state", "TX"); |
152 ExpectFieldValue(L"zip", "78744"); | 152 ExpectFieldValue(L"zip", "78744"); |
153 ExpectFieldValue(L"country", "US"); | 153 ExpectFieldValue(L"country", "US"); |
154 ExpectFieldValue(L"phone", "5125551234"); | 154 ExpectFieldValue(L"phone", "5125551234"); |
155 } | 155 } |
OLD | NEW |