diff options
author | Alex Vakulenko <avakulenko@google.com> | 2016-04-21 19:22:18 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-04-21 19:22:18 +0000 |
commit | b140a8f1d48312cf98f4bc20346e42e15f43fd3e (patch) | |
tree | cd2296e55306daea485131b575e1e1bd6b31dfed /buffet/buffet_config_unittest.cc | |
parent | 5294050be48f9650e95d5fc74af3962538e62503 (diff) | |
parent | b1601f6b51ad88045b9f3e083cf3fe65b63d8742 (diff) | |
download | weaved-b140a8f1d48312cf98f4bc20346e42e15f43fd3e.tar.gz |
weaved: Fix LocalAccessEnabled flags to reflect changes in libweave am: ebd4538fe7
am: b1601f6b51
* commit 'b1601f6b51ad88045b9f3e083cf3fe65b63d8742':
weaved: Fix LocalAccessEnabled flags to reflect changes in libweave
Change-Id: I336871419ba2c7f48dcfb355a6114fc26ffd3075
Diffstat (limited to 'buffet/buffet_config_unittest.cc')
-rw-r--r-- | buffet/buffet_config_unittest.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/buffet/buffet_config_unittest.cc b/buffet/buffet_config_unittest.cc index 24c8a72..373a18c 100644 --- a/buffet/buffet_config_unittest.cc +++ b/buffet/buffet_config_unittest.cc @@ -42,8 +42,7 @@ TEST(BuffetConfigTest, LoadConfig) { config_store.SetString("description", "conf_description"); config_store.SetString("location", "conf_location"); config_store.SetString("local_anonymous_access_role", "user"); - config_store.SetBoolean("local_pairing_enabled", false); - config_store.SetBoolean("local_discovery_enabled", false); + config_store.SetBoolean("local_access_enabled", false); config_store.SetBoolean("allow_endpoints_override", true); // Following will be ignored. @@ -74,8 +73,7 @@ TEST(BuffetConfigTest, LoadConfig) { EXPECT_EQ("conf_description", settings.description); EXPECT_EQ("conf_location", settings.location); EXPECT_EQ(weave::AuthScope::kUser, settings.local_anonymous_access_role); - EXPECT_FALSE(settings.local_pairing_enabled); - EXPECT_FALSE(settings.local_discovery_enabled); + EXPECT_FALSE(settings.local_access_enabled); EXPECT_TRUE(settings.allow_endpoints_override); } |