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

Side by Side Diff: components/payments/core/currency_formatter_unittest.cc

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase Created 3 years, 9 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "components/payments/currency_formatter.h" 5 #include "components/payments/core/currency_formatter.h"
6 6
7 #include "base/optional.h"
8 #include "base/strings/string16.h"
9 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
11 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
12 10
13 namespace payments { 11 namespace payments {
14 12
15 struct TestCase { 13 struct TestCase {
16 TestCase(const char* amount, 14 TestCase(const char* amount,
17 const char* currency_code, 15 const char* currency_code,
18 const char* locale_name, 16 const char* locale_name,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "JPY", 167 "JPY",
170 "http://currsystem.com"), 168 "http://currsystem.com"),
171 TestCase("0.1234", 169 TestCase("0.1234",
172 "USD", 170 "USD",
173 "en_US", 171 "en_US",
174 "0.1234", 172 "0.1234",
175 "USD", 173 "USD",
176 "http://currsystem.com"))); 174 "http://currsystem.com")));
177 175
178 } // namespace payments 176 } // namespace payments
OLDNEW
« no previous file with comments | « components/payments/core/currency_formatter.cc ('k') | components/payments/currency_formatter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698