3fc464ae85
WidgetDefinitionReader is responsible to read the definitions from an xml file. The first implemented definitions are style colors. They are read from the file and stored into class fields. This also adds the unit test which tests that the reader is functioning as expected for a small certain subset of colors. Change-Id: Icd44cb465b084c32db8323e2f2f7dfa57823d559 Reviewed-on: https://gerrit.libreoffice.org/68642 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
52 lines
1.5 KiB
Makefile
52 lines
1.5 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_widget_definition_reader_test))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_widget_definition_reader_test, \
|
|
vcl/qa/cppunit/widgetdraw/WidgetDefinitionReaderTest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,vcl_widget_definition_reader_test,\
|
|
boost_headers \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,vcl_widget_definition_reader_test,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/vcl/inc \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,vcl_widget_definition_reader_test, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
svt \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
vcl \
|
|
utl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_widget_definition_reader_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,vcl_widget_definition_reader_test))
|
|
$(eval $(call gb_CppunitTest_use_vcl,vcl_widget_definition_reader_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,vcl_widget_definition_reader_test,\
|
|
configmgr/source/configmgr \
|
|
i18npool/util/i18npool \
|
|
ucb/source/core/ucb1 \
|
|
unotools/util/utl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,vcl_widget_definition_reader_test))
|
|
|
|
# vim: set noet sw=4 ts=4:
|