[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - test/httpwstest.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu May 9 09:01:12 UTC 2019


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

New commits:
commit dfcba9260fc7c9581043a03d59ad462d67a2d485
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu May 9 10:40:22 2019 +0200
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Thu May 9 11:00:54 2019 +0200

    test: fix HTTPWSTest::testRenderShapeSelectionWriterImage() failure with ...
    
    ... debug core.git. Same problem, need to filter out <desc> XML
    elements.
    
    (cherry picked from commit aa5b28ceb08cfc5c0e19c8cc99ae353c47f8a2c0)
    
    Change-Id: I84973b831508e6a073d9c75868307d98a2ada370
    Reviewed-on: https://gerrit.libreoffice.org/72030
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/test/httpwstest.cpp b/test/httpwstest.cpp
index be6601210..b03c79b49 100644
--- a/test/httpwstest.cpp
+++ b/test/httpwstest.cpp
@@ -2820,6 +2820,8 @@ void HTTPWSTest::testRenderShapeSelectionWriterImage()
         if (it != responseSVG.end())
             responseSVG.erase(responseSVG.begin(), ++it);
 
+        stripDescriptions(responseSVG);
+
         CPPUNIT_ASSERT(svgMatch(testname, responseSVG, "non_shape_writer_image.svg"));
     }
     catch (const Poco::Exception& exc)


More information about the Libreoffice-commits mailing list