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

Issue 2845813004: Add unit test for AudioBus::CreateWrapper() (Closed)

Created:
3 years, 7 months ago by Chandan
Modified:
3 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unit test for AudioBus::CreateWrapper() This CL adds unit test that verifies an AudioBus created using AudioBus::CreateWrapper(). BUG=None Review-Url: https://codereview.chromium.org/2845813004 Cr-Commit-Position: refs/heads/master@{#468698} Committed: https://chromium.googlesource.com/chromium/src/+/99df95e150d6ac9b9c7e7a85a9261d609ae53b71

Patch Set 1 #

Total comments: 11

Patch Set 2 : Add unit test for AudioBus::CreateWrapper() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M media/base/audio_bus.h View 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/audio_bus_unittest.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Chandan
PTAL. Thank you.
3 years, 7 months ago (2017-04-27 13:41:26 UTC) #2
chfremer
https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc File media/base/audio_bus_unittest.cc (right): https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc#newcode194 media/base/audio_bus_unittest.cc:194: EXPECT_EQ(bus->channel(i), data_[i]); Would it make sense to add VerifyReadWriteAndAlignment(bus.get()); ...
3 years, 7 months ago (2017-04-27 16:55:14 UTC) #3
Chandan
https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc File media/base/audio_bus_unittest.cc (right): https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc#newcode194 media/base/audio_bus_unittest.cc:194: EXPECT_EQ(bus->channel(i), data_[i]); On 2017/04/27 16:55:14, chfremer wrote: > Would ...
3 years, 7 months ago (2017-04-27 18:43:07 UTC) #4
chfremer
https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc File media/base/audio_bus_unittest.cc (right): https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc#newcode194 media/base/audio_bus_unittest.cc:194: EXPECT_EQ(bus->channel(i), data_[i]); On 2017/04/27 18:43:07, Chandan wrote: > On ...
3 years, 7 months ago (2017-04-27 20:19:36 UTC) #5
Chandan
https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc File media/base/audio_bus_unittest.cc (right): https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc#newcode194 media/base/audio_bus_unittest.cc:194: EXPECT_EQ(bus->channel(i), data_[i]); On 2017/04/27 20:19:36, chfremer wrote: > On ...
3 years, 7 months ago (2017-04-28 06:07:29 UTC) #6
chfremer
https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc File media/base/audio_bus_unittest.cc (right): https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc#newcode194 media/base/audio_bus_unittest.cc:194: EXPECT_EQ(bus->channel(i), data_[i]); On 2017/04/28 06:07:29, Chandan wrote: > On ...
3 years, 7 months ago (2017-04-28 16:39:48 UTC) #7
Chandan
Please review. https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc File media/base/audio_bus_unittest.cc (right): https://codereview.chromium.org/2845813004/diff/1/media/base/audio_bus_unittest.cc#newcode201 media/base/audio_bus_unittest.cc:201: EXPECT_EQ(kFrameCount, bus->frames()); On 2017/04/28 16:39:48, chfremer wrote: ...
3 years, 7 months ago (2017-05-02 09:27:06 UTC) #10
chfremer
lgtm
3 years, 7 months ago (2017-05-02 16:47:39 UTC) #15
DaleCurtis
lgtm
3 years, 7 months ago (2017-05-02 17:10:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2845813004/20001
3 years, 7 months ago (2017-05-02 17:26:11 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 17:32:35 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/99df95e150d6ac9b9c7e7a85a926...

Powered by Google App Engine
This is Rietveld 408576698