tdf#92586: restore unittest
it was removed in ac84e4ff6135d51461122e0e1b5b39614b3e6eca
< tdf#94011: load&save more border types > for no apparent reason
Change-Id: I18c4c974de5e519df6f6e7539f95dfb734e4b0aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123557
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index 9fb6a74..a331ca9 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -884,6 +884,14 @@ CPPUNIT_TEST_FIXTURE(Test, testBnc800714)
CPPUNIT_ASSERT(getProperty<bool>(getParagraph(2), "ParaKeepTogether"));
}
CPPUNIT_TEST_FIXTURE(Test, testTdf92586)
{
load(mpTestDocumentPath, "tdf92586.odt");
uno::Any aPageStyle = getStyles("PageStyles")->getByName("Standard");
// This was BitmapMode_NO_REPEAT.
CPPUNIT_ASSERT_EQUAL(drawing::BitmapMode_STRETCH, getProperty<drawing::BitmapMode>(aPageStyle, "FillBitmapMode"));
}
CPPUNIT_TEST_FIXTURE(Test, testTdf103025)
{
load(mpTestDocumentPath, "tdf103025.odt");