summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-01-31 12:36:49 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-31 15:19:50 +0100
commitcb32d787029484af62ad78fc5c467d9aa89bc112 (patch)
tree04458a0f7863ef700c9aad9f1d91630a06134422
parent2ec13411b7e7b18d1ea28faee9ad93e0b7b21dde (diff)
CppunitTest_sw_ooxmlexport4: testTdf81345_045Original depends on fonts
I'm not sure about the exact details, but this started to fail on one machine for me, and not on an other one. Simply mass-copying all .ttf fonts from the good machine's ~/.fonts directory to the bad machine made the test succeed. So annotate the test as poor by explicitly not running this when bundled fonts are not available. Change-Id: I42358aee08b3decd942fe93de6ff4f198f7bf63a Reviewed-on: https://gerrit.libreoffice.org/67206 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport4.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
index 2c2facc2716a..f4977f1f339a 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
@@ -1218,6 +1218,7 @@ DECLARE_OOXMLEXPORT_TEST(testInheritFirstHeader,"inheritFirstHeader.docx")
CPPUNIT_ASSERT_EQUAL( OUString("Follow Header"), xHeaderText->getString() );
}
+#if HAVE_MORE_FONTS
DECLARE_OOXMLEXPORT_TEST(testTdf81345_045Original,"tdf81345.docx")
{
//Header wasn't replaced and columns were missing because no new style was created.
@@ -1234,6 +1235,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf81345_045Original,"tdf81345.docx")
uno::Reference<beans::XPropertySet> xStyle(xParaStyles->getByName("Pull quote"), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(sal_Int32(6736947), getProperty<sal_Int32>(xStyle, "CharColor"));
}
+#endif
CPPUNIT_PLUGIN_IMPLEMENT();