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

Issue 1246913006: Bringing 4 more BluetoothTest.* unit tests to Mac (Closed)

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

Description

Modified BluetoothTestMac to support device discovery tests. Also implemented utility function FindCBUUIDForHashTarget() to find relatively simple CBUUIDs mapping (under SHA256 plus truncating) to a 6 byte address with the first 3 bytes specified. Used to choose CBUUID / bluetooth address pairs for testing. BUG=511008 Committed: https://crrev.com/5a0eceb28201302bcb45621015119bd73351d659 Cr-Commit-Position: refs/heads/master@{#341400} Committed: https://crrev.com/41c13ac0fcc9dbd8077a109df59b12eb6a8e27f8 Cr-Commit-Position: refs/heads/master@{#341433}

Patch Set 1 : #

Total comments: 19

Patch Set 2 : Scheib comments #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : comment + commenting out #

Patch Set 6 : removing dependency on crypto #

Patch Set 7 : CBUUID dyanamically used now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -44 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_unittest.cc View 1 7 chunks +42 lines, -19 lines 0 comments Download
M device/bluetooth/bluetooth_device_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 2 chunks +21 lines, -13 lines 0 comments Download
M device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java View 1 3 chunks +4 lines, -4 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 2 3 2 chunks +23 lines, -5 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_android.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_android.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.mm View 1 2 3 4 5 6 2 chunks +161 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 38 (14 generated)
krstnmnlsn
Ok here's the patch at last! https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_adapter_unittest.cc File device/bluetooth/bluetooth_adapter_unittest.cc (left): https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_adapter_unittest.cc#oldcode514 device/bluetooth/bluetooth_adapter_unittest.cc:514: EXPECT_EQ(0, observer.device_changed_count()); As ...
5 years, 5 months ago (2015-07-22 23:23:17 UTC) #4
scheib
https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_adapter_unittest.cc File device/bluetooth/bluetooth_adapter_unittest.cc (left): https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_adapter_unittest.cc#oldcode514 device/bluetooth/bluetooth_adapter_unittest.cc:514: EXPECT_EQ(0, observer.device_changed_count()); On 2015/07/22 23:23:17, krstnmnlsn wrote: > As ...
5 years, 5 months ago (2015-07-23 18:15:25 UTC) #5
krstnmnlsn
Java functional, comments addressed! https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_adapter_unittest.cc File device/bluetooth/bluetooth_adapter_unittest.cc (left): https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_adapter_unittest.cc#oldcode514 device/bluetooth/bluetooth_adapter_unittest.cc:514: EXPECT_EQ(0, observer.device_changed_count()); On 2015/07/23 18:15:25, ...
5 years, 5 months ago (2015-07-23 22:03:29 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1246913006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1246913006/60001
5 years, 5 months ago (2015-07-23 22:06:44 UTC) #8
scheib
LGTM https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.h File device/bluetooth/bluetooth_low_energy_device_mac.h (right): https://codereview.chromium.org/1246913006/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.h#newcode122 device/bluetooth/bluetooth_low_energy_device_mac.h:122: UUIDList uuids_; On 2015/07/23 22:03:29, krstnmnlsn wrote: > ...
5 years, 5 months ago (2015-07-23 22:15:39 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/81582)
5 years, 5 months ago (2015-07-23 22:18:11 UTC) #11
krstnmnlsn
Arman: Continuing to bring up Vincent's bluetooth testing on mac. Please review when you get ...
5 years, 4 months ago (2015-07-24 20:17:51 UTC) #13
armansito
lgtm
5 years, 4 months ago (2015-07-28 00:55:57 UTC) #14
krstnmnlsn
Hey David, check this over if you get a chance (waiting to hear back from ...
5 years, 4 months ago (2015-07-28 17:48:34 UTC) #17
davidben
On 2015/07/28 17:48:34, krstnmnlsn wrote: > Hey David, check this over if you get a ...
5 years, 4 months ago (2015-07-28 18:03:15 UTC) #18
scheib
On 2015/07/28 18:03:15, David Benjamin wrote: > On 2015/07/28 17:48:34, krstnmnlsn wrote: > > Hey ...
5 years, 4 months ago (2015-07-28 18:23:14 UTC) #19
krstnmnlsn
On 2015/07/28 18:03:15, David Benjamin wrote: > On 2015/07/28 17:48:34, krstnmnlsn wrote: > > Hey ...
5 years, 4 months ago (2015-07-28 18:31:38 UTC) #20
davidben
On 2015/07/28 18:31:38, krstnmnlsn wrote: > On 2015/07/28 18:03:15, David Benjamin wrote: > > On ...
5 years, 4 months ago (2015-07-30 23:13:25 UTC) #21
krstnmnlsn
On 2015/07/30 23:13:25, David Benjamin wrote: > On 2015/07/28 18:31:38, krstnmnlsn wrote: > > On ...
5 years, 4 months ago (2015-07-31 00:21:00 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1246913006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1246913006/160001
5 years, 4 months ago (2015-07-31 19:23:36 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-31 20:00:35 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1246913006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1246913006/160001
5 years, 4 months ago (2015-07-31 20:09:37 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 4 months ago (2015-07-31 20:15:21 UTC) #30
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/5a0eceb28201302bcb45621015119bd73351d659 Cr-Commit-Position: refs/heads/master@{#341400}
5 years, 4 months ago (2015-07-31 20:15:48 UTC) #31
dmurph
A revert of this CL (patchset #6 id:160001) has been created in https://codereview.chromium.org/1265023004/ by dmurph@chromium.org. ...
5 years, 4 months ago (2015-07-31 21:05:46 UTC) #32
Avi (use Gerrit)
On 2015/07/31 21:05:46, dmurph wrote: > A revert of this CL (patchset #6 id:160001) has ...
5 years, 4 months ago (2015-07-31 21:32:35 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1246913006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1246913006/180001
5 years, 4 months ago (2015-07-31 21:55:16 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:180001)
5 years, 4 months ago (2015-07-31 23:11:23 UTC) #37
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 23:12:01 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/41c13ac0fcc9dbd8077a109df59b12eb6a8e27f8
Cr-Commit-Position: refs/heads/master@{#341433}

Powered by Google App Engine
This is Rietveld 408576698