Home
last modified time | relevance | path

Searched refs:ExpectVariableHasValue (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc139 UmTestUtils::ExpectVariableHasValue(Time::FromDoubleT(123.456), in TEST_F()
148 UmTestUtils::ExpectVariableHasValue(RoundedToSecond(FixedTime()), in TEST_F()
161 UmTestUtils::ExpectVariableHasValue(0.0, provider_->var_progress()); in TEST_F()
167 UmTestUtils::ExpectVariableHasValue(0.3, provider_->var_progress()); in TEST_F()
173 UmTestUtils::ExpectVariableHasValue(1.0, provider_->var_progress()); in TEST_F()
199 UmTestUtils::ExpectVariableHasValue(Stage::kIdle, provider_->var_stage()); in TEST_F()
207 UmTestUtils::ExpectVariableHasValue(Stage::kCheckingForUpdate, in TEST_F()
216 UmTestUtils::ExpectVariableHasValue(Stage::kUpdateAvailable, in TEST_F()
225 UmTestUtils::ExpectVariableHasValue(Stage::kDownloading, in TEST_F()
234 UmTestUtils::ExpectVariableHasValue(Stage::kVerifying, in TEST_F()
[all …]
Dreal_shill_provider_unittest.cc160 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_connected()); in SetupConnectionAndAttrs()
161 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndAttrs()
182 UmTestUtils::ExpectVariableHasValue(expected_conn_type, in SetupConnectionAndTestType()
184 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndTestType()
200 UmTestUtils::ExpectVariableHasValue(expected_conn_tethering, in SetupConnectionAndTestTethering()
202 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndTestTethering()
276 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F()
278 UmTestUtils::ExpectVariableHasValue(InitTime(), in TEST_F()
285 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F()
287 UmTestUtils::ExpectVariableHasValue(InitTime(), in TEST_F()
[all …]
Dreal_system_provider_unittest.cc84 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_complete()); in TEST_F()
89 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_complete()); in TEST_F()
94 UmTestUtils::ExpectVariableHasValue( in TEST_F()
118 UmTestUtils::ExpectVariableHasValue( in TEST_F()
124 UmTestUtils::ExpectVariableHasValue( in TEST_F()
Dreal_device_policy_provider_unittest.cc175 UmTestUtils::ExpectVariableHasValue(false, in TEST_F()
219 UmTestUtils::ExpectVariableHasValue(true, in TEST_F()
223 UmTestUtils::ExpectVariableHasValue(string("mychannel"), in TEST_F()
227 UmTestUtils::ExpectVariableHasValue( in TEST_F()
229 UmTestUtils::ExpectVariableHasValue( in TEST_F()
245 UmTestUtils::ExpectVariableHasValue( in TEST_F()
270 UmTestUtils::ExpectVariableHasValue( in TEST_F()
284 UmTestUtils::ExpectVariableHasValue( in TEST_F()
300 UmTestUtils::ExpectVariableHasValue(TimeDelta::FromSeconds(1234), in TEST_F()
333 UmTestUtils::ExpectVariableHasValue( in TEST_F()
[all …]
Dgeneric_variables_unittest.cc55 UmTestUtils::ExpectVariableHasValue(42, &var); in TEST_F()
69 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
102 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
106 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
165 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
Dreal_time_provider_unittest.cc75 UmTestUtils::ExpectVariableHasValue(expected, provider_->var_curr_date()); in TEST_F()
83 UmTestUtils::ExpectVariableHasValue(expected.hour, in TEST_F()
92 UmTestUtils::ExpectVariableHasValue(expected.minute, in TEST_F()
Dumtest_utils.h41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { in ExpectVariableHasValue() function