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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
7 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
8 #include "wtf/text/WTFString.h" 9 #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, const char* system, bool expectedValid) 15 CurrencyCodeTestCase(const char* code, const char* system, bool expectedValid)
16 : code(code), system(system), expectedValid(expectedValid) {} 16 : code(code), system(system), expectedValid(expectedValid) {}
17 ~CurrencyCodeTestCase() {} 17 ~CurrencyCodeTestCase() {}
18 18
19 const char* code; 19 const char* code;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 ShippingAddressTestCase("US", "", "", true), 268 ShippingAddressTestCase("US", "", "", true),
269 // Invalid shipping addresses 269 // Invalid shipping addresses
270 ShippingAddressTestCase("", "", "", false), 270 ShippingAddressTestCase("", "", "", false),
271 ShippingAddressTestCase("InvalidCountryCode", "", "", false), 271 ShippingAddressTestCase("InvalidCountryCode", "", "", false),
272 ShippingAddressTestCase("US", "InvalidLanguageCode", "", false), 272 ShippingAddressTestCase("US", "InvalidLanguageCode", "", false),
273 ShippingAddressTestCase("US", "en", "InvalidScriptCode", false), 273 ShippingAddressTestCase("US", "en", "InvalidScriptCode", false),
274 ShippingAddressTestCase("US", "", "Latn", false))); 274 ShippingAddressTestCase("US", "", "Latn", false)));
275 275
276 } // namespace 276 } // namespace
277 } // namespace blink 277 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698