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

Issue 2438963002: bluetooth: Add tests for when frame reconnects during readValue (Closed)

Created:
4 years, 2 months ago by ortuno
Modified:
4 years, 1 month ago
Reviewers:
Jeffrey Yasskin
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, ortuno+watch_chromium.org, Peter Beverloo, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add tests for when frame reconnects during readValue Follow up patch that adds a new fake adapter that finishes a gatt operation after a connect is called and adds tests that uses it. Previous patch: http://crrev.com/2443473003 BUG=608538 Committed: https://crrev.com/d0873b1b6847cbec6aeb730ad8a2ee7f15c7d3bd Cr-Commit-Position: refs/heads/master@{#427009}

Patch Set 1 #

Patch Set 2 : Clean up #

Total comments: 8

Patch Set 3 : Rebase #

Patch Set 4 : Address jyasskin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -0 lines) Patch
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 2 3 3 chunks +96 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-device-reconnects-during-error.html View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-device-reconnects-during-success.html View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-reconnect-during-error.html View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-reconnect-during-success.html View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-success.js View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-reconnect-during-error.js View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-reconnect-during-success.js View 1 chunk +18 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (19 generated)
ortuno
jyasskin: PTAL
4 years, 2 months ago (2016-10-21 05:49:06 UTC) #3
Jeffrey Yasskin
LGTM. https://codereview.chromium.org/2438963002/diff/20001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2438963002/diff/20001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode908 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:908: BluetoothRemoteGattCharacteristic::PROPERTY_WRITE | Since the characteristic only actually handles ...
4 years, 2 months ago (2016-10-22 01:02:06 UTC) #8
ortuno
Thanks! https://codereview.chromium.org/2438963002/diff/20001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/2438963002/diff/20001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode908 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:908: BluetoothRemoteGattCharacteristic::PROPERTY_WRITE | On 2016/10/22 at 01:02:06, Jeffrey Yasskin ...
4 years, 2 months ago (2016-10-24 01:52:33 UTC) #20
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/2438963002/60001
4 years, 2 months ago (2016-10-24 01:52:50 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-24 02:03:50 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 02:06:12 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d0873b1b6847cbec6aeb730ad8a2ee7f15c7d3bd
Cr-Commit-Position: refs/heads/master@{#427009}

Powered by Google App Engine
This is Rietveld 408576698