diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-02-24 13:46:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-02-24 15:49:15 +0000 |
commit | 58eac1105f8504bd5320911fc6fe967ccaa3d469 (patch) | |
tree | a71f1ba78135b13bedf7a20924db1bd2df18a94e /vcl/CppunitTest_vcl_pdfexport.mk | |
parent | 3cc3dc176e00062d8395d9f3d83b49ab24542a61 (diff) |
vcl: add initial CppunitTest_vcl_pdfexport
Invoke the PDF export filter and then use the PDF tokenizer from
xmlsecurity to assert the contents of created PDF file. The testcase
fails with commit 6db0f1feb1d9931d2726dd11a889c58815710ce0 (tdf#106059
PDF export: create a reference XObject for PDF images, 2017-02-22)
reverted.
Change-Id: I90526fef41d9560ae447f586df766bc50a491c43
Reviewed-on: https://gerrit.libreoffice.org/34609
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'vcl/CppunitTest_vcl_pdfexport.mk')
-rw-r--r-- | vcl/CppunitTest_vcl_pdfexport.mk | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/vcl/CppunitTest_vcl_pdfexport.mk b/vcl/CppunitTest_vcl_pdfexport.mk new file mode 100644 index 000000000000..8f0cbcdf47f9 --- /dev/null +++ b/vcl/CppunitTest_vcl_pdfexport.mk @@ -0,0 +1,42 @@ +# -*- 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_pdfexport)) + +$(eval $(call gb_CppunitTest_add_exception_objects,vcl_pdfexport, \ + vcl/qa/cppunit/pdfexport/pdfexport \ +)) + +$(eval $(call gb_CppunitTest_use_sdk_api,vcl_pdfexport)) + +$(eval $(call gb_CppunitTest_use_libraries,vcl_pdfexport, \ + comphelper \ + cppu \ + cppuhelper \ + sal \ + test \ + unotest \ + utl \ + tl \ + xmlsecurity \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_CppunitTest_use_external,vcl_pdfexport,boost_headers)) + +$(eval $(call gb_CppunitTest_use_sdk_api,vcl_pdfexport)) + +$(eval $(call gb_CppunitTest_use_ure,vcl_pdfexport)) +$(eval $(call gb_CppunitTest_use_vcl,vcl_pdfexport)) + +$(eval $(call gb_CppunitTest_use_rdb,vcl_pdfexport,services)) + +$(eval $(call gb_CppunitTest_use_configuration,vcl_pdfexport)) + +# vim: set noet sw=4 ts=4: |