From 60dbe21f59a45889c433727d0862c9a4274d94d2 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 30 Oct 2020 14:40:00 +0100 Subject: tdf#88126: sw_ooxmlexport15: Add unittest Change-Id: If150e6f7c9a0ccd203674c3c00fb40231b3d6a8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105069 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- sw/qa/extras/ooxmlexport/ooxmlexport15.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sw/qa/extras/ooxmlexport/ooxmlexport15.cxx') diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx index a9618eb20145..c2466dc809e6 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx @@ -105,6 +105,12 @@ DECLARE_OOXMLEXPORT_TEST(testTdf133334_followPgStyle, "tdf133334_followPgStyle.o CPPUNIT_ASSERT_EQUAL(2, getPages()); } +DECLARE_OOXMLEXPORT_TEST(testTdf88126, "tdf88126.docx") +{ + // Without the fix in place, this test would have hung + CPPUNIT_ASSERT_EQUAL(11, getPages()); +} + DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf118701, "tdf118701.docx") { // This was 6, related to moving inline images after the page breaks -- cgit v1.2.3