Home | History | Annotate | Download | only in src

Lines Matching refs:GetSettings

39   const Config::Settings& GetSettings() const { return config_->GetSettings(); }
42 return default_.GetSettings();
60 EXPECT_EQ("", GetSettings().client_id);
61 EXPECT_EQ("", GetSettings().client_secret);
62 EXPECT_EQ("", GetSettings().api_key);
63 EXPECT_EQ("https://accounts.google.com/o/oauth2/", GetSettings().oauth_url);
64 EXPECT_EQ("https://www.googleapis.com/weave/v1/", GetSettings().service_url);
65 EXPECT_EQ("talk.google.com:5223", GetSettings().xmpp_endpoint);
66 EXPECT_EQ("", GetSettings().oem_name);
67 EXPECT_EQ("", GetSettings().model_name);
68 EXPECT_EQ("", GetSettings().model_id);
69 EXPECT_FALSE(GetSettings().device_id.empty());
70 EXPECT_EQ("", GetSettings().firmware_version);
71 EXPECT_TRUE(GetSettings().wifi_auto_setup_enabled);
72 EXPECT_EQ("", GetSettings().test_privet_ssid);
74 GetSettings().pairing_modes);
75 EXPECT_EQ("", GetSettings().embedded_code);
76 EXPECT_EQ("", GetSettings().name);
77 EXPECT_EQ("", GetSettings().description);
78 EXPECT_EQ("", GetSettings().location);
79 EXPECT_EQ(AuthScope::kViewer, GetSettings().local_anonymous_access_role);
80 EXPECT_TRUE(GetSettings().local_pairing_enabled);
81 EXPECT_TRUE(GetSettings().local_discovery_enabled);
82 EXPECT_EQ("", GetSettings().cloud_id);
83 EXPECT_EQ("", GetSettings().refresh_token);
84 EXPECT_EQ("", GetSettings().robot_account);
85 EXPECT_EQ("", GetSettings().last_configured_ssid);
86 EXPECT_EQ(std::vector<uint8_t>(), GetSettings().secret);
87 EXPECT_EQ(RootClientTokenOwner::kNone, GetSettings().root_client_token_owner);
98 EXPECT_EQ("state_device_id", GetSettings().cloud_id);
99 EXPECT_FALSE(GetSettings().device_id.empty());
100 EXPECT_NE(GetSettings().cloud_id, GetSettings().device_id);
110 EXPECT_EQ("state_cloud_id", GetSettings().cloud_id);
111 EXPECT_EQ("state_device_id", GetSettings().device_id);
157 EXPECT_EQ("state_client_id", GetSettings().client_id);
158 EXPECT_EQ("state_client_secret", GetSettings().client_secret);
159 EXPECT_EQ("state_api_key", GetSettings().api_key);
160 EXPECT_EQ("state_oauth_url", GetSettings().oauth_url);
161 EXPECT_EQ("state_service_url", GetSettings().service_url);
162 EXPECT_EQ("state_xmpp_endpoint", GetSettings().xmpp_endpoint);
163 EXPECT_EQ(GetDefaultSettings().oem_name, GetSettings().oem_name);
164 EXPECT_EQ(GetDefaultSettings().model_name, GetSettings().model_name);
165 EXPECT_EQ(GetDefaultSettings().model_id, GetSettings().model_id);
166 EXPECT_EQ("state_device_id", GetSettings().device_id);
168 GetSettings().wifi_auto_setup_enabled);
170 GetSettings().test_privet_ssid);
171 EXPECT_EQ(GetDefaultSettings().pairing_modes, GetSettings().pairing_modes);
172 EXPECT_EQ(GetDefaultSettings().embedded_code, GetSettings().embedded_code);
173 EXPECT_EQ("state_name", GetSettings().name);
174 EXPECT_EQ("state_description", GetSettings().description);
175 EXPECT_EQ("state_location", GetSettings().location);
176 EXPECT_EQ(AuthScope::kUser, GetSettings().local_anonymous_access_role);
177 EXPECT_FALSE(GetSettings().local_pairing_enabled);
178 EXPECT_FALSE(GetSettings().local_discovery_enabled);
179 EXPECT_EQ("state_cloud_id", GetSettings().cloud_id);
180 EXPECT_EQ("state_refresh_token", GetSettings().refresh_token);
181 EXPECT_EQ("state_robot_account", GetSettings().robot_account);
182 EXPECT_EQ("state_last_configured_ssid", GetSettings().last_configured_ssid);
183 EXPECT_EQ("c3RhdGVfc2VjcmV0", Base64Encode(GetSettings().secret));
185 GetSettings().root_client_token_owner);
192 EXPECT_EQ("set_client_id", GetSettings().client_id);
195 EXPECT_EQ("set_client_secret", GetSettings().client_secret);
198 EXPECT_EQ("set_api_key", GetSettings().api_key);
201 EXPECT_EQ("set_oauth_url", GetSettings().oauth_url);
204 EXPECT_EQ("set_service_url", GetSettings().service_url);
207 EXPECT_EQ("set_xmpp_endpoint", GetSettings().xmpp_endpoint);
210 EXPECT_EQ("set_name", GetSettings().name);
213 EXPECT_EQ("set_description", GetSettings().description);
216 EXPECT_EQ("set_location", GetSettings().location);
219 EXPECT_EQ(AuthScope::kViewer, GetSettings().local_anonymous_access_role);
222 EXPECT_EQ(AuthScope::kNone, GetSettings().local_anonymous_access_role);
225 EXPECT_EQ(AuthScope::kUser, GetSettings().local_anonymous_access_role);
228 EXPECT_FALSE(GetSettings().local_discovery_enabled);
231 EXPECT_FALSE(GetSettings().local_pairing_enabled);
234 EXPECT_TRUE(GetSettings().local_discovery_enabled);
237 EXPECT_TRUE(GetSettings().local_pairing_enabled);
240 EXPECT_EQ("set_cloud_id", GetSettings().cloud_id);
243 EXPECT_EQ("set_device_id", GetSettings().device_id);
246 EXPECT_EQ("set_token", GetSettings().refresh_token);
249 EXPECT_EQ("set_account", GetSettings().robot_account);
252 EXPECT_EQ("set_last_configured_ssid", GetSettings().last_configured_ssid);
256 EXPECT_EQ(secret, GetSettings().secret);
260 GetSettings().root_client_token_owner);