sd/qa/unit/export-tests-ooxml2.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 5a00326951690d820d8ea5412a93aadf3da42dc1 Author: Xisco Fauli <[email protected]> AuthorDate: Mon Nov 22 15:48:57 2021 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Nov 22 19:19:34 2021 +0100 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 <[email protected]> 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(); }
