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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "modules/payments/PaymentsValidators.h" 5 #include "modules/payments/PaymentsValidators.h"
6 6
7 #include <ostream> // NOLINT
8 #include "platform/wtf/text/WTFString.h"
7 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
8 #include "wtf/text/WTFString.h"
9 #include <ostream> // NOLINT
10 10
11 namespace blink { 11 namespace blink {
12 namespace { 12 namespace {
13 13
14 struct CurrencyCodeTestCase { 14 struct CurrencyCodeTestCase {
15 CurrencyCodeTestCase(const char* code, 15 CurrencyCodeTestCase(const char* code,
16 const char* system, 16 const char* system,
17 bool expected_valid) 17 bool expected_valid)
18 : code(code), system(system), expected_valid(expected_valid) {} 18 : code(code), system(system), expected_valid(expected_valid) {}
19 ~CurrencyCodeTestCase() {} 19 ~CurrencyCodeTestCase() {}
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 ShippingAddressTestCase("US", "", "", true), 276 ShippingAddressTestCase("US", "", "", true),
277 // Invalid shipping addresses 277 // Invalid shipping addresses
278 ShippingAddressTestCase("", "", "", false), 278 ShippingAddressTestCase("", "", "", false),
279 ShippingAddressTestCase("InvalidCountryCode", "", "", false), 279 ShippingAddressTestCase("InvalidCountryCode", "", "", false),
280 ShippingAddressTestCase("US", "InvalidLanguageCode", "", false), 280 ShippingAddressTestCase("US", "InvalidLanguageCode", "", false),
281 ShippingAddressTestCase("US", "en", "InvalidScriptCode", false), 281 ShippingAddressTestCase("US", "en", "InvalidScriptCode", false),
282 ShippingAddressTestCase("US", "", "Latn", false))); 282 ShippingAddressTestCase("US", "", "Latn", false)));
283 283
284 } // namespace 284 } // namespace
285 } // namespace blink 285 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698