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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Aug 15 03:00:44 UTC 2016


 loolwsd/test/TileCacheTests.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6194b043c05bb87c3956125342f5313c077339cc
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Thu Aug 11 10:48:54 2016 -0400

    loolwsd: better UT failure message
    
    Change-Id: Iad269910b1a38f67d87811590ffecefe27ba99cd
    Reviewed-on: https://gerrit.libreoffice.org/28116
    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 54177d4..360b849 100644
--- a/loolwsd/test/TileCacheTests.cpp
+++ b/loolwsd/test/TileCacheTests.cpp
@@ -236,7 +236,7 @@ void TileCacheTests::testUnresponsiveClient()
         for (auto i = 0; i < 8; ++i)
         {
             auto tile = getResponseMessage(socket2, "tile:", "client2 ");
-            CPPUNIT_ASSERT_MESSAGE("did not receive a tile: message as expected", !tile.empty());
+            CPPUNIT_ASSERT_MESSAGE("Did not receive tile #" + std::to_string(i+1) + " of 8: message as expected", !tile.empty());
         }
     }
 


More information about the Libreoffice-commits mailing list