sw/qa/extras/odfexport/data/tdf131621.ott |binary sw/qa/extras/odfexport/odfexport.cxx | 6 ++++++ 2 files changed, 6 insertions(+)
New commits: commit a0c37548e17807bb0e0402b04e87bcd677fe132f Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Apr 22 12:06:20 2020 +0200 Commit: Xisco FaulĂ <xiscofa...@libreoffice.org> CommitDate: Wed Apr 22 17:45:52 2020 +0200 tdf#131621: sw: Add unittest Change-Id: I3a6f437493caf8b4edde10703b7b7bb67ec1f848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92684 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/odfexport/data/tdf131621.ott b/sw/qa/extras/odfexport/data/tdf131621.ott new file mode 100644 index 000000000000..8590c16ae1ad Binary files /dev/null and b/sw/qa/extras/odfexport/data/tdf131621.ott differ diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 7931ee55d6d8..91e0b846d602 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -449,6 +449,12 @@ DECLARE_ODFEXPORT_TEST(testredlineTextFrame, "redlineTextFrame.odt") CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xIndexAccess->getCount()); } +DECLARE_ODFEXPORT_TEST(testTdf131621, "tdf131621.ott") +{ + //Crash test, Check number of pages + CPPUNIT_ASSERT_EQUAL( 1, getPages() ); +} + DECLARE_ODFEXPORT_TEST(testFdo38244, "fdo38244.odt") { // See ooxmlexport's testFdo38244(). _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits