office-gobmx/vcl/CppunitTest_vcl_text.mk
Luboš Luňák ae38f1dff7 add vcl unittests for basic text rendering
These just check rendering of one character (normal or vertical)
both in horizontal or vertical orientation, and with scaled width.
It'd make sense to add more tests, apparently we almost do not have
unittests for text rendering.

Change-Id: I279314f0e946731dd38261ea030ea42be9fad572
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115621
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-05-24 11:01:53 +02:00

56 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_text))
$(eval $(call gb_CppunitTest_set_include,vcl_text,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
))
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_text, \
vcl/qa/cppunit/canvasbitmaptest \
vcl/qa/cppunit/complextext \
vcl/qa/cppunit/text \
))
$(eval $(call gb_CppunitTest_use_externals,vcl_text,\
boost_headers \
harfbuzz \
))
$(eval $(call gb_CppunitTest_use_libraries,vcl_text, \
comphelper \
cppu \
cppuhelper \
i18nlangtag \
sal \
svt \
test \
tl \
unotest \
vcl \
))
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_text))
$(eval $(call gb_CppunitTest_use_ure,vcl_text))
$(eval $(call gb_CppunitTest_use_vcl,vcl_text))
$(eval $(call gb_CppunitTest_use_components,vcl_text,\
configmgr/source/configmgr \
i18npool/util/i18npool \
ucb/source/core/ucb1 \
))
$(eval $(call gb_CppunitTest_use_configuration,vcl_text))
$(eval $(call gb_CppunitTest_use_more_fonts,vcl_text))
# vim: set noet sw=4 ts=4: