Home | History | Annotate | Download | only in update_manager

Lines Matching defs:observer1

113   BaseVariableObserver observer1;
114 var.AddObserver(&observer1);
117 ASSERT_EQ(0U, observer1.calls_.size());
120 ASSERT_EQ(1U, observer1.calls_.size());
122 EXPECT_EQ(&var, observer1.calls_[0]);
130 EXPECT_EQ(2U, observer1.calls_.size());
133 var.RemoveObserver(&observer1);
163 BaseVariableObserverRemover observer1;
166 var.AddObserver(&observer1);
170 observer1.OnCallRemoveObserver(&observer1);
171 observer1.OnCallRemoveObserver(&observer2);
172 observer2.OnCallRemoveObserver(&observer1);
178 EXPECT_EQ(1, observer1.get_calls() + observer2.get_calls());