[Libreoffice-commits] online.git: test/TileCacheTests.cpp
Tor Lillqvist
tml at collabora.com
Mon Dec 5 09:07:29 UTC 2016
test/TileCacheTests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dc18ccfd560c65ba8184d970db1aba05593b635e
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
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