OLD | NEW |
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 "components/payments/content/payments_validators.h" | 5 #include "components/payments/content/payments_validators.h" |
6 | 6 |
7 #include <ostream> // NOLINT | 7 #include <ostream> // NOLINT |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace payments { | 10 namespace payments { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 ShippingAddressTestCase("US", "", "", true), | 271 ShippingAddressTestCase("US", "", "", true), |
272 // Invalid shipping addresses | 272 // Invalid shipping addresses |
273 ShippingAddressTestCase("", "", "", false), | 273 ShippingAddressTestCase("", "", "", false), |
274 ShippingAddressTestCase("InvalidCountryCode", "", "", false), | 274 ShippingAddressTestCase("InvalidCountryCode", "", "", false), |
275 ShippingAddressTestCase("US", "InvalidLanguageCode", "", false), | 275 ShippingAddressTestCase("US", "InvalidLanguageCode", "", false), |
276 ShippingAddressTestCase("US", "en", "InvalidScriptCode", false), | 276 ShippingAddressTestCase("US", "en", "InvalidScriptCode", false), |
277 ShippingAddressTestCase("US", "", "Latn", false))); | 277 ShippingAddressTestCase("US", "", "Latn", false))); |
278 | 278 |
279 } // namespace | 279 } // namespace |
280 } // namespace payments | 280 } // namespace payments |
OLD | NEW |