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

Side by Side Diff: device/bluetooth/bluetooth_gatt_service_unittest.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/bluetooth_gatt_service.h" 5 #include "device/bluetooth/bluetooth_gatt_service.h"
6 6
7 #include "build/build_config.h"
7 #include "device/bluetooth/bluetooth_gatt_characteristic.h" 8 #include "device/bluetooth/bluetooth_gatt_characteristic.h"
8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
9 10
10 #if defined(OS_ANDROID) 11 #if defined(OS_ANDROID)
11 #include "device/bluetooth/test/bluetooth_test_android.h" 12 #include "device/bluetooth/test/bluetooth_test_android.h"
12 #elif defined(OS_MACOSX) 13 #elif defined(OS_MACOSX)
13 #include "device/bluetooth/test/bluetooth_test_mac.h" 14 #include "device/bluetooth/test/bluetooth_test_mac.h"
14 #endif 15 #endif
15 16
16 namespace device { 17 namespace device {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 BluetoothUUID char_uuid3 = service->GetCharacteristics()[2]->GetUUID(); 134 BluetoothUUID char_uuid3 = service->GetCharacteristics()[2]->GetUUID();
134 BluetoothUUID char_uuid4 = service->GetCharacteristics()[3]->GetUUID(); 135 BluetoothUUID char_uuid4 = service->GetCharacteristics()[3]->GetUUID();
135 EXPECT_EQ(char_uuid1, service->GetCharacteristic(char_id1)->GetUUID()); 136 EXPECT_EQ(char_uuid1, service->GetCharacteristic(char_id1)->GetUUID());
136 EXPECT_EQ(char_uuid2, service->GetCharacteristic(char_id2)->GetUUID()); 137 EXPECT_EQ(char_uuid2, service->GetCharacteristic(char_id2)->GetUUID());
137 EXPECT_EQ(char_uuid3, service->GetCharacteristic(char_id3)->GetUUID()); 138 EXPECT_EQ(char_uuid3, service->GetCharacteristic(char_id3)->GetUUID());
138 EXPECT_EQ(char_uuid4, service->GetCharacteristic(char_id4)->GetUUID()); 139 EXPECT_EQ(char_uuid4, service->GetCharacteristic(char_id4)->GetUUID());
139 } 140 }
140 #endif // defined(OS_ANDROID) 141 #endif // defined(OS_ANDROID)
141 142
142 } // namespace device 143 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_gatt_service.h ('k') | device/bluetooth/bluetooth_l2cap_channel_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698