summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-11-22 15:48:57 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-11-22 19:19:34 +0100
commit5a00326951690d820d8ea5412a93aadf3da42dc1 (patch)
tree7d97a54e98d96d3899c93614990ae69e17ca07fc
parent59e70256a358db136f5fd23651aea96d218b1a64 (diff)
tdf#143316: sd_export_tests-ooxml2: Add unittest
Change-Id: I7d045d439226c67f479643c71f632a760ad3c2ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125664 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sd/qa/unit/export-tests-ooxml2.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx
index 88b305903da4..1951d2f9eae6 100644
--- a/sd/qa/unit/export-tests-ooxml2.cxx
+++ b/sd/qa/unit/export-tests-ooxml2.cxx
@@ -1804,6 +1804,11 @@ void SdOOXMLExportTest2::testTdf59323_slideFooters()
// This is needed for backwards compatibility
assertXPath(pXmlDocSlide1, "//a:fld [@type='datetime1']/a:t");
+ // tdf#143316: Without the fix in place, this test would have failed with
+ // - Expected: 1
+ // - Actual : 0
+ assertXPath(pXmlDocSlide1, "/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:p/a:fld/a:rPr");
+
xDocShRef->DoClose();
}