Kaydet (Commit) 07381c01 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

conditionally disable tests that depend on additional fonts

Change-Id: If3dc2082e24760f68598dc718c32d3008fdf6eba
üst 89e9f804
...@@ -3802,6 +3802,7 @@ class PortionHandler : public SwPortionHandler ...@@ -3802,6 +3802,7 @@ class PortionHandler : public SwPortionHandler
} }
}; };
#if HAVE_MORE_FONTS
void SwUiWriterTest::testTdf77014() void SwUiWriterTest::testTdf77014()
{ {
// The problem described in the bug tdf#77014 is that the input // The problem described in the bug tdf#77014 is that the input
...@@ -3948,6 +3949,7 @@ void SwUiWriterTest::testTdf77014() ...@@ -3948,6 +3949,7 @@ void SwUiWriterTest::testTdf77014()
CPPUNIT_ASSERT_EQUAL(OUString("finish"), rPortionItem.msItemType); CPPUNIT_ASSERT_EQUAL(OUString("finish"), rPortionItem.msItemType);
} }
} }
#endif
void SwUiWriterTest::testTdf92648() void SwUiWriterTest::testTdf92648()
{ {
...@@ -4675,6 +4677,7 @@ void SwUiWriterTest::testTdf66405() ...@@ -4675,6 +4677,7 @@ void SwUiWriterTest::testTdf66405()
CPPUNIT_ASSERT_EQUAL(sal_Int32(0), nBottomMargin); CPPUNIT_ASSERT_EQUAL(sal_Int32(0), nBottomMargin);
} }
#if HAVE_MORE_FONTS
void SwUiWriterTest::testTdf35021_tabOverMarginDemo() void SwUiWriterTest::testTdf35021_tabOverMarginDemo()
{ {
createDoc("tdf35021_tabOverMarginDemo.doc"); createDoc("tdf35021_tabOverMarginDemo.doc");
...@@ -4695,6 +4698,7 @@ void SwUiWriterTest::testTdf35021_tabOverMarginDemo() ...@@ -4695,6 +4698,7 @@ void SwUiWriterTest::testTdf35021_tabOverMarginDemo()
nWidth = getXPath(pXmlDoc, "//Text[@nType='POR_TABDECIMAL']", "nWidth").toInt32(); nWidth = getXPath(pXmlDoc, "//Text[@nType='POR_TABDECIMAL']", "nWidth").toInt32();
CPPUNIT_ASSERT_MESSAGE("Decimal Tab width is ~4096", nMargin < nWidth); CPPUNIT_ASSERT_MESSAGE("Decimal Tab width is ~4096", nMargin < nWidth);
} }
#endif
void SwUiWriterTest::testTdf106701_tabOverMarginAutotab() void SwUiWriterTest::testTdf106701_tabOverMarginAutotab()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment