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

Issue 2695573002: Adding BluetoothTestBase::CheckNotifySessionValue() method (Closed)

Created:
3 years, 10 months ago by jlebel
Modified:
3 years, 10 months ago
Reviewers:
ortuno
CC:
chromium-reviews, mac-reviews_chromium.org, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding BluetoothTestBase::CheckNotifySessionValue() method The default implementation uses the descriptors. This method is overriden by BluetoothTestMac, to check |gatt_notify_characteristic_attempts_| and |last_notify_value| instance variables. BUG= Review-Url: https://codereview.chromium.org/2695573002 Cr-Commit-Position: refs/heads/master@{#452665} Committed: https://chromium.googlesource.com/chromium/src/+/1c547d7f20b926af6a2c63d748973715f5c1b22f

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fixing tests #

Total comments: 7

Patch Set 4 : Cleanup #

Total comments: 2

Patch Set 5 : Fixing tests #

Total comments: 9

Patch Set 6 : Fixing Android unit test #

Patch Set 7 : Fixing Android #

Patch Set 8 : Should work #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -206 lines) Patch
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 3 4 5 6 7 37 chunks +75 lines, -203 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 2 3 4 5 3 chunks +16 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.h View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.mm View 1 2 3 4 5 3 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 48 (34 generated)
jlebel
Hello Giovanni, I'm trying to simplify the unit tests related to the notification. Let me ...
3 years, 10 months ago (2017-02-13 00:50:18 UTC) #2
ortuno
https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc File device/bluetooth/test/bluetooth_test.cc (right): https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc#newcode95 device/bluetooth/test/bluetooth_test.cc:95: void BluetoothTestBase::CheckNotifySessionValue( Great idea! Two suggestiongs: 1. What do ...
3 years, 10 months ago (2017-02-20 07:28:02 UTC) #11
ortuno
https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc File device/bluetooth/test/bluetooth_test.cc (right): https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc#newcode95 device/bluetooth/test/bluetooth_test.cc:95: void BluetoothTestBase::CheckNotifySessionValue( On 2017/02/20 at 07:28:02, ortuno wrote: > ...
3 years, 10 months ago (2017-02-20 07:32:50 UTC) #12
jlebel
It looks better now. https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc File device/bluetooth/test/bluetooth_test.cc (right): https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc#newcode95 device/bluetooth/test/bluetooth_test.cc:95: void BluetoothTestBase::CheckNotifySessionValue( On 2017/02/20 07:28:02, ...
3 years, 10 months ago (2017-02-21 21:46:30 UTC) #15
ortuno
https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc File device/bluetooth/test/bluetooth_test.cc (right): https://codereview.chromium.org/2695573002/diff/40001/device/bluetooth/test/bluetooth_test.cc#newcode98 device/bluetooth/test/bluetooth_test.cc:98: EXPECT_EQ(attempts, gatt_write_descriptor_attempts_); On 2017/02/21 at 21:46:30, jlebel wrote: > ...
3 years, 10 months ago (2017-02-22 03:26:22 UTC) #18
jlebel
I tried to update the unit tests, but I'm not sure why StartNotifySession_WriteDescriptorSynchronousError fails on ...
3 years, 10 months ago (2017-02-22 12:02:09 UTC) #26
ortuno
lgtm with some documentation changes. Thanks for doing this :) https://codereview.chromium.org/2695573002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2695573002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode1091 ...
3 years, 10 months ago (2017-02-23 05:56:00 UTC) #27
jlebel
https://codereview.chromium.org/2695573002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2695573002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode1091 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:1091: ExpectedNotifyValue(NotifyValueState::NOTIFY); On 2017/02/23 05:56:00, ortuno wrote: > This is ...
3 years, 10 months ago (2017-02-23 18:40:32 UTC) #28
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/2695573002/120001
3 years, 10 months ago (2017-02-23 18:41:47 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/125146)
3 years, 10 months ago (2017-02-23 19:17:47 UTC) #33
jlebel
Hello Giovanni, Can you review that last change in this patch (related to Android)? Thanks, ...
3 years, 10 months ago (2017-02-23 21:58:53 UTC) #40
ortuno
lgtm
3 years, 10 months ago (2017-02-23 22:16:38 UTC) #41
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/2695573002/200001
3 years, 10 months ago (2017-02-23 23:01:39 UTC) #45
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 23:10:57 UTC) #48
Message was sent while issue was closed.
Committed patchset #8 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/1c547d7f20b926af6a2c63d74897...

Powered by Google App Engine
This is Rietveld 408576698