Index: chromeos/network/shill_property_handler_unittest.cc |
diff --git a/chromeos/network/shill_property_handler_unittest.cc b/chromeos/network/shill_property_handler_unittest.cc |
index f9954d69067bbd9a3048a0ae068c5fcf99eb7518..7e449115bd2c182759cce46bfc5318d1cdff3dc8 100644 |
--- a/chromeos/network/shill_property_handler_unittest.cc |
+++ b/chromeos/network/shill_property_handler_unittest.cc |
@@ -329,27 +329,7 @@ TEST_F(ShillPropertyHandlerTest, ShillPropertyHandlerServicePropertyChanged) { |
scan_interval, |
base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); |
message_loop_.RunUntilIdle(); |
- // Property change should NOT trigger an update. |
- EXPECT_EQ(0, listener_-> |
- property_updates(flimflam::kServicesProperty)[kTestServicePath]); |
- |
- // Add the existing service to the watch list. |
- AddService(flimflam::kTypeWifi, kTestServicePath, |
- flimflam::kStateIdle, true); |
- message_loop_.RunUntilIdle(); |
- // No new updates or services: |
- EXPECT_EQ(1, listener_->manager_updates()); |
- EXPECT_EQ(2, listener_->list_updates(flimflam::kServicesProperty)); |
- EXPECT_EQ(kNumShillManagerClientStubImplServices + 1, |
- listener_->entries(flimflam::kServicesProperty).size()); |
- // Change a property. |
- DBusThreadManager::Get()->GetShillServiceClient()->SetProperty( |
- dbus::ObjectPath(kTestServicePath), |
- flimflam::kScanIntervalProperty, |
- scan_interval, |
- base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); |
- message_loop_.RunUntilIdle(); |
- // Property change SHOULD trigger an update. |
+ // Property change should trigger an update. |
EXPECT_EQ(1, listener_-> |
property_updates(flimflam::kServicesProperty)[kTestServicePath]); |