diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-20 05:51:00 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-20 05:51:41 +0200 |
commit | d6e4d4ef54317e7cb70f23fff272e4217787d141 (patch) | |
tree | 2159117a7dd4681776166e7415f560aba11b980c /desktop/qa/desktop_lib | |
parent | 91c9e060b935fb08837d360ee4f8fd670e1185e1 (diff) |
conditionally disable test that depends on additional fonts
Change-Id: Idb066bf9dcaf0d606327214c9628fc12fefc7b19
Diffstat (limited to 'desktop/qa/desktop_lib')
-rw-r--r-- | desktop/qa/desktop_lib/test_desktop_lib.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 79ec0ba54e3b..c5ee03fb56ca 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -39,6 +39,7 @@ #include <comphelper/scopeguard.hxx> #include <cairo.h> #include <ostream> +#include <config_features.h> #include <lib/init.hxx> @@ -105,7 +106,9 @@ public: void testRedlineCalc(); void testPaintPartTile(); void testWriterCommentInsertCursor(); +#if HAVE_MORE_FONTS void testGetFontSubset(); +#endif void testCommentsWriter(); void testCommentsCalc(); void testCommentsImpress(); @@ -145,7 +148,9 @@ public: CPPUNIT_TEST(testRedlineCalc); CPPUNIT_TEST(testPaintPartTile); CPPUNIT_TEST(testWriterCommentInsertCursor); +#if HAVE_MORE_FONTS CPPUNIT_TEST(testGetFontSubset); +#endif CPPUNIT_TEST(testCommentsWriter); CPPUNIT_TEST(testCommentsCalc); CPPUNIT_TEST(testCommentsImpress); @@ -1828,6 +1833,7 @@ void DesktopLOKTest::testWriterCommentInsertCursor() comphelper::LibreOfficeKit::setActive(false); } +#if HAVE_MORE_FONTS void DesktopLOKTest::testGetFontSubset() { comphelper::LibreOfficeKit::setActive(); @@ -1851,6 +1857,7 @@ void DesktopLOKTest::testGetFontSubset() free(pJSON); comphelper::LibreOfficeKit::setActive(false); } +#endif void DesktopLOKTest::testCommentsWriter() { |