Commit da2fecc7 authored by sanjoy.pal's avatar sanjoy.pal Committed by Commit bot

Fix GMOCK WARNING: Uninteresting mock function call - taking default action.

BUG=587995

Review-Url: https://codereview.chromium.org/2175613003
Cr-Commit-Position: refs/heads/master@{#407193}
parent b4f98dd6
...@@ -157,6 +157,7 @@ PaymentRequestMockFunctionScope::~PaymentRequestMockFunctionScope() ...@@ -157,6 +157,7 @@ PaymentRequestMockFunctionScope::~PaymentRequestMockFunctionScope()
v8::Local<v8::Function> PaymentRequestMockFunctionScope::expectCall(String* captor) v8::Local<v8::Function> PaymentRequestMockFunctionScope::expectCall(String* captor)
{ {
m_mockFunctions.append(new MockFunction(m_scriptState, captor)); m_mockFunctions.append(new MockFunction(m_scriptState, captor));
EXPECT_CALL(*m_mockFunctions.last(), call(testing::_));
return m_mockFunctions.last()->bind(); return m_mockFunctions.last()->bind();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment