[Libreoffice-commits] core.git: sw/qa
Markus Mohrhard
markus.mohrhard at googlemail.com
Fri May 19 22:10:11 UTC 2017
sw/qa/extras/uiwriter/uiwriter.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 07381c017cd2b4e3ce643d17ae7cbb11ddef2228
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat May 20 00:08:33 2017 +0200
conditionally disable tests that depend on additional fonts
Change-Id: If3dc2082e24760f68598dc718c32d3008fdf6eba
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 42ca592cd305..33952f08e8a5 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -3802,6 +3802,7 @@ class PortionHandler : public SwPortionHandler
}
};
+#if HAVE_MORE_FONTS
void SwUiWriterTest::testTdf77014()
{
// The problem described in the bug tdf#77014 is that the input
@@ -3948,6 +3949,7 @@ void SwUiWriterTest::testTdf77014()
CPPUNIT_ASSERT_EQUAL(OUString("finish"), rPortionItem.msItemType);
}
}
+#endif
void SwUiWriterTest::testTdf92648()
{
@@ -4675,6 +4677,7 @@ void SwUiWriterTest::testTdf66405()
CPPUNIT_ASSERT_EQUAL(sal_Int32(0), nBottomMargin);
}
+#if HAVE_MORE_FONTS
void SwUiWriterTest::testTdf35021_tabOverMarginDemo()
{
createDoc("tdf35021_tabOverMarginDemo.doc");
@@ -4695,6 +4698,7 @@ void SwUiWriterTest::testTdf35021_tabOverMarginDemo()
nWidth = getXPath(pXmlDoc, "//Text[@nType='POR_TABDECIMAL']", "nWidth").toInt32();
CPPUNIT_ASSERT_MESSAGE("Decimal Tab width is ~4096", nMargin < nWidth);
}
+#endif
void SwUiWriterTest::testTdf106701_tabOverMarginAutotab()
{
More information about the Libreoffice-commits
mailing list