Searched refs:kHandshakeRequestMessage (Results 1 – 2 of 2) sorted by relevance
/external/chromium/net/websockets/ |
D | websocket_handshake_handler_unittest.cc | 36 static const char* kHandshakeRequestMessage = in TEST() local 48 EXPECT_TRUE(handler.ParseRequest(kHandshakeRequestMessage, in TEST() 49 strlen(kHandshakeRequestMessage))); in TEST() 53 EXPECT_EQ(kHandshakeRequestMessage, handler.GetRawRequest()); in TEST() 59 static const char* kHandshakeRequestMessage = in TEST() local 72 EXPECT_TRUE(handler.ParseRequest(kHandshakeRequestMessage, in TEST() 73 strlen(kHandshakeRequestMessage))); in TEST() 182 static const char* kHandshakeRequestMessage = in TEST() local 194 EXPECT_TRUE(request_handler.ParseRequest(kHandshakeRequestMessage, in TEST() 195 strlen(kHandshakeRequestMessage))); in TEST() [all …]
|
D | websocket_job_unittest.cc | 236 static const char* kHandshakeRequestMessage = in TEST_F() local 248 bool sent = websocket_->SendData(kHandshakeRequestMessage, in TEST_F() 249 strlen(kHandshakeRequestMessage)); in TEST_F() 252 EXPECT_EQ(kHandshakeRequestMessage, socket_->sent_data()); in TEST_F() 254 websocket_->OnSentData(socket_.get(), strlen(kHandshakeRequestMessage)); in TEST_F() 255 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent()); in TEST_F() 281 static const char* kHandshakeRequestMessage = in TEST_F() local 293 bool sent = websocket_->SendData(kHandshakeRequestMessage, in TEST_F() 294 strlen(kHandshakeRequestMessage)); in TEST_F() 299 EXPECT_EQ(kHandshakeRequestMessage, socket_->sent_data()); in TEST_F() [all …]
|