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

New commits:
commit 8c385934b8a5c3b20ee8b2dfae654a3cfcc5adc8
Author:     Tamás Zolnai <[email protected]>
AuthorDate: Mon Sep 30 13:42:43 2019 +0200
Commit:     Tamás Zolnai <[email protected]>
CommitDate: Tue Oct 1 13:28:35 2019 +0200

    Fix up TileCacheTests::testTileInvalidateWriterPage() test
    
    The part number in case of writer has no actual meaning, since
    for writer we have only one part (the whole document).
    It seems the code is not consistent in that it is 0 or 1.
    
    Change-Id: I9e56079f7861f7e0d5794e6f711045cd9448dfa7
    Reviewed-on: https://gerrit.libreoffice.org/79851
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Tamás Zolnai <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/79952
    Tested-by: Tamás Zolnai <[email protected]>

diff --git a/test/TileCacheTests.cpp b/test/TileCacheTests.cpp
index 3b1954a8b..2b319c300 100644
--- a/test/TileCacheTests.cpp
+++ b/test/TileCacheTests.cpp
@@ -816,7 +816,7 @@ void TileCacheTests::testTileInvalidateWriterPage()
     int part = -1;
     CPPUNIT_ASSERT_MESSAGE("No part# in invalidatetiles message.",
                            LOOLProtocol::getTokenIntegerFromMessage(res, 
"part", part));
-    CPPUNIT_ASSERT_EQUAL(1, part);
+    CPPUNIT_ASSERT_EQUAL(0, part);
 }
 
 // This isn't yet used
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to