1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 # template for layoutwriter tests (there are several so that they can be run in parallel)
13 define sw_layoutwriter_test
15 $(eval
$(call gb_CppunitTest_CppunitTest
,sw_layoutwriter
$(1)))
17 $(eval
$(call gb_CppunitTest_use_common_precompiled_header
,sw_layoutwriter
$(1)))
19 $(eval
$(call gb_CppunitTest_add_exception_objects
,sw_layoutwriter
$(1), \
20 sw
/qa
/extras
/layout
/layout
$(1) \
23 # note: this links msword only for the reason to have an order dependency,
24 # because "make sw.check" will not see the dependency through services.rdb
25 $(eval
$(call gb_CppunitTest_use_libraries
,sw_layoutwriter
$(1), \
48 $(eval
$(call gb_CppunitTest_use_externals
,sw_layoutwriter
$(1),\
53 $(eval
$(call gb_CppunitTest_set_include
,sw_layoutwriter
$(1),\
55 -I
$(SRCDIR
)/sw
/source
/core
/inc \
56 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
57 -I
$(SRCDIR
)/sw
/qa
/inc \
61 $(eval
$(call gb_CppunitTest_use_api
,sw_layoutwriter
$(1),\
67 $(eval
$(call gb_CppunitTest_use_ure
,sw_layoutwriter
$(1)))
68 $(eval
$(call gb_CppunitTest_use_vcl
,sw_layoutwriter
$(1)))
70 $(eval
$(call gb_CppunitTest_use_rdb
,sw_layoutwriter
$(1),services
))
72 $(eval
$(call gb_CppunitTest_use_custom_headers
,sw_layoutwriter
$(1),\
76 $(eval
$(call gb_CppunitTest_use_configuration
,sw_layoutwriter
$(1)))
78 $(eval
$(call gb_CppunitTest_use_uiconfigs
,sw_layoutwriter
$(1), \
84 $(call gb_CppunitTest_get_target
,sw_layoutwriter
$(1)): \
85 $(call gb_Library_get_target
,textconv_dict
)
87 # assert if font/glyph fallback occurs
88 $(eval
$(call gb_CppunitTest_set_non_application_font_use
,sw_layoutwriter
$(1),abort
))
90 $(eval
$(call gb_CppunitTest_use_more_fonts
,sw_layoutwriter
$(1)))
94 # vim: set noet sw=4 ts=4: