OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/format_macros.h" | 6 #include "base/format_macros.h" |
7 #include "base/guid.h" | 7 #include "base/guid.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "components/autofill/core/browser/autofill_profile.h" | 14 #include "components/autofill/core/browser/autofill_profile.h" |
15 #include "components/autofill/core/browser/autofill_test_utils.h" | 15 #include "components/autofill/core/browser/autofill_test_utils.h" |
16 #include "components/autofill/core/browser/autofill_type.h" | 16 #include "components/autofill/core/browser/autofill_type.h" |
17 #include "components/autofill/core/browser/field_types.h" | 17 #include "components/autofill/core/browser/field_types.h" |
18 #include "components/autofill/core/common/form_field_data.h" | 18 #include "components/autofill/core/common/form_field_data.h" |
19 #include "grit/components_strings.h" | |
20 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
21 | 20 |
22 using base::ASCIIToUTF16; | 21 using base::ASCIIToUTF16; |
23 using base::UTF8ToUTF16; | 22 using base::UTF8ToUTF16; |
24 | 23 |
25 namespace autofill { | 24 namespace autofill { |
26 | 25 |
27 namespace { | 26 namespace { |
28 | 27 |
29 base::string16 GetLabel(AutofillProfile* profile) { | 28 base::string16 GetLabel(AutofillProfile* profile) { |
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 | 1374 |
1376 for (size_t i = 0; i < current_case.expected_result.size(); ++i) { | 1375 for (size_t i = 0; i < current_case.expected_result.size(); ++i) { |
1377 EXPECT_EQ(first_names[i], merged_first_names[i]); | 1376 EXPECT_EQ(first_names[i], merged_first_names[i]); |
1378 EXPECT_EQ(middle_names[i], merged_middle_names[i]); | 1377 EXPECT_EQ(middle_names[i], merged_middle_names[i]); |
1379 EXPECT_EQ(last_names[i], merged_last_names[i]); | 1378 EXPECT_EQ(last_names[i], merged_last_names[i]); |
1380 } | 1379 } |
1381 } | 1380 } |
1382 } | 1381 } |
1383 | 1382 |
1384 } // namespace autofill | 1383 } // namespace autofill |
OLD | NEW |