Searched refs:UmTestUtils (Results 1 – 11 of 11) sorted by relevance
/system/update_engine/update_manager/ |
D | real_updater_provider_unittest.cc | 114 UmTestUtils::ExpectVariableHasValue(Time::FromDoubleT(123.456), in TEST_F() 122 UmTestUtils::ExpectVariableHasValue(RoundedToSecond(FixedTime()), in TEST_F() 130 UmTestUtils::ExpectVariableNotSet(provider_->var_last_checked_time()); 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() 158 UmTestUtils::ExpectVariableNotSet(provider_->var_progress()); in TEST_F() 165 UmTestUtils::ExpectVariableNotSet(provider_->var_progress()); in TEST_F() 172 UmTestUtils::ExpectVariableNotSet(provider_->var_progress()); in TEST_F() 180 UmTestUtils::ExpectVariableHasValue(Stage::kIdle, provider_->var_stage()); in TEST_F() [all …]
|
D | real_device_policy_provider_unittest.cc | 148 UmTestUtils::ExpectVariableHasValue(false, in TEST_F() 151 UmTestUtils::ExpectVariableNotSet(provider_->var_release_channel()); in TEST_F() 152 UmTestUtils::ExpectVariableNotSet(provider_->var_release_channel_delegated()); in TEST_F() 153 UmTestUtils::ExpectVariableNotSet(provider_->var_update_disabled()); in TEST_F() 154 UmTestUtils::ExpectVariableNotSet(provider_->var_target_version_prefix()); in TEST_F() 155 UmTestUtils::ExpectVariableNotSet(provider_->var_scatter_factor()); in TEST_F() 156 UmTestUtils::ExpectVariableNotSet( in TEST_F() 158 UmTestUtils::ExpectVariableNotSet(provider_->var_owner()); in TEST_F() 159 UmTestUtils::ExpectVariableNotSet(provider_->var_http_downloads_enabled()); in TEST_F() 160 UmTestUtils::ExpectVariableNotSet(provider_->var_au_p2p_enabled()); in TEST_F() [all …]
|
D | real_shill_provider_unittest.cc | 157 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() 274 UmTestUtils::ExpectVariableNotSet(provider_->var_conn_type()); in TEST_F() 275 UmTestUtils::ExpectVariableHasValue(InitTime(), in TEST_F() 282 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F() [all …]
|
D | generic_variables_unittest.cc | 45 UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F() 56 UmTestUtils::ExpectVariableHasValue(42, &var); in TEST_F() 66 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F() 70 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F() 95 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F() 106 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F() 110 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F() 134 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F() 146 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F() 166 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F() [all …]
|
D | real_config_provider_unittest.cc | 73 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()
|
D | real_system_provider_unittest.cc | 53 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_complete()); in TEST_F() 58 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_complete()); in TEST_F()
|
D | real_random_provider_unittest.cc | 51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F() 59 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), in TEST_F()
|
D | real_time_provider_unittest.cc | 72 UmTestUtils::ExpectVariableHasValue(expected, provider_->var_curr_date()); in TEST_F() 80 UmTestUtils::ExpectVariableHasValue(expected.hour, in TEST_F()
|
D | umtest_utils.cc | 23 const unsigned UmTestUtils::kDefaultTimeoutInSeconds = 1;
|
D | umtest_utils.h | 32 class UmTestUtils {
|
D | variable.h | 191 friend class UmTestUtils; variable
|