Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(351)

Issue 397002: Avoid gmock warning "Uninteresting mock function call"

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by Michael Krebs
Modified:
10 years, 11 months ago
Reviewers:
Ted Mielczarek, vapier
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Avoid gmock warning "Uninteresting mock function call"

The call to MockSymbolSupplier::FreeSymbolData() was causing the following
gmock warning during unittests:
    GMOCK WARNING:
    Uninteresting mock function call - returning directly.
        Function call: FreeSymbolData(0x57600fd4)
This change fixes it by just allowing it to be called whenever.

BUG=chromium-os:20133
TEST=Ran unittests

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/processor/minidump_processor_unittest.cc View 3 chunks +7 lines, -0 lines 0 comments Download
M src/processor/stackwalker_amd64_unittest.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M src/processor/stackwalker_arm_unittest.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M src/processor/stackwalker_x86_unittest.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4
Ted Mielczarek
LGTM
11 years, 7 months ago #1
Ted Mielczarek
On 2012/09/14 12:20:11, Ted Mielczarek wrote: > LGTM Do you need me to land this ...
11 years, 7 months ago #2
vapier
On 2012/09/14 12:23:00, Ted Mielczarek wrote: > On 2012/09/14 12:20:11, Ted Mielczarek wrote: > > ...
10 years, 11 months ago #3
Ted Mielczarek
10 years, 11 months ago #4
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted