office-gobmx/sd/CppunitTest_sd_pdf_import_test.mk
Tomaž Vajngerl 342d98b8aa SdrPdfImport: add a test class to sd and write a simple test
Open a simple PDF document, run the "break" action, check that
we get the expected text as a text object.

Change-Id: Iadb458f06b437689202eb013cb900edaabf17673
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93395
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-05 12:12:07 +02:00

73 lines
1.7 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,sd_pdf_import_test))
$(eval $(call gb_CppunitTest_add_exception_objects,sd_pdf_import_test, \
sd/qa/unit/SdrPdfImportTest \
))
$(eval $(call gb_CppunitTest_use_externals,sd_pdf_import_test, \
boost_headers \
$(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
))
$(eval $(call gb_CppunitTest_set_include,sd_pdf_import_test,\
-I$(SRCDIR)/sd/inc \
-I$(SRCDIR)/sd/source/ui/inc \
-I$(SRCDIR)/sd/source/ui/slidesorter/inc \
-I$(SRCDIR)/svx/source/inc \
-I$(SRCDIR)/svx/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_libraries,sd_pdf_import_test, \
$(call gb_Helper_optional,AVMEDIA,avmedia) \
basegfx \
canvastools \
comphelper \
cppcanvas \
cppu \
cppuhelper \
drawinglayer \
editeng \
for \
forui \
i18nlangtag \
i18nutil \
msfilter \
oox \
sal \
salhelper \
sax \
sb \
sd \
sfx \
sot \
svl \
svt \
svx \
svxcore \
test \
tl \
tk \
ucbhelper \
unotest \
utl \
vcl \
xo \
))
$(eval $(call gb_CppunitTest_use_sdk_api,sd_pdf_import_test))
$(eval $(call gb_CppunitTest_use_ure,sd_pdf_import_test))
$(eval $(call gb_CppunitTest_use_vcl,sd_pdf_import_test))
$(eval $(call gb_CppunitTest_use_rdb,sd_pdf_import_test,services))
$(eval $(call gb_CppunitTest_use_configuration,sd_pdf_import_test))
# vim: set noet sw=4 ts=4: