Home
last modified time | relevance | path

Searched refs:UmTestUtils (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc134 UmTestUtils::ExpectVariableHasValue(Time::FromDoubleT(123.456), in TEST_F()
143 UmTestUtils::ExpectVariableHasValue(RoundedToSecond(FixedTime()), in TEST_F()
150 UmTestUtils::ExpectVariableNotSet(provider_->var_last_checked_time()); in TEST_F()
156 UmTestUtils::ExpectVariableHasValue(0.0, provider_->var_progress()); in TEST_F()
162 UmTestUtils::ExpectVariableHasValue(0.3, provider_->var_progress()); in TEST_F()
168 UmTestUtils::ExpectVariableHasValue(1.0, provider_->var_progress()); in TEST_F()
174 UmTestUtils::ExpectVariableNotSet(provider_->var_progress()); in TEST_F()
180 UmTestUtils::ExpectVariableNotSet(provider_->var_progress()); in TEST_F()
186 UmTestUtils::ExpectVariableNotSet(provider_->var_progress()); in TEST_F()
194 UmTestUtils::ExpectVariableHasValue(Stage::kIdle, provider_->var_stage()); in TEST_F()
[all …]
Dreal_device_policy_provider_unittest.cc175 UmTestUtils::ExpectVariableHasValue(false, in TEST_F()
178 UmTestUtils::ExpectVariableNotSet(provider_->var_release_channel()); in TEST_F()
179 UmTestUtils::ExpectVariableNotSet(provider_->var_release_channel_delegated()); in TEST_F()
180 UmTestUtils::ExpectVariableNotSet(provider_->var_release_lts_tag()); in TEST_F()
181 UmTestUtils::ExpectVariableNotSet(provider_->var_update_disabled()); in TEST_F()
182 UmTestUtils::ExpectVariableNotSet(provider_->var_target_version_prefix()); in TEST_F()
183 UmTestUtils::ExpectVariableNotSet( in TEST_F()
185 UmTestUtils::ExpectVariableNotSet( in TEST_F()
187 UmTestUtils::ExpectVariableNotSet(provider_->var_scatter_factor()); in TEST_F()
188 UmTestUtils::ExpectVariableNotSet( in TEST_F()
[all …]
Dreal_shill_provider_unittest.cc159 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_connected()); in SetupConnectionAndAttrs()
160 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndAttrs()
181 UmTestUtils::ExpectVariableHasValue(expected_conn_type, in SetupConnectionAndTestType()
183 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndTestType()
199 UmTestUtils::ExpectVariableHasValue(expected_conn_tethering, in SetupConnectionAndTestTethering()
201 UmTestUtils::ExpectVariableHasValue(conn_change_time, in SetupConnectionAndTestTethering()
274 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F()
275 UmTestUtils::ExpectVariableNotSet(provider_->var_conn_type()); in TEST_F()
276 UmTestUtils::ExpectVariableHasValue(InitTime(), in TEST_F()
283 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_connected()); in TEST_F()
[all …]
Dgeneric_variables_unittest.cc44 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
55 UmTestUtils::ExpectVariableHasValue(42, &var); in TEST_F()
65 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F()
69 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
92 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
102 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
106 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
129 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
141 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F()
158 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F()
[all …]
Dreal_system_provider_unittest.cc74 UmTestUtils::ExpectVariableHasValue(true, provider_->var_is_oobe_complete()); in TEST_F()
79 UmTestUtils::ExpectVariableHasValue(false, provider_->var_is_oobe_complete()); in TEST_F()
88 UmTestUtils::ExpectVariableHasValue(version, in TEST_F()
93 UmTestUtils::ExpectVariableHasValue( in TEST_F()
102 UmTestUtils::ExpectVariableNotSet( in TEST_F()
110 UmTestUtils::ExpectVariableNotSet( in TEST_F()
117 UmTestUtils::ExpectVariableHasValue( in TEST_F()
131 UmTestUtils::ExpectVariableNotSet( in TEST_F()
134 UmTestUtils::ExpectVariableHasValue( 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()
Dreal_random_provider_unittest.cc51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
59 UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
Dumtest_utils.cc23 const unsigned UmTestUtils::kDefaultTimeoutInSeconds = 1;
Dumtest_utils.h32 class UmTestUtils {
Dvariable.h204 friend class UmTestUtils; variable