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

Side by Side Diff: trunk/src/third_party/libaddressinput/chromium/preload_address_validator_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 <cstddef> 5 #include <cstddef>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 TEST_F(PreloadAddressValidatorTest, CanonicalizeJpAdminAreaLatinName) { 603 TEST_F(PreloadAddressValidatorTest, CanonicalizeJpAdminAreaLatinName) {
604 validator_->LoadRules("JP", *loaded_); 604 validator_->LoadRules("JP", *loaded_);
605 AddressData address; 605 AddressData address;
606 address.region_code = "JP"; 606 address.region_code = "JP";
607 address.administrative_area = "tOKYo"; 607 address.administrative_area = "tOKYo";
608 EXPECT_TRUE(validator_->CanonicalizeAdministrativeArea(&address)); 608 EXPECT_TRUE(validator_->CanonicalizeAdministrativeArea(&address));
609 EXPECT_EQ("TOKYO", address.administrative_area); 609 EXPECT_EQ("TOKYO", address.administrative_area);
610 } 610 }
611 611
612 } // namespace 612 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698