Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dvariable_unittest.cc87 void ValueChanged(BaseVariable* variable) { calls_.push_back(variable); } in ValueChanged()
90 vector<BaseVariable*> calls_; member in chromeos_update_manager::BaseVariableObserver
112 ASSERT_EQ(0U, observer1.calls_.size()); in TEST_F()
115 ASSERT_EQ(1U, observer1.calls_.size()); in TEST_F()
117 EXPECT_EQ(&var, observer1.calls_[0]); in TEST_F()
125 EXPECT_EQ(2U, observer1.calls_.size()); in TEST_F()
126 EXPECT_EQ(1U, observer2.calls_.size()); in TEST_F()
134 BaseVariableObserverRemover() : calls_(0) {} in BaseVariableObserverRemover()
140 calls_++; in ValueChanged()
147 int get_calls() { return calls_; } in get_calls()
[all …]