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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos_unittest.cc

Issue 13416005: Bluetooth: clean up BluetoothDevice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More win visible fixes Created 7 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: device/bluetooth/bluetooth_adapter_chromeos_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_chromeos_unittest.cc b/device/bluetooth/bluetooth_adapter_chromeos_unittest.cc
index 1137063cc726cf889b4b96f4cf1904ab8c4ec0ab..59cb632de4c8ac50c729f47d652bd2731d434149 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_chromeos_unittest.cc
@@ -130,7 +130,7 @@ TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterWithAddress) {
// Adapter should be present with the given address.
EXPECT_TRUE(adapter_->IsPresent());
- EXPECT_EQ(adapter_address, adapter_->address());
+ EXPECT_EQ(adapter_address, adapter_->GetAddress());
}
TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterWithoutAddress) {
@@ -185,7 +185,7 @@ TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterWithoutAddress) {
// Adapter should be present with the given address.
EXPECT_TRUE(adapter_->IsPresent());
- EXPECT_EQ(adapter_address, adapter_->address());
+ EXPECT_EQ(adapter_address, adapter_->GetAddress());
}
TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterBecomesPresentWithAddress) {
@@ -230,7 +230,7 @@ TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterBecomesPresentWithAddress) {
// Adapter should be present with the new address.
EXPECT_TRUE(adapter_->IsPresent());
- EXPECT_EQ(adapter_address, adapter_->address());
+ EXPECT_EQ(adapter_address, adapter_->GetAddress());
}
TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterReplacedWithAddress) {
@@ -289,7 +289,7 @@ TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterReplacedWithAddress) {
// Adapter should be present with the new address.
EXPECT_TRUE(adapter_->IsPresent());
- EXPECT_EQ(new_adapter_address, adapter_->address());
+ EXPECT_EQ(new_adapter_address, adapter_->GetAddress());
}
TEST_F(BluetoothAdapterChromeOSTest,
@@ -348,7 +348,7 @@ TEST_F(BluetoothAdapterChromeOSTest,
// Adapter should be present with the new address.
EXPECT_TRUE(adapter_->IsPresent());
- EXPECT_EQ(adapter_address, adapter_->address());
+ EXPECT_EQ(adapter_address, adapter_->GetAddress());
}
TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterReplacedWithoutAddress) {
@@ -417,7 +417,7 @@ TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterReplacedWithoutAddress) {
// Adapter should be present with the new address.
EXPECT_TRUE(adapter_->IsPresent());
- EXPECT_EQ(new_adapter_address, adapter_->address());
+ EXPECT_EQ(new_adapter_address, adapter_->GetAddress());
}
TEST_F(BluetoothAdapterChromeOSTest, DefaultAdapterRemoved) {
« no previous file with comments | « device/bluetooth/bluetooth_adapter_chromeos.cc ('k') | device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698