tdf#129582: sw: Add unittest
Change-Id: Ica1613d228d86c42f1a167d76661fba8a6a46cdc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96399 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
18ab61cd40
commit
11d21b3c1f
2 changed files with 7 additions and 0 deletions
BIN
sw/qa/extras/ooxmlexport/data/tdf129582.docx
Normal file
BIN
sw/qa/extras/ooxmlexport/data/tdf129582.docx
Normal file
Binary file not shown.
|
@ -156,6 +156,13 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf104539, "tdf104539.odt")
|
|||
"dir", "13500000");
|
||||
}
|
||||
|
||||
DECLARE_OOXMLEXPORT_TEST(testTdf129582, "tdf129582.docx")
|
||||
{
|
||||
CPPUNIT_ASSERT_EQUAL(2, getPages());
|
||||
// Without the fix in place, the image on the second footer would be imported
|
||||
CPPUNIT_ASSERT_EQUAL(2, getShapes());
|
||||
}
|
||||
|
||||
DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testShapeEffectPreservation, "shape-effect-preservation.docx")
|
||||
{
|
||||
xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml");
|
||||
|
|
Loading…
Reference in a new issue