[Libreoffice-commits] online.git: loolwsd/test

Ashod Nakashian ashod.nakashian at collabora.co.uk
Sun Oct 23 21:01:39 UTC 2016


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

New commits:
commit 5c7c825e943ef235e2c04de2fbc39c397f1aaa0a
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Fri Oct 21 22:07:29 2016 -0400

    loolwsd: correct parsing of renderid in testSimultaneousTilesRenderedJustOnce
    
    Change-Id: I7c3610c43e5506f3548006b8724afb21e771342c
    Reviewed-on: https://gerrit.libreoffice.org/30196
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/test/TileCacheTests.cpp b/loolwsd/test/TileCacheTests.cpp
index 0162464..f988db4 100644
--- a/loolwsd/test/TileCacheTests.cpp
+++ b/loolwsd/test/TileCacheTests.cpp
@@ -401,9 +401,9 @@ void TileCacheTests::testSimultaneousTilesRenderedJustOnce()
     if (!response1.empty() && !response2.empty())
     {
         std::string renderId1;
-        LOOLProtocol::getTokenString(response1, "renderid", renderId1);
+        LOOLProtocol::getTokenStringFromMessage(response1, "renderid", renderId1);
         std::string renderId2;
-        LOOLProtocol::getTokenString(response2, "renderid", renderId2);
+        LOOLProtocol::getTokenStringFromMessage(response2, "renderid", renderId2);
 
         CPPUNIT_ASSERT(renderId1 == renderId2 ||
                        (renderId1 == "cached" && renderId2 != "cached") ||


More information about the Libreoffice-commits mailing list