[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 2 19:33:47 UTC 2020
sw/qa/extras/odfexport/data/tdf130950.odt |binary
sw/qa/extras/odfexport/odfexport.cxx | 7 +++++++
2 files changed, 7 insertions(+)
New commits:
commit 1cfbe26f8f584fb4037ba99572f899a94a238e5b
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Jun 2 17:08:00 2020 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Jun 2 21:33:12 2020 +0200
tdf#130950: sw: Add unittest
Change-Id: Ia4094f4f411e3f0652fbcc019594ca99ce2428cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95368
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sw/qa/extras/odfexport/data/tdf130950.odt b/sw/qa/extras/odfexport/data/tdf130950.odt
new file mode 100644
index 000000000000..a669cb87b53d
Binary files /dev/null and b/sw/qa/extras/odfexport/data/tdf130950.odt differ
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 8e8da439d3f3..43a9a2ab1286 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -468,6 +468,13 @@ DECLARE_ODFEXPORT_TEST(testTdf131621, "tdf131621.ott")
CPPUNIT_ASSERT_EQUAL( 1, getPages() );
}
+DECLARE_ODFEXPORT_TEST(testTdf130950, "tdf130950.odt")
+{
+ //Crashes at import time
+ CPPUNIT_ASSERT_EQUAL(1, getPages());
+ CPPUNIT_ASSERT_EQUAL(2, getShapes());
+}
+
DECLARE_ODFEXPORT_TEST(testFdo38244, "fdo38244.odt")
{
CPPUNIT_ASSERT_EQUAL(1, getPages());
More information about the Libreoffice-commits
mailing list