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

Unified Diff: device/bluetooth/test/bluetooth_test_win.cc

Issue 1884033002: Implement BluetoothTestBlueZ and enable some LE tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/test/bluetooth_test_bluez.cc ('k') | device/device_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test_win.cc
diff --git a/device/bluetooth/test/bluetooth_test_win.cc b/device/bluetooth/test/bluetooth_test_win.cc
index 7d3f03361069d5004acf055b003cd07c24433cc9..991c43784cb345e82413419d0ed1077fd4415f23 100644
--- a/device/bluetooth/test/bluetooth_test_win.cc
+++ b/device/bluetooth/test/bluetooth_test_win.cc
@@ -136,21 +136,21 @@ BluetoothDevice* BluetoothTestWin::DiscoverLowEnergyDevice(int device_ordinal) {
std::string service_uuid_2;
switch (device_ordinal) {
- case 1: {
+ case 1:
service_uuid_1 = kTestUUIDGenericAccess;
service_uuid_2 = kTestUUIDGenericAttribute;
- } break;
- case 2: {
+ break;
+ case 2:
service_uuid_1 = kTestUUIDImmediateAlert;
service_uuid_2 = kTestUUIDLinkLoss;
- } break;
- case 3: {
+ break;
+ case 3:
device_name = kTestDeviceNameEmpty;
- } break;
- case 4: {
+ break;
+ case 4:
device_name = kTestDeviceNameEmpty;
device_address = kTestDeviceAddress2;
- } break;
+ break;
}
win::BLEDevice* simulated_device = fake_bt_le_wrapper_->SimulateBLEDevice(
« no previous file with comments | « device/bluetooth/test/bluetooth_test_bluez.cc ('k') | device/device_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698