summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-10-30 14:40:00 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2020-10-30 16:33:46 +0100
commit60dbe21f59a45889c433727d0862c9a4274d94d2 (patch)
treecece8d8e7a83a06330f7a4ac1be73a2a5dc657a7 /sw/qa/extras/ooxmlexport/ooxmlexport15.cxx
parentfdb6d6ccf45e679ff3e369a876482b6801e08e25 (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/extras/ooxmlexport/ooxmlexport15.cxx')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport15.cxx6
1 files changed, 6 insertions, 0 deletions
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