Lines Matching refs:XmppChannel
84 class FakeXmppChannel : public XmppChannel {
88 : XmppChannel{kAccountName, kAccessToken, kEndpoint, task_runner, in FakeXmppChannel()
136 RunUntil(XmppChannel::XmppState::kConnected); in StartStream()
139 void StartWithState(XmppChannel::XmppState state) { in StartWithState()
144 void RunUntil(XmppChannel::XmppState st) { in RunUntil()
156 EXPECT_EQ(XmppChannel::XmppState::kNotStarted, xmpp_client_.state()); in TEST_F()
159 RunUntil(XmppChannel::XmppState::kConnected); in TEST_F()
167 StartWithState(XmppChannel::XmppState::kConnected); in TEST_F()
170 RunUntil(XmppChannel::XmppState::kAuthenticationStarted); in TEST_F()
174 StartWithState(XmppChannel::XmppState::kAuthenticationStarted); in TEST_F()
177 RunUntil(XmppChannel::XmppState::kStreamRestartedPostAuthentication); in TEST_F()
181 StartWithState(XmppChannel::XmppState::kAuthenticationStarted); in TEST_F()
183 RunUntil(XmppChannel::XmppState::kAuthenticationFailed); in TEST_F()
187 StartWithState(XmppChannel::XmppState::kStreamRestartedPostAuthentication); in TEST_F()
190 RunUntil(XmppChannel::XmppState::kBindSent); in TEST_F()
195 RunUntil(XmppChannel::XmppState::kSessionStarted); in TEST_F()
203 RunUntil(XmppChannel::XmppState::kSubscribeStarted); in TEST_F()
206 RunUntil(XmppChannel::XmppState::kSubscribed); in TEST_F()