loolwsd/test/httpwstest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit b3f5873d58e5c2fd25bbad47aea63e920ed97db1 Author: Henry Castro <hcas...@collabora.com> Date: Wed May 11 01:07:14 2016 -0400 loolwsd: test: update loadDoc loadDoc now test the first incoming status message diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp index 8e74c05..c325140 100644 --- a/loolwsd/test/httpwstest.cpp +++ b/loolwsd/test/httpwstest.cpp @@ -298,7 +298,9 @@ void HTTPWSTest::loadDoc(const std::string& documentURL) try { // Load a document and get its status. - auto socket = loadDocAndGetSocket(_uri, documentURL); + Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_GET, documentURL); + auto socket = connectLOKit(_uri, request, _response); + sendTextFrame(*socket, "load url=" + documentURL); SocketProcessor("", socket, [&](const std::string& msg) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits