Searched refs:MockConsumer (Results 1 – 3 of 3) sorted by relevance
218 MockConsumer consumer; in TEST_F()235 MockConsumer consumer; in TEST_F()250 MockConsumer consumer; in TEST_F()280 MockConsumer consumer; in TEST_F()305 MockConsumer consumer; in TEST_F()338 MockConsumer consumer; in TEST_F()356 MockConsumer consumer; in TEST_F()374 MockConsumer consumer; in TEST_F()389 MockConsumer consumer; in TEST_F()404 MockConsumer consumer; in TEST_F()[all …]
16 class MockConsumer : public LoginStatusConsumer {18 MockConsumer() {} in MockConsumer() function19 ~MockConsumer() {} in ~MockConsumer()
155 .WillByDefault(Invoke(MockConsumer::OnFailQuitAndFail)); in FailOnLoginFailure()162 .WillByDefault(Invoke(MockConsumer::OnSuccessQuitAndFail)); in FailOnLoginSuccess()169 .WillByDefault(Invoke(MockConsumer::OnGuestSuccessQuitAndFail)); in FailOnGuestLoginSuccess()174 .WillOnce(Invoke(MockConsumer::OnFailQuit)) in ExpectLoginFailure()183 .WillOnce(Invoke(MockConsumer::OnSuccessQuit)) in ExpectLoginSuccess()189 .WillOnce(Invoke(MockConsumer::OnGuestSuccessQuit)) in ExpectGuestLoginSuccess()195 .WillOnce(Invoke(MockConsumer::OnMigrateQuit)) in ExpectPasswordChange()224 MockConsumer consumer_;