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

Side by Side Diff: trunk/src/chrome/browser/ui/autofill/autofill_dialog_i18n_input_unittest.cc

Issue 387123004: Revert 282726 "Reland "Use upstream libaddressinput in Chrome."" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/ui/autofill/autofill_dialog_i18n_input.h" 5 #include "chrome/browser/ui/autofill/autofill_dialog_i18n_input.h"
6 6
7 #include "components/autofill/core/browser/field_types.h" 7 #include "components/autofill/core/browser/field_types.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui .h" 9 #include "third_party/libaddressinput/chromium/cpp/include/libaddressinput/addre ss_ui.h"
10 10
11 namespace autofill { 11 namespace autofill {
12 namespace i18ninput { 12 namespace i18ninput {
13 13
14 namespace { 14 namespace {
15 15
16 const size_t kNumberOfAddressLinesUS = 6; 16 const size_t kNumberOfAddressLinesUS = 6;
17 17
18 } // namespace 18 } // namespace
19 19
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 BuildAddressInputs(common::ADDRESS_TYPE_SHIPPING, "CI", &inputs, 69 BuildAddressInputs(common::ADDRESS_TYPE_SHIPPING, "CI", &inputs,
70 &language_code); 70 &language_code);
71 for (size_t i = 0; i < inputs.size(); ++i) { 71 for (size_t i = 0; i < inputs.size(); ++i) {
72 EXPECT_NE(ADDRESS_HOME_LINE2, inputs[i].type); 72 EXPECT_NE(ADDRESS_HOME_LINE2, inputs[i].type);
73 } 73 }
74 EXPECT_EQ("fr", language_code); 74 EXPECT_EQ("fr", language_code);
75 } 75 }
76 76
77 } // namespace i18ninput 77 } // namespace i18ninput
78 } // namespace autofill 78 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698