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

Unified Diff: device/bluetooth/bluetooth_experimental_chromeos_unittest.cc

Issue 14443003: D-Bus: notify properties changed from fakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « dbus/property.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
diff --git a/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc b/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
index 2f143690e0850f01c709b7a4a76f8a9d4f130399..3dfc4b6ed48a87cf0e9558aa952a7d704a17c1ba 100644
--- a/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
@@ -787,7 +787,6 @@ TEST_F(BluetoothExperimentalChromeOSTest, DeviceClassChanged) {
dbus::ObjectPath(FakeBluetoothDeviceClient::kPairedDevicePath));
properties->bluetooth_class.ReplaceValue(0x002580);
- properties->NotifyPropertyChanged(properties->bluetooth_class.name());
EXPECT_EQ(1, observer.device_changed_count_);
EXPECT_EQ(devices[0], observer.last_device_);
@@ -817,7 +816,6 @@ TEST_F(BluetoothExperimentalChromeOSTest, DeviceNameChanged) {
static const std::string new_name("New Device Name");
properties->alias.ReplaceValue(new_name);
- properties->NotifyPropertyChanged(properties->alias.name());
EXPECT_EQ(1, observer.device_changed_count_);
EXPECT_EQ(devices[0], observer.last_device_);
@@ -853,7 +851,6 @@ TEST_F(BluetoothExperimentalChromeOSTest, DeviceUuidsChanged) {
uuids.push_back("0000110a-0000-1000-8000-00805f9b34fb");
properties->uuids.ReplaceValue(uuids);
- properties->NotifyPropertyChanged(properties->uuids.name());
EXPECT_EQ(1, observer.device_changed_count_);
EXPECT_EQ(devices[0], observer.last_device_);
« no previous file with comments | « dbus/property.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698