Kaydet (Commit) cb32d787 authored tarafından Miklos Vajna's avatar Miklos Vajna

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/67206Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
üst 2ec13411
......@@ -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();
......
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