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

Issue 289083002: Cast: Add tests for clocks being slow/fast (Closed)

Created:
6 years, 7 months ago by hubbe
Modified:
6 years, 7 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cast: Add tests for clocks being slow/fast Fix the clock framework in end2end test to allow properly different clocks for sender and receiver. Make the fake video codec behave more like our other codecs. (Instead of acting like 3-buffer mode) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271475

Patch Set 1 #

Patch Set 2 : added missing files #

Total comments: 12

Patch Set 3 : comment added #

Patch Set 4 : Comments addressed #

Total comments: 2

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -61 lines) Patch
M media/cast/cast_testing.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 3 12 chunks +136 lines, -36 lines 0 comments Download
M media/cast/test/fake_single_thread_task_runner.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M media/cast/test/fake_single_thread_task_runner.cc View 1 2 3 4 chunks +38 lines, -2 lines 0 comments Download
A + media/cast/test/skewed_single_thread_task_runner.h View 1 2 3 3 chunks +16 lines, -12 lines 0 comments Download
A media/cast/test/skewed_single_thread_task_runner.cc View 1 1 chunk +53 lines, -0 lines 0 comments Download
A media/cast/test/skewed_tick_clock.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A media/cast/test/skewed_tick_clock.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M media/cast/test/utility/udp_proxy.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M media/cast/test/utility/udp_proxy.cc View 1 2 3 4 7 chunks +17 lines, -9 lines 0 comments Download
M media/cast/video_sender/fake_software_video_encoder.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
hubbe
6 years, 7 months ago (2014-05-15 21:17:27 UTC) #1
Alpha Left Google
https://codereview.chromium.org/289083002/diff/20001/media/cast/test/end2end_unittest.cc File media/cast/test/end2end_unittest.cc (right): https://codereview.chromium.org/289083002/diff/20001/media/cast/test/end2end_unittest.cc#newcode1322 media/cast/test/end2end_unittest.cc:1322: TEST_F(End2EndTest, WonkyClock2) { How is this different from the ...
6 years, 7 months ago (2014-05-15 22:21:23 UTC) #2
hubbe
https://codereview.chromium.org/289083002/diff/20001/media/cast/test/end2end_unittest.cc File media/cast/test/end2end_unittest.cc (right): https://codereview.chromium.org/289083002/diff/20001/media/cast/test/end2end_unittest.cc#newcode1322 media/cast/test/end2end_unittest.cc:1322: TEST_F(End2EndTest, WonkyClock2) { On 2014/05/15 22:21:24, Alpha wrote: > ...
6 years, 7 months ago (2014-05-16 04:31:09 UTC) #3
Alpha Left Google
Looking good. Have one more question. https://codereview.chromium.org/289083002/diff/60001/media/cast/test/fake_single_thread_task_runner.cc File media/cast/test/fake_single_thread_task_runner.cc (right): https://codereview.chromium.org/289083002/diff/60001/media/cast/test/fake_single_thread_task_runner.cc#newcode68 media/cast/test/fake_single_thread_task_runner.cc:68: for (int i ...
6 years, 7 months ago (2014-05-16 18:20:51 UTC) #4
hubbe
https://codereview.chromium.org/289083002/diff/60001/media/cast/test/fake_single_thread_task_runner.cc File media/cast/test/fake_single_thread_task_runner.cc (right): https://codereview.chromium.org/289083002/diff/60001/media/cast/test/fake_single_thread_task_runner.cc#newcode68 media/cast/test/fake_single_thread_task_runner.cc:68: for (int i = 0; i < 100000; i++) ...
6 years, 7 months ago (2014-05-16 18:24:55 UTC) #5
Alpha Left Google
Okay. LGTM.
6 years, 7 months ago (2014-05-16 18:25:38 UTC) #6
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 7 months ago (2014-05-16 18:26:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/289083002/60001
6 years, 7 months ago (2014-05-16 18:27:37 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-17 09:34:25 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-17 09:38:14 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/68281) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/28136) linux_chromium_clang_dbg ...
6 years, 7 months ago (2014-05-17 09:38:14 UTC) #11
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-18 23:55:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/289083002/60001
6 years, 7 months ago (2014-05-18 23:55:40 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 00:39:46 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-19 00:42:13 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/28266)
6 years, 7 months ago (2014-05-19 00:42:14 UTC) #16
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 7 months ago (2014-05-19 17:19:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/289083002/80001
6 years, 7 months ago (2014-05-19 17:21:42 UTC) #18
commit-bot: I haz the power
6 years, 7 months ago (2014-05-19 20:49:46 UTC) #19
Message was sent while issue was closed.
Change committed as 271475

Powered by Google App Engine
This is Rietveld 408576698