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

Issue 8528026: Adds more unit tests for WebRTC. (Closed)

Created:
9 years, 1 month ago by henrika (OOO until Aug 14)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, Paweł Hajdan Jr., acolwell+watch_chromium.org, annacc+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Adds more unit tests for WebRTC. These tests verifies that rendering and capturing starts as they should. It is also possible to enable a full-duplex audio test. BUG=none TEST=content_unittests with --gtest_filter=*WebRTC* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110289

Patch Set 1 #

Total comments: 19

Patch Set 2 : Removed webrtc_audio_device_impl.cc from CL since it should not be here #

Patch Set 3 : Fix nit in webrtc_audio_device_test.h as well #

Patch Set 4 : Changes after review by Tommi #

Total comments: 2

Patch Set 5 : Nits after review by Tommi #

Total comments: 2

Patch Set 6 : fixed nits and rebased #

Patch Set 7 : Removed DISABLED_ for some tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -7 lines) Patch
M content/renderer/media/webrtc_audio_device_impl.h View 1 2 3 4 5 3 chunks +13 lines, -4 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_unittest.cc View 1 2 3 4 5 6 5 chunks +234 lines, -1 line 0 comments Download
M content/test/webrtc_audio_device_test.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tommi (sloooow) - chröme
http://codereview.chromium.org/8528026/diff/1/content/renderer/media/webrtc_audio_device_impl.cc File content/renderer/media/webrtc_audio_device_impl.cc (right): http://codereview.chromium.org/8528026/diff/1/content/renderer/media/webrtc_audio_device_impl.cc#newcode364 content/renderer/media/webrtc_audio_device_impl.cc:364: // Mac OS X align comment to code and ...
9 years, 1 month ago (2011-11-14 17:25:35 UTC) #1
henrika (OOO until Aug 14)
Modified. Please advise regarding usage of DISABLED_. Is it OK to force all users who ...
9 years, 1 month ago (2011-11-15 09:27:39 UTC) #2
tommi (sloooow) - chröme
LGTM. Yes, I think we should have the test enabled for those that run them ...
9 years, 1 month ago (2011-11-15 10:57:48 UTC) #3
henrika (OOO until Aug 14)
http://codereview.chromium.org/8528026/diff/2008/content/renderer/media/webrtc_audio_device_unittest.cc File content/renderer/media/webrtc_audio_device_unittest.cc (right): http://codereview.chromium.org/8528026/diff/2008/content/renderer/media/webrtc_audio_device_unittest.cc#newcode54 content/renderer/media/webrtc_audio_device_unittest.cc:54: {} On 2011/11/15 10:57:49, tommi wrote: > { should ...
9 years, 1 month ago (2011-11-15 12:04:33 UTC) #4
henrika (OOO until Aug 14)
John, it would be great if you had time to take a look at this ...
9 years, 1 month ago (2011-11-15 12:15:23 UTC) #5
jam
lgtm
9 years, 1 month ago (2011-11-15 21:43:51 UTC) #6
scherkus (not reviewing)
drive by nit but LGTM++ nice tests! http://codereview.chromium.org/8528026/diff/9001/content/renderer/media/webrtc_audio_device_unittest.cc File content/renderer/media/webrtc_audio_device_unittest.cc (right): http://codereview.chromium.org/8528026/diff/9001/content/renderer/media/webrtc_audio_device_unittest.cc#newcode48 content/renderer/media/webrtc_audio_device_unittest.cc:48: : event_(event), ...
9 years, 1 month ago (2011-11-16 01:23:13 UTC) #7
henrika (OOO until Aug 14)
9 years, 1 month ago (2011-11-16 11:25:34 UTC) #8
Thanks all!

http://codereview.chromium.org/8528026/diff/9001/content/renderer/media/webrt...
File content/renderer/media/webrtc_audio_device_unittest.cc (right):

http://codereview.chromium.org/8528026/diff/9001/content/renderer/media/webrt...
content/renderer/media/webrtc_audio_device_unittest.cc:48: : event_(event),
On 2011/11/16 01:23:13, scherkus wrote:
> indent by two more spaces

Done.

Powered by Google App Engine
This is Rietveld 408576698