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

New commits:
commit dfcba9260fc7c9581043a03d59ad462d67a2d485
Author:     Miklos Vajna <[email protected]>
AuthorDate: Thu May 9 10:40:22 2019 +0200
Commit:     Michael Meeks <[email protected]>
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 <[email protected]>
    Tested-by: Michael Meeks <[email protected]>

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)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to