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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 11 07:55:16 UTC 2019


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

New commits:
commit 6e3d8005ebbbd93347d14190e66b6e86906cefb1
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Nov 11 08:53:28 2019 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Nov 11 08:54:56 2019 +0100

    Fix HTTPWSTest::testExcelLoad() to pass again
    
    Assuming that the test has to be adapted, and it's not like it caught
    real badness.
    
    Change-Id: Id0e6bc134aefdeb46d281ae6b2a5fbc9ae70e8a4
    Reviewed-on: https://gerrit.libreoffice.org/82414
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/test/httpwstest.cpp b/test/httpwstest.cpp
index 1f6ecf085..bd5c11ec9 100644
--- a/test/httpwstest.cpp
+++ b/test/httpwstest.cpp
@@ -657,9 +657,9 @@ void HTTPWSTest::testExcelLoad()
         sendTextFrame(socket, "status", testname);
         const auto status = assertResponseString(socket, "status:", testname);
 
-        // Expected format is something like 'status: type=text parts=2 current=0 width=12808 height=1142'.
+        // Expected format is something like 'status: type=text parts=2 current=0 width=12808 height=1142 viewid=0\n...'.
         std::vector<std::string> tokens(LOOLProtocol::tokenize(status, ' '));
-        CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(8), tokens.size());
+        CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(7), tokens.size());
     }
     catch (const Poco::Exception& exc)
     {


More information about the Libreoffice-commits mailing list