[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-0' - test/TileCacheTests.cpp

Tor Lillqvist tml at collabora.com
Tue Jan 10 11:38:10 UTC 2017


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

New commits:
commit f7c4485a7431122d663b63db3e65a59e77fe4a8b
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 5 11:02:26 2016 +0200

    The part number we get here seems to be always 1, not 0
    
    No deeper understanding of what is going on... This is when running
    against cp-5.1
    
    (cherry picked from commit dc18ccfd560c65ba8184d970db1aba05593b635e)

diff --git a/test/TileCacheTests.cpp b/test/TileCacheTests.cpp
index 64780a6..edc22d5 100644
--- a/test/TileCacheTests.cpp
+++ b/test/TileCacheTests.cpp
@@ -693,7 +693,7 @@ void TileCacheTests::testTileInvalidateWriterPage()
     int part = -1;
     CPPUNIT_ASSERT_MESSAGE("No part# in invalidatetiles message.",
                            LOOLProtocol::getTokenIntegerFromMessage(res, "part", part));
-    CPPUNIT_ASSERT_EQUAL(0, part);
+    CPPUNIT_ASSERT_EQUAL(1, part);
 }
 
 // This isn't yet used


More information about the Libreoffice-commits mailing list