diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-04-17 18:12:36 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-04-17 23:30:02 +0200 |
commit | 5063669a17538ea353e34ab0990363399d34f4f4 (patch) | |
tree | ac99ca7473f8c108648cb7ba9d6fe48bf6053cb5 | |
parent | 5a4a615d5bf3907e66fea4995706aa3403542ca6 (diff) |
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@libreoffice.org>
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/tdf104539.odt | bin | 0 -> 12783 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport7.cxx | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf104539.odt b/sw/qa/extras/ooxmlexport/data/tdf104539.odt Binary files differnew file mode 100644 index 000000000000..76be8af1f5ce --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf104539.odt 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"); |