diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-05-02 13:48:20 -0700 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-07 15:47:22 +0200 |
commit | 187174d5c18f80f2e6fe03355379e5e14117791e (patch) | |
tree | 5de737e23ba2b45f62a0aa793b26542776271c4a /connectivity/CppunitTest_connectivity_sharedresources.mk | |
parent | downgrade warning to info (diff) | |
download | core-187174d5c18f80f2e6fe03355379e5e14117791e.tar.gz core-187174d5c18f80f2e6fe03355379e5e14117791e.zip |
tdf#43157 Clean up OSL_VERIFY (replace with SAL_WARN)
Replace OSL_VERIFY with if-statement and SAL_WARN and add some unit
tests to ensure the implementation works and the replacements don't
introduce some side effects.
Change-Id: I4ed50eee53e4dba4d392ed2486186d48f919ce1d
Reviewed-on: https://gerrit.libreoffice.org/71712
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/CppunitTest_connectivity_sharedresources.mk')
-rw-r--r-- | connectivity/CppunitTest_connectivity_sharedresources.mk | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/connectivity/CppunitTest_connectivity_sharedresources.mk b/connectivity/CppunitTest_connectivity_sharedresources.mk new file mode 100644 index 000000000000..78209cfbbdf0 --- /dev/null +++ b/connectivity/CppunitTest_connectivity_sharedresources.mk @@ -0,0 +1,41 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*- +# +# 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,connectivity_sharedresources)) + +$(eval $(call gb_CppunitTest_set_include,connectivity_sharedresources,\ + -I$(SRCDIR)/connectivity/inc \ + -I$(SRCDIR)/connectivity/source/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_ure,connectivity_sharedresources)) +$(eval $(call gb_CppunitTest_use_vcl,connectivity_sharedresources)) + +$(eval $(call gb_CppunitTest_use_sdk_api,connectivity_sharedresources)) + +$(eval $(call gb_CppunitTest_add_exception_objects,connectivity_sharedresources, \ + connectivity/qa/connectivity/resource/sharedresources_test \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,connectivity_sharedresources, \ + dbtools \ + sal \ + test \ + unotest \ +)) + +$(eval $(call gb_CppunitTest_use_components,connectivity_sharedresources,\ + configmgr/source/configmgr \ + i18npool/util/i18npool \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,connectivity_sharedresources)) + +# vim: set noet sw=4 ts=4: |