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/strings/utf_string_conversions.h" | 5 #include "base/strings/utf_string_conversions.h" |
6 #include "base/values.h" | 6 #include "base/values.h" |
7 #include "components/autofill/content/browser/wallet/instrument.h" | 7 #include "components/autofill/content/browser/wallet/instrument.h" |
8 #include "components/autofill/content/browser/wallet/wallet_address.h" | 8 #include "components/autofill/content/browser/wallet/wallet_address.h" |
9 #include "components/autofill/content/browser/wallet/wallet_test_util.h" | 9 #include "components/autofill/content/browser/wallet/wallet_test_util.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 | 11 |
| 12 using base::ASCIIToUTF16; |
| 13 |
12 namespace { | 14 namespace { |
13 | 15 |
14 const char kPrimaryAccountNumber[] = "4444444444444448"; | 16 const char kPrimaryAccountNumber[] = "4444444444444448"; |
15 const char kCardVerificationNumber[] = "123"; | 17 const char kCardVerificationNumber[] = "123"; |
16 const char kLastFourDigits[] = "4448"; | 18 const char kLastFourDigits[] = "4448"; |
17 | 19 |
18 } | 20 } |
19 | 21 |
20 namespace autofill { | 22 namespace autofill { |
21 namespace wallet { | 23 namespace wallet { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 12, | 59 12, |
58 2015, | 60 2015, |
59 Instrument::VISA, | 61 Instrument::VISA, |
60 GetTestShippingAddress().Pass()); | 62 GetTestShippingAddress().Pass()); |
61 | 63 |
62 EXPECT_TRUE(expected.Equals(instrument.ToDictionary().get())); | 64 EXPECT_TRUE(expected.Equals(instrument.ToDictionary().get())); |
63 } | 65 } |
64 | 66 |
65 } // namespace wallet | 67 } // namespace wallet |
66 } // namespace autofill | 68 } // namespace autofill |
OLD | NEW |