office-gobmx/vcl/CppunitTest_vcl_fontmetric.mk
Jan-Marek Glogowski 2ec032e01f Initialize the font list before querying it
And the vcl_fontmetric test must depend on more_fonts. This way
there should never be a missing font, so just assert on it.

Change-Id: If3b71d7c3e52f1beeda73197c56f5efc6a83dbb4
Reviewed-on: https://gerrit.libreoffice.org/74717
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-06-25 21:08:24 +02:00

55 lines
1.3 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CppunitTest_CppunitTest,vcl_fontmetric))
$(eval $(call gb_CppunitTest_set_include,vcl_fontmetric,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
))
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_fontmetric, \
vcl/qa/cppunit/fontmetric \
))
$(eval $(call gb_CppunitTest_use_externals,vcl_fontmetric,boost_headers))
$(eval $(call gb_CppunitTest_use_libraries,vcl_fontmetric, \
comphelper \
cppu \
cppuhelper \
sal \
svt \
test \
tl \
tk \
unotest \
vcl \
))
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_fontmetric))
$(eval $(call gb_CppunitTest_use_ure,vcl_fontmetric))
$(eval $(call gb_CppunitTest_use_vcl,vcl_fontmetric))
$(eval $(call gb_CppunitTest_use_components,vcl_fontmetric,\
configmgr/source/configmgr \
i18npool/util/i18npool \
ucb/source/core/ucb1 \
))
$(eval $(call gb_CppunitTest_use_configuration,vcl_fontmetric))
$(eval $(call gb_CppunitTest_use_externals,vcl_fontmetric,\
harfbuzz \
))
$(eval $(call gb_CppunitTest_use_more_fonts,vcl_fontmetric))
# vim: set noet sw=4 ts=4: