[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 17 19:03:29 UTC 2020
sw/qa/extras/ooxmlexport/data/tdf48569.odt |binary
sw/qa/extras/ooxmlexport/ooxmlexport8.cxx | 7 +++++++
2 files changed, 7 insertions(+)
New commits:
commit 214071d946e5074bf95557edc696c913ae869be1
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri Apr 17 17:32:07 2020 +0200
Commit: Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Fri Apr 17 21:02:52 2020 +0200
tdf#48569: sw: Add unittest
Change-Id: I54ae1a8f59b02007de01b33f958d01dd98c24407
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92459
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
diff --git a/sw/qa/extras/ooxmlexport/data/tdf48569.odt b/sw/qa/extras/ooxmlexport/data/tdf48569.odt
new file mode 100644
index 000000000000..3ae5ac3939e9
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf48569.odt differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
index 9db6f8f09974..63a05d48cd9b 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
@@ -85,6 +85,13 @@ DECLARE_OOXMLEXPORT_TEST(testN751054, "n751054.docx")
CPPUNIT_ASSERT(eValue != text::TextContentAnchorType_AS_CHARACTER);
}
+DECLARE_OOXMLEXPORT_TEST(testTdf48569, "tdf48569.odt")
+{
+ // File crashing while saving in LO
+ text::TextContentAnchorType eValue = getProperty<text::TextContentAnchorType>(getShape(1), "AnchorType");
+ CPPUNIT_ASSERT_EQUAL(text::TextContentAnchorType_AS_CHARACTER, eValue);
+}
+
DECLARE_OOXMLEXPORT_TEST(testN750935, "n750935.docx")
{
// Some page break types were ignores, resulting in less pages.
More information about the Libreoffice-commits
mailing list