Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc114 UmTestUtils::ExpectVariableHasValue(Time::FromDoubleT(123.456), in TEST_F()
122 UmTestUtils::ExpectVariableHasValue(RoundedToSecond(FixedTime()), in TEST_F()
137 UmTestUtils::ExpectVariableHasValue(0.0, provider_->var_progress()); in TEST_F()
144 UmTestUtils::ExpectVariableHasValue(0.3, provider_->var_progress()); in TEST_F()
151 UmTestUtils::ExpectVariableHasValue(1.0, provider_->var_progress()); in TEST_F()
180 UmTestUtils::ExpectVariableHasValue(Stage::kIdle, provider_->var_stage()); in TEST_F()
189 UmTestUtils::ExpectVariableHasValue(Stage::kCheckingForUpdate, in TEST_F()
199 UmTestUtils::ExpectVariableHasValue(Stage::kUpdateAvailable, in TEST_F()
208 UmTestUtils::ExpectVariableHasValue(Stage::kDownloading, in TEST_F()
217 UmTestUtils::ExpectVariableHasValue(Stage::kVerifying, in TEST_F()
[all …]
Dreal_shill_provider_unittest.cc157 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_connected()); in SetupConnectionAndAttrs()
158 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndAttrs()
179 UmTestUtils::ExpectVariableHasValue(expected_conn_type, in SetupConnectionAndTestType()
181 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndTestType()
197 UmTestUtils::ExpectVariableHasValue(expected_conn_tethering, in SetupConnectionAndTestTethering()
199 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndTestTethering()
273 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F()
275 UmTestUtils::ExpectVariableHasValue(InitTime(), in TEST_F()
282 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F()
284 UmTestUtils::ExpectVariableHasValue(InitTime(), in TEST_F()
[all …]
Dreal_config_provider_unittest.cc73 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_enabled()); in TEST_F()
81 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_enabled()); in TEST_F()
91 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_enabled()); in TEST_F()
99 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_enabled()); in TEST_F()
Dgeneric_variables_unittest.cc56 UmTestUtils::ExpectVariableHasValue(42, &var); in TEST_F()
70 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
106 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
110 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
173 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
Dreal_device_policy_provider_unittest.cc148 UmTestUtils::ExpectVariableHasValue(false, in TEST_F()
179 UmTestUtils::ExpectVariableHasValue(true, in TEST_F()
183 UmTestUtils::ExpectVariableHasValue(string("mychannel"), in TEST_F()
197 UmTestUtils::ExpectVariableHasValue(TimeDelta::FromSeconds(1234), in TEST_F()
222 UmTestUtils::ExpectVariableHasValue( in TEST_F()
Dreal_system_provider_unittest.cc53 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_complete()); in TEST_F()
58 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_complete()); in TEST_F()
Dreal_time_provider_unittest.cc72 UmTestUtils::ExpectVariableHasValue(expected, provider_->var_curr_date()); in TEST_F()
80 UmTestUtils::ExpectVariableHasValue(expected.hour, in TEST_F()
Dumtest_utils.h41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { in ExpectVariableHasValue() function