Lines Matching refs:wrapped_callback
46 TEST_F(SingleObserverRegistryTest, wrapped_callback) { in TEST_F() argument
48 auto wrapped_callback = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F() local
49 wrapped_callback.Run(); in TEST_F()
51 wrapped_callback.Run(); in TEST_F()
53 wrapped_callback.Run(); in TEST_F()
60 auto wrapped_callback = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F() local
62 wrapped_callback.Run(); in TEST_F()
68 auto wrapped_callback = registry_->Register(Bind(&Increment, Unretained(&count))); in TEST_F() local
71 wrapped_callback.Run(); in TEST_F()
92 auto wrapped_callback = registry_->Register(0, Bind(&Increment, Unretained(&count))); in TEST_F() local
93 wrapped_callback.Run(); in TEST_F()
95 wrapped_callback.Run(); in TEST_F()
97 wrapped_callback.Run(); in TEST_F()