[Libreoffice-commits] core.git: sw/qa

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Fri May 8 14:20:30 UTC 2020


 sw/qa/extras/ooxmlexport/ooxmlexport7.cxx |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit bd8015b13636607805fcf6a25e353597db868696
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri May 8 13:44:52 2020 +0200
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Fri May 8 16:19:52 2020 +0200

    tdf#132270: sw: restore unittest
    
    Removed in f9fc420dceb1ece2c98767da16a21aaff771f140
    
    Change-Id: Ib2cc294f5efa3c1f10c43c481c9be4d1738f6fe9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93720
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
index a799d69ddf6e..32dfd9b1c925 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
@@ -390,6 +390,18 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testPictureEffectPreservation, "picture-effe
 {
     xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml");
 
+    // first picture: glow effect with theme color and transformations, 3d rotation and extrusion
+    assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/"
+            "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:effectLst/a:glow",
+            "rad", "228600");
+    assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/"
+            "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:effectLst/a:glow/a:srgbClr",
+            "val", "267de6");
+    assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/"
+            "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:effectLst/a:glow/a:srgbClr/a:alpha",
+            "val", "40000");
+
+
     assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/"
             "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:scene3d/a:camera",
             "prst", "isometricRightUp");


More information about the Libreoffice-commits mailing list