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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Jun 6 01:55:36 UTC 2016


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

New commits:
commit 3b6009fa56d0a52c8f8892a6b60934327e912fa8
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun Jun 5 21:07:25 2016 -0400

    loolwsd: fixed testLoad12ods
    
    Change-Id: Iec0bb481da7af71b210463613617a7272209bfb3
    Reviewed-on: https://gerrit.libreoffice.org/25947
    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 95e46e9..7dac6b3 100644
--- a/loolwsd/test/TileCacheTests.cpp
+++ b/loolwsd/test/TileCacheTests.cpp
@@ -481,7 +481,9 @@ void TileCacheTests::checkBlackTiles(Poco::Net::WebSocket& socket, const int /*p
 {
     // Check the last row of tiles to verify that the tiles
     // render correctly and there are no black tiles.
-    const auto req = "tile part=0 width=256 height=256 tileposx=0 tileposy=2035200 tilewidth=3840 tileheight=3840";
+    // Current cap of table size ends at 257280 twips (for load12.ods),
+    // otherwise 2035200 should be rendered successfully.
+    const auto req = "tile part=0 width=256 height=256 tileposx=0 tileposy=253440 tilewidth=3840 tileheight=3840";
     sendTextFrame(socket, req);
 
     const auto tile = getResponseMessage(socket, "tile:", "checkBlackTiles ");


More information about the Libreoffice-commits mailing list