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

Issue 2275173002: Add unit test for BluetoothChooserController (Closed)

Created:
4 years, 4 months ago by juncai
Modified:
4 years, 3 months ago
Reviewers:
Jeffrey Yasskin
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unit test for BluetoothChooserController With more functionalities added to BluetoothChooserController, it is necessary to add unit test to it. BUG=639163 Committed: https://crrev.com/5613eb86a97282c8dbb3390433dbdf2253afb56a Cr-Commit-Position: refs/heads/master@{#416408}

Patch Set 1 : added unit test for BluetoothChooserController #

Total comments: 28

Patch Set 2 : address comments #

Patch Set 3 : added comment #

Total comments: 8

Patch Set 4 : address more comments #

Total comments: 2

Patch Set 5 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -1 line) Patch
M chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc View 1 2 3 4 1 chunk +341 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
juncai
Please take a look.
4 years, 4 months ago (2016-08-25 00:42:57 UTC) #6
Jeffrey Yasskin
https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode237 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:237: size_t index = device_it - devices_.begin(); Why did this ...
4 years, 3 months ago (2016-08-26 21:46:12 UTC) #9
juncai
https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode237 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:237: size_t index = device_it - devices_.begin(); On 2016/08/26 21:46:12, ...
4 years, 3 months ago (2016-08-27 00:21:30 UTC) #14
Jeffrey Yasskin
https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode237 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:237: size_t index = device_it - devices_.begin(); On 2016/08/27 00:21:30, ...
4 years, 3 months ago (2016-08-27 00:35:46 UTC) #15
juncai
https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode237 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:237: size_t index = device_it - devices_.begin(); On 2016/08/27 00:35:45, ...
4 years, 3 months ago (2016-08-27 02:15:56 UTC) #19
juncai
ping, :).
4 years, 3 months ago (2016-09-01 23:03:12 UTC) #23
Jeffrey Yasskin
LGTM, thanks! https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc (right): https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc#newcode303 chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc:303: bluetooth_chooser_controller_->RefreshOptions(); On 2016/08/27 02:15:56, juncai wrote: > ...
4 years, 3 months ago (2016-09-02 20:40:58 UTC) #24
juncai
https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc (right): https://codereview.chromium.org/2275173002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc#newcode303 chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc:303: bluetooth_chooser_controller_->RefreshOptions(); On 2016/09/02 20:40:58, Jeffrey Yasskin wrote: > On ...
4 years, 3 months ago (2016-09-02 22:41:45 UTC) #27
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/2275173002/80001
4 years, 3 months ago (2016-09-03 00:22:55 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-03 00:29:07 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-09-03 00:30:54 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5613eb86a97282c8dbb3390433dbdf2253afb56a
Cr-Commit-Position: refs/heads/master@{#416408}

Powered by Google App Engine
This is Rietveld 408576698