[shill] Use flimflam-esque storage ids
Devices:
device_<MAC>
IPConfig:
ipconfig_<MAC of associated device>_0
Services:
ethernet_<MAC of associated device>
wifi_<MAC of associated device>_<SSID>_<mode>_<security>
cellular_<MAC of associated device>_<Network_name>
BUG=chromium-os:17744
TEST=unit
Change-Id: Ibf061f9c184e7c86f5afcf97d48e321fc74bde1c
Reviewed-on: http://gerrit.chromium.org/gerrit/6412
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/ipconfig_unittest.cc b/ipconfig_unittest.cc
index 1a7482f..19922b3 100644
--- a/ipconfig_unittest.cc
+++ b/ipconfig_unittest.cc
@@ -57,13 +57,13 @@
SaveArg<1>(&key),
SaveArg<2>(&value),
Return(true)));
- ASSERT_TRUE(ipconfig_->Save(&storage));
+ ASSERT_TRUE(ipconfig_->Save(&storage, ""));
EXPECT_CALL(storage, ContainsGroup(id))
.WillOnce(Return(true));
EXPECT_CALL(storage, GetString(id, key, _))
.WillOnce(DoAll(SetArgumentPointee<2>(value), Return(true)));
- ASSERT_TRUE(ipconfig_->Load(&storage));
+ ASSERT_TRUE(ipconfig_->Load(&storage, ""));
}
TEST_F(IPConfigTest, UpdateProperties) {