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

Issue 10915264: [remoting_unittests] Moving the variable used to mock VideoFrameCapturer::size_most_recent() to the… (Closed)

Created:
8 years, 3 months ago by alexeypa (please no reviews)
Modified:
8 years, 3 months ago
Reviewers:
simonmorris
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, timurrrr+watch_chromium.org, pam+watch_chromium.org, alexeypa+watch_chromium.org, glider+watch_chromium.org, sergeyu+watch_chromium.org, bruening+watch_chromium.org
Visibility:
Public.

Description

[remoting_unittests] Moving the variable used to mock VideoFrameCapturer::size_most_recent() to the test class scope so it is availabe in TearDown() while running the outstanding tasks. This CL also: - removes the corresponding memcheck supression; - DCHECKs that the host has been properly deleted by ChromotingHostTest.* tests before reaching TearDown(). This should help to avoid memory leaks similar to ones that were fixed by r156494. BUG=148828, 148883 TEST=remoting_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156619

Patch Set 1 #

Total comments: 2

Patch Set 2 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -16 lines) Patch
M remoting/host/chromoting_host_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
alexeypa (please no reviews)
PTAL.
8 years, 3 months ago (2012-09-13 16:31:52 UTC) #1
simonmorris
http://codereview.chromium.org/10915264/diff/1/remoting/host/chromoting_host_unittest.cc File remoting/host/chromoting_host_unittest.cc (right): http://codereview.chromium.org/10915264/diff/1/remoting/host/chromoting_host_unittest.cc#newcode220 remoting/host/chromoting_host_unittest.cc:220: message_loop_.Run(); I'm not convinced the benefits of this exceed ...
8 years, 3 months ago (2012-09-13 16:51:40 UTC) #2
alexeypa (please no reviews)
PTAL. http://codereview.chromium.org/10915264/diff/1/remoting/host/chromoting_host_unittest.cc File remoting/host/chromoting_host_unittest.cc (right): http://codereview.chromium.org/10915264/diff/1/remoting/host/chromoting_host_unittest.cc#newcode220 remoting/host/chromoting_host_unittest.cc:220: message_loop_.Run(); On 2012/09/13 16:51:40, simonmorris wrote: > I'm ...
8 years, 3 months ago (2012-09-13 18:06:16 UTC) #3
simonmorris
8 years, 3 months ago (2012-09-13 18:10:32 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698