[Libreoffice-commits] online.git: test/TileCacheTests.cpp

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 13 21:17:26 UTC 2019


 test/TileCacheTests.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fd93e11934317792b3633cfea986752354ef8bab
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Nov 13 22:16:59 2019 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Nov 13 22:16:59 2019 +0100

    build fix after 'killpoco: removed StringTokenizer'
    
    Change-Id: I2f1cb0da199a8dca1cf300955f133f45b8d7ba3b

diff --git a/test/TileCacheTests.cpp b/test/TileCacheTests.cpp
index 88308165d..7dc7d1500 100644
--- a/test/TileCacheTests.cpp
+++ b/test/TileCacheTests.cpp
@@ -1096,9 +1096,9 @@ void TileCacheTests::checkTiles(std::shared_ptr<LOOLWebSocket>& socket, const st
             CPPUNIT_ASSERT_GREATEREQUAL(static_cast<size_t>(6), tokens.size());
 #else
         if (docType == "presentation")
-            CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(7), tokens.count()); // We have an extra field.
+            CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(7), tokens.size()); // We have an extra field.
         else
-            CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(6), tokens.count());
+            CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(6), tokens.size());
 #endif
 
         // Expected format is something like 'type= parts= current= width= height='.


More information about the Libreoffice-commits mailing list