summaryrefslogtreecommitdiff
path: root/salhelper/CppunitTest_salhelper_testapi.mk
diff options
context:
space:
mode:
authorRadu Ioan <ioan.radu.g@gmail.com>2012-10-08 22:07:39 +0300
committerCaolán McNamara <caolanm@redhat.com>2012-10-10 08:22:31 +0000
commit0ea421781b16b449045e66c38007374ab2f2c509 (patch)
tree063ad5af64ff224dd0d0b21601c87dc39772d68e /salhelper/CppunitTest_salhelper_testapi.mk
parent36026a6ae5d2f42db5fa262a358a3bc8e33e036c (diff)
fdo#39625 Make existing cppunittests work
Make salhelper testapi cppunit work - removed call to simpleheader.hxx - added call in Module_sal.mk for sal_testapi - created mk for cppunittest for sal_testapi - fixed some compile warning for auto_ptr Change-Id: I07a58dbd5282f92604f58eb450e0bf549c54c6b3 Reviewed-on: https://gerrit.libreoffice.org/839 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'salhelper/CppunitTest_salhelper_testapi.mk')
-rw-r--r--salhelper/CppunitTest_salhelper_testapi.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/salhelper/CppunitTest_salhelper_testapi.mk b/salhelper/CppunitTest_salhelper_testapi.mk
new file mode 100644
index 000000000000..ae8004264285
--- /dev/null
+++ b/salhelper/CppunitTest_salhelper_testapi.mk
@@ -0,0 +1,33 @@
+# -*- 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/.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Radu Ioan <ioan.radu.g@gmail.com> (initial developer)
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+
+$(eval $(call gb_CppunitTest_CppunitTest,salhelper_testapi))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,salhelper_testapi,\
+ salhelper/qa/test_api \
+))
+
+$(eval $(call gb_CppunitTest_set_include,salhelper_testapi,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/salhelper/inc \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,salhelper_testapi,\
+ salhelper \
+ sal \
+ $(gb_STDLIBS) \
+))
+
+# vim: set noet sw=4 ts=4: