Lines Matching refs:sink
50 void CallSignal(SignalHandlerSink* sink, Args... args) { in CallSignal() argument
59 base::Bind(&SignalHandlerSink::Handler, base::Unretained(sink)), in CallSignal()
84 } sink; in TEST_F() local
86 EXPECT_CALL(sink, Handler(10, 20, 30.5)).Times(1); in TEST_F()
87 CallSignal(&sink, 10, 20, 30.5); in TEST_F()
95 } sink; in TEST_F() local
97 EXPECT_CALL(sink, Handler(std::string{"foo"}, std::string{"bar"})).Times(1); in TEST_F()
98 CallSignal(&sink, std::string{"foo"}, std::string{"bar"}); in TEST_F()
105 } sink; in TEST_F() local
107 EXPECT_CALL(sink, Handler()).Times(1); in TEST_F()
108 CallSignal(&sink); in TEST_F()
115 } sink; in TEST_F() local
118 EXPECT_CALL(sink, Handler()).Times(0); in TEST_F()
119 CallSignal(&sink, 5); in TEST_F()
126 } sink; in TEST_F() local
129 EXPECT_CALL(sink, Handler(_, _)).Times(0); in TEST_F()
130 CallSignal(&sink, std::string{"bar"}); in TEST_F()
137 } sink; in TEST_F() local
140 EXPECT_CALL(sink, Handler(_, _)).Times(0); in TEST_F()
141 CallSignal(&sink, 1, 2); in TEST_F()