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

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

Issue 2175613003: Fix GMOCK WARNING: Uninteresting mock function call - taking default action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | 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/PaymentTestHelper.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
index fc4b5451b5bdc83043ada423a49d3c93fc27392b..0455d16b71d46c39345a9ab21ce9d9266eb0dd2a 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
@@ -157,6 +157,7 @@ PaymentRequestMockFunctionScope::~PaymentRequestMockFunctionScope()
v8::Local<v8::Function> PaymentRequestMockFunctionScope::expectCall(String* captor)
{
m_mockFunctions.append(new MockFunction(m_scriptState, captor));
+ EXPECT_CALL(*m_mockFunctions.last(), call(testing::_));
return m_mockFunctions.last()->bind();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698