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

Unified Diff: chromeos/network/shill_property_handler_unittest.cc

Issue 12381002: Improve network stub behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: 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 d660d00e2ddf684a82cac2190b9bd12c01534ef6..14fb74a284df4cc4a124c792f05a6112bb31a8d5 100644
--- a/chromeos/network/shill_property_handler_unittest.cc
+++ b/chromeos/network/shill_property_handler_unittest.cc
@@ -167,12 +167,10 @@ class ShillPropertyHandlerTest : public testing::Test {
void AddDevice(const std::string& type, const std::string& id) {
ASSERT_TRUE(IsValidType(type));
- manager_test_->AddDevice(id);
device_test_->AddDevice(id, type, std::string("/device/" + id));
}
void RemoveDevice(const std::string& id) {
- manager_test_->RemoveDevice(id);
device_test_->RemoveDevice(id);
}
@@ -181,12 +179,10 @@ class ShillPropertyHandlerTest : public testing::Test {
const std::string& state,
bool add_to_watch_list) {
ASSERT_TRUE(IsValidType(type));
- manager_test_->AddService(id, add_to_watch_list);
- service_test_->AddService(id, id, type, state);
+ service_test_->AddService(id, id, type, state, add_to_watch_list);
}
void RemoveService(const std::string& id) {
- manager_test_->RemoveService(id);
service_test_->RemoveService(id);
}
« chromeos/dbus/shill_manager_client_stub.cc ('K') | « chromeos/dbus/shill_service_client_stub.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698