summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-20 05:51:00 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-20 05:51:41 +0200
commitd6e4d4ef54317e7cb70f23fff272e4217787d141 (patch)
tree2159117a7dd4681776166e7415f560aba11b980c /desktop
parent91c9e060b935fb08837d360ee4f8fd670e1185e1 (diff)
conditionally disable test that depends on additional fonts
Change-Id: Idb066bf9dcaf0d606327214c9628fc12fefc7b19
Diffstat (limited to 'desktop')
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx7
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()
{