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 19861002: Add test coverage for CrasAudioHandler. (Closed)

Created:
7 years, 5 months ago by jennyz
Modified:
7 years, 4 months ago
Reviewers:
rkc, stevenjb
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Add test coverage for CrasAudioHandler. Separate CrasAudioClientStubImpl out of cras_audio_client.cc into its own files. Remove MockCrasAudioHandler. BUG=233266 R=stevenjb@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214224

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add more test cases. #

Total comments: 10

Patch Set 3 : Fix nits. #

Total comments: 2

Patch Set 4 : Fix nit. #

Patch Set 5 : nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1457 lines, -271 lines) Patch
M chromeos/audio/audio_devices_pref_handler.h View 1 chunk +1 line, -1 line 0 comments Download
A chromeos/audio/audio_devices_pref_handler_stub.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A chromeos/audio/audio_devices_pref_handler_stub.cc View 1 2 3 4 1 chunk +54 lines, -0 lines 0 comments Download
M chromeos/audio/cras_audio_handler.h View 1 chunk +2 lines, -4 lines 0 comments Download
M chromeos/audio/cras_audio_handler.cc View 1 2 7 chunks +5 lines, -6 lines 0 comments Download
A chromeos/audio/cras_audio_handler_unittest.cc View 1 2 3 1 chunk +1114 lines, -0 lines 0 comments Download
D chromeos/audio/mock_cras_audio_handler.h View 1 chunk +0 lines, -41 lines 0 comments Download
D chromeos/audio/mock_cras_audio_handler.cc View 1 chunk +0 lines, -73 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M chromeos/dbus/audio_node.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chromeos/dbus/audio_node.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chromeos/dbus/cras_audio_client.cc View 2 chunks +1 line, -144 lines 0 comments Download
A chromeos/dbus/cras_audio_client_stub_impl.h View 1 chunk +52 lines, -0 lines 0 comments Download
A chromeos/dbus/cras_audio_client_stub_impl.cc View 1 2 1 chunk +153 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jennyz
7 years, 5 months ago (2013-07-19 21:34:34 UTC) #1
jennyz
rahul, PTAL the cl, thanks! stevenjb is out of office until Thursday.
7 years, 5 months ago (2013-07-22 22:23:00 UTC) #2
jennyz
james, both rkc@ and stevenjb@ seems not here this week, would you please review my ...
7 years, 5 months ago (2013-07-23 20:19:02 UTC) #3
rkc
Mostly looks fine - I think we can do away with having a stub preferences ...
7 years, 5 months ago (2013-07-23 20:37:42 UTC) #4
rkc
Tests look good overall. There are a few missing pieces that I noticed though but ...
7 years, 5 months ago (2013-07-23 20:50:53 UTC) #5
James Cook
Please let me know if you still need me to review.
7 years, 5 months ago (2013-07-23 23:57:01 UTC) #6
jennyz
On 2013/07/23 23:57:01, James Cook (Chromium) wrote: > Please let me know if you still ...
7 years, 5 months ago (2013-07-24 00:04:40 UTC) #7
jennyz
On 2013/07/23 20:37:42, Rahul Chaturvedi wrote: > Mostly looks fine - I think we can ...
7 years, 5 months ago (2013-07-24 21:12:14 UTC) #8
jennyz
I added more test cases to switching to Bluetooth, HDMI and USB devices, and also ...
7 years, 5 months ago (2013-07-24 21:12:25 UTC) #9
jennyz
Added more test cases. PTAL!
7 years, 5 months ago (2013-07-24 21:31:10 UTC) #10
jennyz
stevenjb@, rkc@ is sick, can you take a look at this cl? Thanks!
7 years, 5 months ago (2013-07-25 18:42:28 UTC) #11
stevenjb
About half of the base files failed to upload. I commented on the files that ...
7 years, 5 months ago (2013-07-26 17:23:30 UTC) #12
jennyz
I rebased and upload the patch with nits fixed. Can you see all the files ...
7 years, 5 months ago (2013-07-26 18:14:43 UTC) #13
stevenjb
lgtm https://codereview.chromium.org/19861002/diff/45001/chromeos/audio/cras_audio_handler_unittest.cc File chromeos/audio/cras_audio_handler_unittest.cc (right): https://codereview.chromium.org/19861002/diff/45001/chromeos/audio/cras_audio_handler_unittest.cc#newcode19 chromeos/audio/cras_audio_handler_unittest.cc:19: using chromeos::AudioNode; Not needed
7 years, 5 months ago (2013-07-26 21:03:17 UTC) #14
jennyz
https://codereview.chromium.org/19861002/diff/45001/chromeos/audio/cras_audio_handler_unittest.cc File chromeos/audio/cras_audio_handler_unittest.cc (right): https://codereview.chromium.org/19861002/diff/45001/chromeos/audio/cras_audio_handler_unittest.cc#newcode19 chromeos/audio/cras_audio_handler_unittest.cc:19: using chromeos::AudioNode; On 2013/07/26 21:03:17, stevenjb (chromium) wrote: > ...
7 years, 5 months ago (2013-07-26 21:07:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/19861002/29003
7 years, 5 months ago (2013-07-26 21:31:27 UTC) #16
jennyz
7 years, 5 months ago (2013-07-26 22:23:11 UTC) #17
commit-bot: I haz the power
Failed to trigger a try job on chromium_presubmit HTTP Error 400: Bad Request
7 years, 5 months ago (2013-07-26 23:42:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/19861002/62001
7 years, 5 months ago (2013-07-26 23:44:00 UTC) #19
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=63895
7 years, 4 months ago (2013-07-28 00:42:44 UTC) #20
jennyz
7 years, 4 months ago (2013-07-29 21:41:36 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 manually as r214224 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698