Home
last modified time | relevance | path

Searched refs:eval_ctx_ (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/update_manager/
Devaluation_context_unittest.cc94 eval_ctx_ = new EvaluationContext( in SetUp()
102 if (eval_ctx_) { in TearDown()
104 eval_ctx_->weak_ptr_factory_.GetWeakPtr(); in TearDown()
106 eval_ctx_ = nullptr; in TearDown()
126 scoped_refptr<EvaluationContext> eval_ctx_; member in chromeos_update_manager::UmEvaluationContextTest
145 EXPECT_EQ(nullptr, eval_ctx_->GetValue(&fake_int_var_)); in TEST_F()
149 EXPECT_EQ(nullptr, eval_ctx_->GetValue(static_cast<Variable<int>*>(nullptr))); in TEST_F()
156 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
165 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
171 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
[all …]
Dchromeos_policy_unittest.cc51 eval_ctx_ = new EvaluationContext(&fake_clock_, TimeDelta::FromSeconds(5)); in SetUp()
192 eval_ctx_->ResetEvaluation(); in ExpectPolicyStatus()
194 (policy_.*policy_method)(eval_ctx_.get(), &fake_state_, &error, in ExpectPolicyStatus()
197 << "\nEvaluation context: " << eval_ctx_->DumpContext(); in ExpectPolicyStatus()
203 scoped_refptr<EvaluationContext> eval_ctx_; member in chromeos_update_manager::UmChromeOSPolicyTest