diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-05-04 08:49:36 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-05-05 12:12:07 +0200 |
commit | 342d98b8aae6dcea0a5eec9ad97214fa17409437 (patch) | |
tree | 46431b4696d77f2b81a96b2fadc8aeb339b2ac2b /sd/CppunitTest_sd_pdf_import_test.mk | |
parent | 8e53551db00d325dd638d45e50b32984dc778f17 (diff) |
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>
Diffstat (limited to 'sd/CppunitTest_sd_pdf_import_test.mk')
-rw-r--r-- | sd/CppunitTest_sd_pdf_import_test.mk | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/sd/CppunitTest_sd_pdf_import_test.mk b/sd/CppunitTest_sd_pdf_import_test.mk new file mode 100644 index 000000000000..4326c9cdede0 --- /dev/null +++ b/sd/CppunitTest_sd_pdf_import_test.mk @@ -0,0 +1,73 @@ +# -*- 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: |