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

Issue 1232613004: The first 3 BluetoothTest.* unit tests now running on Mac as well. (Closed)

Created:
5 years, 5 months ago by krstnmnlsn
Modified:
5 years, 5 months ago
Reviewers:
scheib, armansito
CC:
chromium-reviews, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@movCBCM
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding class BluetoothTestMac so that the ConstructDefaultAdapter, ConstructWithoutDefaultAdapter, and ConstructFakeAdapter tests now pass on Mac as well as Android. BUG=511008 Committed: https://crrev.com/56d371034c68d9b21150b504138f2d4a2bb4a863 Cr-Commit-Position: refs/heads/master@{#339730}

Patch Set 1 : pulling in origin/master so hopefully the patch will patch.. #

Total comments: 10

Patch Set 2 : Scheib's comments #

Total comments: 2

Patch Set 3 : Scheib comment #2 #

Patch Set 4 : BluetoothTest.* does not crash on mac... #

Patch Set 5 : comment edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -47 lines) Patch
M device/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.h View 1 2 3 4 3 chunks +11 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 8 chunks +43 lines, -20 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac_unittest.mm View 1 5 chunks +6 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_unittest.cc View 4 chunks +10 lines, -8 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
A device/bluetooth/test/bluetooth_test_mac.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A device/bluetooth/test/bluetooth_test_mac.mm View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_central_manager_mac.h View 2 chunks +1 line, -2 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_central_manager_mac.mm View 2 chunks +1 line, -4 lines 0 comments Download
M device/device_tests.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (13 generated)
krstnmnlsn
Adding bluetooth_test_mac!
5 years, 5 months ago (2015-07-17 17:15:49 UTC) #7
scheib
Exciting! device/bluetooth/bluetooth_device_unittest.cc also has some tests -- they may be something to bring online in ...
5 years, 5 months ago (2015-07-17 21:26:05 UTC) #8
krstnmnlsn
donedonedone :) https://codereview.chromium.org/1232613004/diff/90001/device/bluetooth/bluetooth_adapter_mac.h File device/bluetooth/bluetooth_adapter_mac.h (right): https://codereview.chromium.org/1232613004/diff/90001/device/bluetooth/bluetooth_adapter_mac.h#newcode100 device/bluetooth/bluetooth_adapter_mac.h:100: // |low_energy_central_manager_delegate_| as its delegate. Should be ...
5 years, 5 months ago (2015-07-17 23:14:50 UTC) #9
scheib
LGTM with 1 more change: https://codereview.chromium.org/1232613004/diff/110001/device/bluetooth/test/bluetooth_test_mac.mm File device/bluetooth/test/bluetooth_test_mac.mm (right): https://codereview.chromium.org/1232613004/diff/110001/device/bluetooth/test/bluetooth_test_mac.mm#newcode19 device/bluetooth/test/bluetooth_test_mac.mm:19: adapter_mac_ = static_cast<BluetoothAdapterMac*>(adapter_.get()); Please ...
5 years, 5 months ago (2015-07-19 19:41:44 UTC) #10
krstnmnlsn
Thanks Vincent :) Hey Arman, could you please review this and the previous patch it ...
5 years, 5 months ago (2015-07-20 18:11:24 UTC) #12
armansito
lgtm
5 years, 5 months ago (2015-07-21 02:26:48 UTC) #13
commit-bot: I haz the power
This CL has an open dependency (Issue 1226133006 Patch 140001). Please resolve the dependency and ...
5 years, 5 months ago (2015-07-21 18:03:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1232613004/170001
5 years, 5 months ago (2015-07-21 19:22:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1232613004/170001
5 years, 5 months ago (2015-07-21 20:05:24 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:170001)
5 years, 5 months ago (2015-07-21 20:18:17 UTC) #23
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 20:19:31 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/56d371034c68d9b21150b504138f2d4a2bb4a863
Cr-Commit-Position: refs/heads/master@{#339730}

Powered by Google App Engine
This is Rietveld 408576698