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/json/json_reader.h" | 5 #include "base/json/json_reader.h" |
6 #include "base/logging.h" | |
7 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
8 #include "base/strings/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
10 #include "base/values.h" | 9 #include "base/values.h" |
11 #include "components/autofill/content/browser/wallet/full_wallet.h" | 10 #include "components/autofill/content/browser/wallet/full_wallet.h" |
12 #include "components/autofill/content/browser/wallet/required_action.h" | 11 #include "components/autofill/content/browser/wallet/required_action.h" |
13 #include "components/autofill/content/browser/wallet/wallet_test_util.h" | 12 #include "components/autofill/content/browser/wallet/wallet_test_util.h" |
14 #include "components/autofill/core/browser/autofill_type.h" | 13 #include "components/autofill/core/browser/autofill_type.h" |
15 #include "components/autofill/core/browser/field_types.h" | 14 #include "components/autofill/core/browser/field_types.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 full_wallet->GetInfo( | 542 full_wallet->GetInfo( |
544 "", AutofillType(CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR))); | 543 "", AutofillType(CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR))); |
545 EXPECT_TRUE(GetTestAddress()->EqualsIgnoreID( | 544 EXPECT_TRUE(GetTestAddress()->EqualsIgnoreID( |
546 *full_wallet->billing_address())); | 545 *full_wallet->billing_address())); |
547 EXPECT_TRUE(GetTestShippingAddress()->EqualsIgnoreID( | 546 EXPECT_TRUE(GetTestShippingAddress()->EqualsIgnoreID( |
548 *full_wallet->shipping_address())); | 547 *full_wallet->shipping_address())); |
549 } | 548 } |
550 | 549 |
551 } // namespace wallet | 550 } // namespace wallet |
552 } // namespace autofill | 551 } // namespace autofill |
OLD | NEW |