sw/qa/extras/ooxmlexport/ooxmlexport25.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 691bcfb8ab158e907390e25eaa69ab4c60ce24de Author: Justin Luth <[email protected]> AuthorDate: Thu Dec 18 08:50:38 2025 -0500 Commit: Justin Luth <[email protected]> CommitDate: Fri Dec 19 02:32:04 2025 +0100 tdf#169986 improve unit test Although GetPages only reports one page, the layoutDump does produce two pages in the "bad state". So now the unit test actively functions as a deterrent. make CppunitTest_sw_ooxmlexport25 \ CPPUNIT_TEST_NAME=testTdf169986_bottomSpacing Change-Id: I69e806c049f33ea5f29ef0c89e9b891e70ba1e12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195848 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport25.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport25.cxx index 05196bc96e26..b1b88739f861 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport25.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport25.cxx @@ -93,6 +93,9 @@ DECLARE_OOXMLEXPORT_TEST(testTdf169986_bottomSpacing, "tdf169986_bottomSpacing.d { // given with a continuous section break with a lot of below spacing, and several footnotes... CPPUNIT_ASSERT_EQUAL(1, getPages()); + + auto pLayout = parseLayoutDump(); + assertXPath(pLayout, "/root/page", 1); } DECLARE_OOXMLEXPORT_TEST(testTdf167657_sectPr_bottomSpacing, "tdf167657_sectPr_bottomSpacing.docx")
