[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 17 21:30:40 UTC 2020
sw/qa/extras/ooxmlexport/data/tdf104539.odt |binary
sw/qa/extras/ooxmlexport/ooxmlexport7.cxx | 8 ++++++++
2 files changed, 8 insertions(+)
New commits:
commit 5063669a17538ea353e34ab0990363399d34f4f4
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri Apr 17 18:12:36 2020 +0200
Commit: Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Fri Apr 17 23:30:02 2020 +0200
tdf#104539: sw: Add unittest
Change-Id: Iab31d1d8417db93f6d34ae973ed1ec33bd59c0e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92460
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
diff --git a/sw/qa/extras/ooxmlexport/data/tdf104539.odt b/sw/qa/extras/ooxmlexport/data/tdf104539.odt
new file mode 100644
index 000000000000..76be8af1f5ce
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf104539.odt differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
index 7445513a34b5..5de79ca5ddfa 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
@@ -134,6 +134,14 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testFdo76979, "fdo76979.docx")
assertXPath(pXmlDoc, "//wps:spPr/a:solidFill/a:srgbClr", "val", "FFFFFF");
}
+DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf104539, "tdf104539.odt")
+{
+ xmlDocPtr pXmlDoc = parseExport("word/document.xml");
+ assertXPath(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent/mc:Choice/w:drawing/"
+ "wp:inline/a:graphic/a:graphicData/wps:wsp/wps:spPr/a:effectLst/a:outerShdw",
+ "dir", "13500000");
+}
+
DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testShapeEffectPreservation, "shape-effect-preservation.docx")
{
xmlDocPtr pXmlDoc = parseExport("word/document.xml");
More information about the Libreoffice-commits
mailing list