Lines Matching refs:kHandshakeRequestMessage
236 static const char* kHandshakeRequestMessage =
248 bool sent = websocket_->SendData(kHandshakeRequestMessage,
249 strlen(kHandshakeRequestMessage));
252 EXPECT_EQ(kHandshakeRequestMessage, socket_->sent_data());
254 websocket_->OnSentData(socket_.get(), strlen(kHandshakeRequestMessage));
255 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
281 static const char* kHandshakeRequestMessage =
293 bool sent = websocket_->SendData(kHandshakeRequestMessage,
294 strlen(kHandshakeRequestMessage));
299 EXPECT_EQ(kHandshakeRequestMessage, socket_->sent_data());
301 websocket_->OnSentData(socket_.get(), strlen(kHandshakeRequestMessage));
302 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
349 static const char* kHandshakeRequestMessage =
375 bool sent = websocket_->SendData(kHandshakeRequestMessage,
376 strlen(kHandshakeRequestMessage));
382 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
437 static const char* kHandshakeRequestMessage =
462 bool sent = websocket_->SendData(kHandshakeRequestMessage,
463 strlen(kHandshakeRequestMessage));
469 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());