Index: third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp |
index 626cfa37c9b9a1dfd656f4cfc669d4af5cfe7446..7b140a1590f138db87efe1ea0f62e0b775dd01bf 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp |
@@ -98,6 +98,9 @@ std::ostream& operator<<(std::ostream& out, DetailsTestCase testCase) { |
case PaymentTestDataCurrencyCode: |
out << "currency "; |
break; |
+ case PaymentTestDataCurrencySystem: |
+ out << "currencySystem "; |
+ break; |
case PaymentTestDataValue: |
out << "value "; |
break; |
@@ -315,27 +318,27 @@ INSTANTIATE_TEST_CASE_P( |
PaymentTestOverwriteValue, |
"USD"), |
DetailsTestCase(PaymentTestDetailTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US1"), |
DetailsTestCase(PaymentTestDetailTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US"), |
DetailsTestCase(PaymentTestDetailTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"USD0"), |
DetailsTestCase(PaymentTestDetailTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"usd"), |
DetailsTestCase(PaymentTestDetailTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"ANYSTRING"), |
DetailsTestCase(PaymentTestDetailTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
""), |
please use gerrit instead
2016/10/13 17:37:54
Please remove lines 317-340. These tests are no lo
pals
2016/10/14 14:41:21
Done.
|
@@ -344,27 +347,27 @@ INSTANTIATE_TEST_CASE_P( |
PaymentTestOverwriteValue, |
"USD"), |
DetailsTestCase(PaymentTestDetailItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US1"), |
DetailsTestCase(PaymentTestDetailItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US"), |
DetailsTestCase(PaymentTestDetailItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"USD0"), |
DetailsTestCase(PaymentTestDetailItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"usd"), |
DetailsTestCase(PaymentTestDetailItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"ANYSTRING"), |
DetailsTestCase(PaymentTestDetailItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
""), |
please use gerrit instead
2016/10/13 17:37:54
Remove lines 346-369.
pals
2016/10/14 14:41:21
Done.
|
@@ -373,27 +376,27 @@ INSTANTIATE_TEST_CASE_P( |
PaymentTestOverwriteValue, |
"USD"), |
DetailsTestCase(PaymentTestDetailShippingOption, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US1"), |
DetailsTestCase(PaymentTestDetailShippingOption, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US"), |
DetailsTestCase(PaymentTestDetailShippingOption, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"USD0"), |
DetailsTestCase(PaymentTestDetailShippingOption, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"usd"), |
DetailsTestCase(PaymentTestDetailShippingOption, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"ANYSTRING"), |
DetailsTestCase(PaymentTestDetailShippingOption, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
""), |
please use gerrit instead
2016/10/13 17:37:54
Remove lines 375-398.
pals
2016/10/14 14:41:21
Done.
|
@@ -402,27 +405,27 @@ INSTANTIATE_TEST_CASE_P( |
PaymentTestOverwriteValue, |
"USD"), |
DetailsTestCase(PaymentTestDetailModifierTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US1"), |
DetailsTestCase(PaymentTestDetailModifierTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US"), |
DetailsTestCase(PaymentTestDetailModifierTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"USD0"), |
DetailsTestCase(PaymentTestDetailModifierTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"usd"), |
DetailsTestCase(PaymentTestDetailModifierTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"ANYSTRING"), |
DetailsTestCase(PaymentTestDetailModifierTotal, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
""), |
please use gerrit instead
2016/10/13 17:37:54
Remove lines 404-427.
pals
2016/10/14 14:41:21
Done.
|
@@ -431,27 +434,27 @@ INSTANTIATE_TEST_CASE_P( |
PaymentTestOverwriteValue, |
"USD"), |
DetailsTestCase(PaymentTestDetailModifierItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US1"), |
DetailsTestCase(PaymentTestDetailModifierItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"US"), |
DetailsTestCase(PaymentTestDetailModifierItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"USD0"), |
DetailsTestCase(PaymentTestDetailModifierItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"usd"), |
DetailsTestCase(PaymentTestDetailModifierItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
"ANYSTRING"), |
DetailsTestCase(PaymentTestDetailModifierItem, |
- PaymentTestDataCurrencyCode, |
+ PaymentTestDataCurrencySystem, |
PaymentTestOverwriteValue, |
""))); |
please use gerrit instead
2016/10/13 17:37:54
Remove lines 433-456.
pals
2016/10/14 14:41:21
Done.
|