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

Issue 12803008: Add unit tests for sub-components of CaptureScheduler. (Closed)

Created:
7 years, 9 months ago by Wez
Modified:
7 years, 9 months ago
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, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Add unit tests for sub-components of CaptureScheduler. Unit tests are added for RateCounter, RunningAverage and CaptureScheduler. BUG=166275 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190172

Patch Set 1 #

Total comments: 34

Patch Set 2 : Address review comments. #

Total comments: 6

Patch Set 3 : Pick nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -62 lines) Patch
M remoting/base/rate_counter.h View 1 2 2 chunks +25 lines, -23 lines 0 comments Download
M remoting/base/rate_counter.cc View 1 2 chunks +22 lines, -9 lines 0 comments Download
A remoting/base/rate_counter_unittest.cc View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
M remoting/base/running_average.h View 1 2 1 chunk +13 lines, -23 lines 0 comments Download
M remoting/base/running_average.cc View 1 2 chunks +6 lines, -5 lines 0 comments Download
A remoting/base/running_average_unittest.cc View 1 1 chunk +56 lines, -0 lines 0 comments Download
M remoting/host/capture_scheduler.h View 1 1 chunk +6 lines, -2 lines 0 comments Download
M remoting/host/capture_scheduler.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A remoting/host/capture_scheduler_unittest.cc View 1 chunk +80 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Wez
PTAL
7 years, 9 months ago (2013-03-18 18:10:22 UTC) #1
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12803008/diff/1/remoting/base/rate_counter.cc File remoting/base/rate_counter.cc (right): https://chromiumcodereview.appspot.com/12803008/diff/1/remoting/base/rate_counter.cc#newcode7 remoting/base/rate_counter.cc:7: #include "base/logging.h" Is this header actually used? https://chromiumcodereview.appspot.com/12803008/diff/1/remoting/base/rate_counter.cc#newcode14 remoting/base/rate_counter.cc:14: ...
7 years, 9 months ago (2013-03-18 19:39:39 UTC) #2
Wez
https://chromiumcodereview.appspot.com/12803008/diff/1/remoting/base/rate_counter.cc File remoting/base/rate_counter.cc (right): https://chromiumcodereview.appspot.com/12803008/diff/1/remoting/base/rate_counter.cc#newcode7 remoting/base/rate_counter.cc:7: #include "base/logging.h" On 2013/03/18 19:39:39, alexeypa wrote: > Is ...
7 years, 9 months ago (2013-03-19 23:23:14 UTC) #3
alexeypa (please no reviews)
lgtm https://chromiumcodereview.appspot.com/12803008/diff/10001/remoting/base/rate_counter.h File remoting/base/rate_counter.h (right): https://chromiumcodereview.appspot.com/12803008/diff/10001/remoting/base/rate_counter.h#newcode12 remoting/base/rate_counter.h:12: #include "base/synchronization/lock.h" nit: lock.h is not needed any ...
7 years, 9 months ago (2013-03-19 23:36:55 UTC) #4
Wez
https://chromiumcodereview.appspot.com/12803008/diff/10001/remoting/base/rate_counter.h File remoting/base/rate_counter.h (right): https://chromiumcodereview.appspot.com/12803008/diff/10001/remoting/base/rate_counter.h#newcode12 remoting/base/rate_counter.h:12: #include "base/synchronization/lock.h" On 2013/03/19 23:36:55, alexeypa wrote: > nit: ...
7 years, 9 months ago (2013-03-20 00:17:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12803008/21001
7 years, 9 months ago (2013-03-20 00:19:18 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=124740
7 years, 9 months ago (2013-03-20 03:42:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12803008/21001
7 years, 9 months ago (2013-03-21 20:26:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12803008/21001
7 years, 9 months ago (2013-03-22 18:44:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12803008/21001
7 years, 9 months ago (2013-03-22 20:10:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12803008/21001
7 years, 9 months ago (2013-03-23 15:33:05 UTC) #11
commit-bot: I haz the power
7 years, 9 months ago (2013-03-24 03:53:41 UTC) #12
Message was sent while issue was closed.
Change committed as 190172

Powered by Google App Engine
This is Rietveld 408576698