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

Unified Diff: trunk/src/device/bluetooth/bluetooth_service_record_win_unittest.cc

Issue 224763003: Revert 261566 "device/bluetooth: Rename device::bluetooth_utils:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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
Index: trunk/src/device/bluetooth/bluetooth_service_record_win_unittest.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_service_record_win_unittest.cc (revision 261569)
+++ trunk/src/device/bluetooth/bluetooth_service_record_win_unittest.cc (working copy)
@@ -5,7 +5,6 @@
#include "base/basictypes.h"
#include "base/strings/string_number_conversions.h"
#include "device/bluetooth/bluetooth_service_record_win.h"
-#include "device/bluetooth/bluetooth_uuid.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -15,14 +14,14 @@
"010209000535031910020900093508350619110d090102090100250c417564696f20536f75"
"726365090311090001";
const int kTestNoRfcommSdpBytesSize = sizeof(kTestNoRfcommSdpBytes) / 2;
-const device::BluetoothUUID kTestNoRfcommSdpUuid("110a");
+const char kTestNoRfcommSdpUuid[] = "0000110a-0000-1000-8000-00805f9b34fb";
const char kTestRfcommSdpBytes[] =
"354b0900000a000100030900013506191112191203090004350c3503190100350519000308"
"0b090005350319100209000935083506191108090100090100250d566f6963652047617465"
"776179";
const int kTestRfcommSdpBytesSize = sizeof(kTestRfcommSdpBytes) / 2;
-const device::BluetoothUUID kTestRfcommSdpUuid("1112");
+const char kTestRfcommSdpUuid[] = "00001112-0000-1000-8000-00805f9b34fb";
const int kTestRfcommChannel = 11;
} // namespace
@@ -47,7 +46,7 @@
"01:02:03:0A:10:A0",
kTestNoRfcommSdpBytesSize,
sdp_bytes_array);
- EXPECT_EQ(kTestNoRfcommSdpUuid, service_record.uuid());
+ EXPECT_STREQ(kTestNoRfcommSdpUuid, service_record.uuid().c_str());
EXPECT_FALSE(service_record.SupportsRfcomm());
}
@@ -59,7 +58,7 @@
"01:02:03:0A:10:A0",
kTestRfcommSdpBytesSize,
sdp_bytes_array);
- EXPECT_EQ(kTestRfcommSdpUuid, service_record.uuid());
+ EXPECT_STREQ(kTestRfcommSdpUuid, service_record.uuid().c_str());
EXPECT_TRUE(service_record.SupportsRfcomm());
EXPECT_EQ(kTestRfcommChannel, service_record.rfcomm_channel());
}
@@ -74,4 +73,4 @@
EXPECT_EQ(1108152553632, service_record.bth_addr());
}
-} // namespace device
+} // namespace device
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_service_record_win.cc ('k') | trunk/src/device/bluetooth/bluetooth_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698