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

Side by Side Diff: components/autofill/content/browser/wallet/wallet_address_unittest.cc

Issue 65953002: [Autofill] Rename autofill_common_test -> autofill_test_utils (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 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/json/json_reader.h" 5 #include "base/json/json_reader.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "components/autofill/content/browser/wallet/wallet_address.h" 10 #include "components/autofill/content/browser/wallet/wallet_address.h"
11 #include "components/autofill/core/browser/autofill_common_test.h"
12 #include "components/autofill/core/browser/autofill_profile.h" 11 #include "components/autofill/core/browser/autofill_profile.h"
12 #include "components/autofill/core/browser/autofill_test_utils.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace { 15 namespace {
16 16
17 const char kAddressMissingObjectId[] = 17 const char kAddressMissingObjectId[] =
18 "{" 18 "{"
19 " \"phone_number\":\"phone_number\"," 19 " \"phone_number\":\"phone_number\","
20 " \"postal_address\":" 20 " \"postal_address\":"
21 " {" 21 " {"
22 " \"recipient_name\":\"recipient_name\"," 22 " \"recipient_name\":\"recipient_name\","
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 ASCIIToUTF16("locality_name"), 469 ASCIIToUTF16("locality_name"),
470 ASCIIToUTF16("administrative_area_name"), 470 ASCIIToUTF16("administrative_area_name"),
471 ASCIIToUTF16("postal_code_number"), 471 ASCIIToUTF16("postal_code_number"),
472 ASCIIToUTF16("phone_number"), 472 ASCIIToUTF16("phone_number"),
473 "id1"); 473 "id1");
474 EXPECT_EQ(base::string16(), address3.GetInfo(type, "en-US")); 474 EXPECT_EQ(base::string16(), address3.GetInfo(type, "en-US"));
475 } 475 }
476 476
477 } // namespace wallet 477 } // namespace wallet
478 } // namespace autofill 478 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/browser/autofill_driver_impl_unittest.cc ('k') | components/autofill/core/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698