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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp
index e7038c2be1a26afeaed916efc9bc5c8956180352..984fd53a0050c84d7f876eeef58025908865ea07 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp
@@ -108,8 +108,9 @@ TEST(PaymentRequestTest, DontSelectSingleAvailableShippingOptionByDefault) {
PaymentDetails details;
details.setTotal(buildPaymentItemForTest());
details.setShippingOptions(HeapVector<PaymentShippingOption>(
- 1, buildShippingOptionForTest(PaymentTestDataId,
- PaymentTestOverwriteValue, "standard")));
+ 1,
+ buildShippingOptionForTest(PaymentTestDataId, PaymentTestOverwriteValue,
+ "standard")));
PaymentRequest* request =
PaymentRequest::create(scope.document(), buildPaymentMethodDataForTest(),
@@ -161,8 +162,9 @@ TEST(PaymentRequestTest,
PaymentDetails details;
details.setTotal(buildPaymentItemForTest());
HeapVector<PaymentShippingOption> shippingOptions(
- 1, buildShippingOptionForTest(PaymentTestDataId,
- PaymentTestOverwriteValue, "standard"));
+ 1,
+ buildShippingOptionForTest(PaymentTestDataId, PaymentTestOverwriteValue,
+ "standard"));
shippingOptions[0].setSelected(true);
details.setShippingOptions(shippingOptions);
PaymentOptions options;
@@ -469,9 +471,10 @@ TEST(PaymentRequestTest, RejectShowPromiseOnInvalidPaymentDetailsUpdate) {
request->show(scope.getScriptState())
.then(funcs.expectNoCall(), funcs.expectCall());
- request->onUpdatePaymentDetails(ScriptValue::from(
- scope.getScriptState(), fromJSONString(scope.getScriptState()->isolate(),
- "{}", scope.getExceptionState())));
+ request->onUpdatePaymentDetails(
+ ScriptValue::from(scope.getScriptState(),
+ fromJSONString(scope.getScriptState()->isolate(), "{}",
+ scope.getExceptionState())));
EXPECT_FALSE(scope.getExceptionState().hadException());
}

Powered by Google App Engine
This is Rietveld 408576698