summaryrefslogtreecommitdiff
path: root/unoxml/CppunitTest_unoxml_rdftest.mk
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-07-03 12:42:07 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-07-03 19:10:49 +0200
commitcdda6533b44333b18d3dc6306dfd0f7058e40b32 (patch)
tree71e50b73dc4a712e95ec63a20279cd3d47fe5489 /unoxml/CppunitTest_unoxml_rdftest.mk
parentcc256da45a9d4907ecaa61f4912d0c26a97ca266 (diff)
unoxml: port checkCVE_2012_0037 from java to CppUnittest
so CI will be able to catch the problem reported in https://gerrit.libreoffice.org/c/core/+/169327 Change-Id: Id00e5f50fbf43f63f4bad5af13a62e4db88f82d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169932 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'unoxml/CppunitTest_unoxml_rdftest.mk')
-rw-r--r--unoxml/CppunitTest_unoxml_rdftest.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/unoxml/CppunitTest_unoxml_rdftest.mk b/unoxml/CppunitTest_unoxml_rdftest.mk
new file mode 100644
index 000000000000..e4e12e9864d4
--- /dev/null
+++ b/unoxml/CppunitTest_unoxml_rdftest.mk
@@ -0,0 +1,38 @@
+# -*- 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,unoxml_rdftest))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,unoxml_rdftest, \
+ unoxml/qa/unit/rdftest \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,unoxml_rdftest))
+
+$(eval $(call gb_CppunitTest_use_rdb,unoxml_rdftest,services))
+
+$(eval $(call gb_CppunitTest_use_externals,unoxml_rdftest, \
+ boost_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,unoxml_rdftest, \
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ sax \
+ test \
+ unotest \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,unoxml_rdftest))
+$(eval $(call gb_CppunitTest_use_ure,unoxml_rdftest))
+$(eval $(call gb_CppunitTest_use_vcl,unoxml_rdftest))
+
+# vim: set noet sw=4 ts=4: