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

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

Issue 2192413002: Timeout if website never completes the transaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Marijn's comments Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentResponse.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
index a683458a27bf5385b82e161d780763bacddc7eaf..327e4a650b22beff2708c91c5c56c7bca24691b4 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp
@@ -91,7 +91,7 @@ TEST(PaymentResponseTest, CompleteCalledWithSuccess)
MockPaymentCompleter* completeCallback = new MockPaymentCompleter;
PaymentResponse output(std::move(input), completeCallback);
- EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), Success));
+ EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), PaymentCompleter::Success));
output.complete(scope.getScriptState(), "success");
}
@@ -105,7 +105,7 @@ TEST(PaymentResponseTest, CompleteCalledWithFailure)
MockPaymentCompleter* completeCallback = new MockPaymentCompleter;
PaymentResponse output(std::move(input), completeCallback);
- EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), Fail));
+ EXPECT_CALL(*completeCallback, complete(scope.getScriptState(), PaymentCompleter::Fail));
output.complete(scope.getScriptState(), "fail");
}
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698