[Libreoffice-commits] core.git: sw/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jan 31 14:20:18 UTC 2019
sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit cb32d787029484af62ad78fc5c467d9aa89bc112
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Jan 31 12:36:49 2019 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Jan 31 15:19:50 2019 +0100
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 at collabora.com>
Tested-by: Jenkins
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();
More information about the Libreoffice-commits
mailing list