loolwsd/test/httpwstest.cpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 415796d69aea2e8c87a89e2107f2448d667c7b64
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Fri Aug 19 23:12:28 2016 -0400

    loolwsd: unittest fixes
    
    Change-Id: Ia08135bfaadbf4f59b658f7563ac4d40e6abacac
    Reviewed-on: https://gerrit.libreoffice.org/28293
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 73c4f2c..97e391a 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -1177,7 +1177,6 @@ void HTTPWSTest::testInactiveClient()
         Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_GET, 
documentURL);
 
         auto socket1 = loadDocAndGetSocket(_uri, documentURL, 
"inactiveClient-1 ");
-        getResponseMessage(socket1, "invalidatetiles");
 
         // Connect another and go inactive.
         std::cerr << "Connecting second client." << std::endl;
@@ -1206,7 +1205,10 @@ void HTTPWSTest::testInactiveClient()
                                             token == "editlock:" ||
                                             token == "addview:" ||
                                             token == "remview:" ||
-                                            token == "remallviews:");
+                                            token == "remallviews:" ||
+                                            token == "textviewselection:" ||
+                                            token == "invalidateviewcursor:" ||
+                                            token == "viewcursorvisible:");
 
                     // End when we get state changed.
                     return (token != "statechanged:");
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to