summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2016-12-17 08:58:42 +0100
committerMatúš Kukan <matus@libreoffice.org>2016-12-23 10:19:18 +0000
commit8e743e46781b252f41227d809dec43d3c4c1d01f (patch)
tree85884ceb607e506a372d49ab515b025319a9ef81 /sal
parentdbc3cfb011f3bbbc0d95acc362dc7aa5bca6e831 (diff)
tdf#97283: Merge sal osl tests to one makefile
Leave sal_osl_security alone because it does not use CPPUNIT_PLUGIN_IMPLEMENT. Change-Id: Iced8bb80c3ae661d371c087d7178a373ffd802e0 Reviewed-on: https://gerrit.libreoffice.org/32142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Diffstat (limited to 'sal')
-rw-r--r--sal/CppunitTest_sal_osl.mk44
-rw-r--r--sal/CppunitTest_sal_osl_condition.mk22
-rw-r--r--sal/CppunitTest_sal_osl_file.mk24
-rw-r--r--sal/CppunitTest_sal_osl_getsystempathfromfileurl.mk22
-rw-r--r--sal/CppunitTest_sal_osl_module.mk26
-rw-r--r--sal/CppunitTest_sal_osl_mutex.mk21
-rw-r--r--sal/CppunitTest_sal_osl_old_test_file.mk22
-rw-r--r--sal/CppunitTest_sal_osl_pipe.mk21
-rw-r--r--sal/CppunitTest_sal_osl_process.mk28
-rw-r--r--sal/CppunitTest_sal_osl_profile.mk21
-rw-r--r--sal/CppunitTest_sal_osl_setthreadname.mk23
-rw-r--r--sal/CppunitTest_sal_osl_thread.mk22
-rw-r--r--sal/CppunitTest_sal_tcwf.mk23
-rw-r--r--sal/Module_sal.mk15
-rw-r--r--sal/qa/osl/file/osl_File.cxx2
-rw-r--r--sal/qa/osl/file/osl_old_test_file.cxx2
-rw-r--r--sal/qa/osl/file/test_cpy_wrt_file.cxx6
-rw-r--r--sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx2
-rw-r--r--sal/qa/osl/module/osl_Module.cxx4
-rw-r--r--sal/qa/osl/mutex/osl_Mutex.cxx2
-rw-r--r--sal/qa/osl/pipe/osl_Pipe.cxx2
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx4
-rw-r--r--sal/qa/osl/process/osl_process.cxx2
-rw-r--r--sal/qa/osl/profile/osl_old_testprofile.cxx2
-rw-r--r--sal/qa/osl/setthreadname/test-setthreadname.cxx2
25 files changed, 46 insertions, 318 deletions
diff --git a/sal/CppunitTest_sal_osl.mk b/sal/CppunitTest_sal_osl.mk
new file mode 100644
index 000000000000..7432ff9a1c36
--- /dev/null
+++ b/sal/CppunitTest_sal_osl.mk
@@ -0,0 +1,44 @@
+# -*- 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,sal_osl))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl,\
+ sal/qa/osl/condition/osl_Condition \
+ $(if $(filter $(OS),WNT),,sal/qa/osl/file/osl_File) \
+ sal/qa/osl/file/osl_old_test_file \
+ sal/qa/osl/file/test_cpy_wrt_file \
+ sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl \
+ $(if $(DISABLE_DYNLOADING),,sal/qa/osl/module/osl_Module) \
+ sal/qa/osl/mutex/osl_Mutex \
+ sal/qa/osl/pipe/osl_Pipe \
+ sal/qa/osl/process/osl_process \
+ sal/qa/osl/process/osl_Thread \
+ sal/qa/osl/profile/osl_old_testprofile \
+ sal/qa/osl/setthreadname/test-setthreadname \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sal_osl,\
+ sal \
+ $(gb_UWINAPI) \
+))
+
+# the test uses the library created by Module_DLL
+$(call gb_CppunitTest_get_target,sal_osl) : \
+ $(call gb_CppunitTest_get_target,Module_DLL)
+
+$(eval $(call gb_CppunitTest_use_executable,sal_osl,osl_process_child))
+
+$(eval $(call gb_CppunitTest_use_externals,sal_osl,\
+ boost_headers \
+ valgrind \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_condition.mk b/sal/CppunitTest_sal_osl_condition.mk
deleted file mode 100644
index 4b9f4aac42d6..000000000000
--- a/sal/CppunitTest_sal_osl_condition.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- 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,sal_osl_condition))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_condition,\
- sal/qa/osl/condition/osl_Condition \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_condition,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_file.mk b/sal/CppunitTest_sal_osl_file.mk
deleted file mode 100644
index 4dadd8809ef0..000000000000
--- a/sal/CppunitTest_sal_osl_file.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- 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,sal_osl_file))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_file,\
- sal/qa/osl/file/osl_File \
-))
-
-$(eval $(call gb_CppunitTest_use_external,sal_osl_file,boost_headers))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_file,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_getsystempathfromfileurl.mk b/sal/CppunitTest_sal_osl_getsystempathfromfileurl.mk
deleted file mode 100644
index 4b99bf247280..000000000000
--- a/sal/CppunitTest_sal_osl_getsystempathfromfileurl.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- 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,sal_osl_getsystempathfromfileurl))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_getsystempathfromfileurl,\
- sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_getsystempathfromfileurl,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_module.mk b/sal/CppunitTest_sal_osl_module.mk
deleted file mode 100644
index 6e90142c9f8c..000000000000
--- a/sal/CppunitTest_sal_osl_module.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- 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,sal_osl_module))
-
-# the test uses the library created by Module_DLL
-$(call gb_CppunitTest_get_target,sal_osl_module) : \
- $(call gb_CppunitTest_get_target,Module_DLL)
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_module,\
- sal/qa/osl/module/osl_Module \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_module,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_mutex.mk b/sal/CppunitTest_sal_osl_mutex.mk
deleted file mode 100644
index ff4fc5cbac58..000000000000
--- a/sal/CppunitTest_sal_osl_mutex.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*- 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,sal_osl_mutex))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_mutex, \
- sal/qa/osl/mutex/osl_Mutex \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_mutex, \
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_old_test_file.mk b/sal/CppunitTest_sal_osl_old_test_file.mk
deleted file mode 100644
index 6727da885b51..000000000000
--- a/sal/CppunitTest_sal_osl_old_test_file.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- 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,sal_osl_old_test_file))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_old_test_file,\
- sal/qa/osl/file/osl_old_test_file \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_old_test_file,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_pipe.mk b/sal/CppunitTest_sal_osl_pipe.mk
deleted file mode 100644
index cf909ea2090e..000000000000
--- a/sal/CppunitTest_sal_osl_pipe.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*- 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,sal_osl_pipe))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_pipe, \
- sal/qa/osl/pipe/osl_Pipe \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_pipe, \
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_process.mk b/sal/CppunitTest_sal_osl_process.mk
deleted file mode 100644
index 6c254d9d0730..000000000000
--- a/sal/CppunitTest_sal_osl_process.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# -*- 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,sal_osl_process))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_process,\
- sal/qa/osl/process/osl_process \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_process,\
- sal \
- $(gb_UWINAPI) \
-))
-
-$(eval $(call gb_CppunitTest_use_externals,sal_osl_process,\
- valgrind \
-))
-
-$(eval $(call gb_CppunitTest_use_executable,sal_osl_process,osl_process_child))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_profile.mk b/sal/CppunitTest_sal_osl_profile.mk
deleted file mode 100644
index 56c3191aeeb8..000000000000
--- a/sal/CppunitTest_sal_osl_profile.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*- 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,sal_osl_profile))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_profile, \
- sal/qa/osl/profile/osl_old_testprofile \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_profile, \
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_setthreadname.mk b/sal/CppunitTest_sal_osl_setthreadname.mk
deleted file mode 100644
index 3ffd5bcb2011..000000000000
--- a/sal/CppunitTest_sal_osl_setthreadname.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- 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,sal_osl_setthreadname))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_setthreadname, \
- sal/qa/osl/setthreadname/test-setthreadname \
-))
-
-$(eval $(call gb_CppunitTest_use_external,sal_osl_setthreadname,boost_headers))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_setthreadname, \
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_osl_thread.mk b/sal/CppunitTest_sal_osl_thread.mk
deleted file mode 100644
index b29eaef6e3ba..000000000000
--- a/sal/CppunitTest_sal_osl_thread.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- 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,sal_osl_thread))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_osl_thread,\
- sal/qa/osl/process/osl_Thread \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_osl_thread,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/CppunitTest_sal_tcwf.mk b/sal/CppunitTest_sal_tcwf.mk
deleted file mode 100644
index 34c5f73e702a..000000000000
--- a/sal/CppunitTest_sal_tcwf.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- 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/.
-#
-
-# sal_tcwf
-$(eval $(call gb_CppunitTest_CppunitTest,sal_tcwf))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,sal_tcwf,\
- sal/qa/osl/file/test_cpy_wrt_file \
-))
-
-$(eval $(call gb_CppunitTest_use_libraries,sal_tcwf,\
- sal \
- $(gb_UWINAPI) \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk
index 6f8cbc05a191..1d79a163da4d 100644
--- a/sal/Module_sal.mk
+++ b/sal/Module_sal.mk
@@ -22,24 +22,14 @@ $(eval $(call gb_Module_add_targets,sal,\
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,sal,\
- Executable_osl_process_child \
+ Executable_osl_process_child \
))
$(eval $(call gb_Module_add_check_targets,sal,\
- $(if $(filter $(OS),WNT),,CppunitTest_sal_osl_file) \
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),,CppunitTest_Module_DLL) \
- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),,CppunitTest_sal_osl_module) \
$(if $(filter-out MSC-120,$(COM)-$(VCVER)),CppunitTest_sal_osl_security) \
CppunitTest_sal_bytesequence \
- CppunitTest_sal_osl_condition \
- CppunitTest_sal_osl_getsystempathfromfileurl \
- CppunitTest_sal_osl_mutex \
- CppunitTest_sal_osl_old_test_file \
- CppunitTest_sal_osl_pipe \
- CppunitTest_sal_osl_process \
- CppunitTest_sal_osl_profile \
- CppunitTest_sal_osl_setthreadname \
- CppunitTest_sal_osl_thread \
+ CppunitTest_sal_osl \
CppunitTest_sal_rtl_alloc \
CppunitTest_sal_rtl_bootstrap \
CppunitTest_sal_rtl_cipher \
@@ -58,7 +48,6 @@ $(eval $(call gb_Module_add_check_targets,sal,\
CppunitTest_sal_rtl_textenc \
CppunitTest_sal_rtl_uri \
CppunitTest_sal_rtl_uuid \
- CppunitTest_sal_tcwf \
CppunitTest_sal_types \
))
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 14922cd5e15e..1f8841c129f0 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -5028,8 +5028,6 @@ namespace osl_Directory
CPPUNIT_TEST_SUITE_REGISTRATION( osl_Directory::createPath );
}// namespace osl_Directory
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/** get Current PID.
*/
inline ::rtl::OUString getCurrentPID( )
diff --git a/sal/qa/osl/file/osl_old_test_file.cxx b/sal/qa/osl/file/osl_old_test_file.cxx
index ea4f52f7fe26..243dd6de89de 100644
--- a/sal/qa/osl/file/osl_old_test_file.cxx
+++ b/sal/qa/osl/file/osl_old_test_file.cxx
@@ -141,6 +141,4 @@ void oldtestfile::test_file_004()
CPPUNIT_TEST_SUITE_REGISTRATION( osl_test_file::oldtestfile);
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/file/test_cpy_wrt_file.cxx b/sal/qa/osl/file/test_cpy_wrt_file.cxx
index 3c7c0e315660..1d4fac1ca2e2 100644
--- a/sal/qa/osl/file/test_cpy_wrt_file.cxx
+++ b/sal/qa/osl/file/test_cpy_wrt_file.cxx
@@ -27,10 +27,6 @@
using namespace osl;
-using ::rtl::OUString;
-using ::rtl::OUStringToOString;
-using ::rtl::OString;
-
class test_osl_writeFile : public CppUnit::TestFixture
{
public:
@@ -75,6 +71,4 @@ public:
// register test suites
CPPUNIT_TEST_SUITE_REGISTRATION(test_osl_writeFile);
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx b/sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx
index 5d8d24962e0a..51022d9e3fe2 100644
--- a/sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx
+++ b/sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx
@@ -242,6 +242,4 @@ CPPUNIT_TEST_SUITE_REGISTRATION(Test);
}
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/module/osl_Module.cxx b/sal/qa/osl/module/osl_Module.cxx
index 2cfd1dda135c..8f9a2f29fe26 100644
--- a/sal/qa/osl/module/osl_Module.cxx
+++ b/sal/qa/osl/module/osl_Module.cxx
@@ -360,8 +360,4 @@ CPPUNIT_TEST_SUITE_REGISTRATION(osl_Module::getFunctionSymbol);
} // namespace osl_Module
-// this macro creates an empty function, which will called by the RegisterAllFunctions()
-// to let the user the possibility to also register some functions by hand.
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx
index c6e07b9cce80..023bb29d68e9 100644
--- a/sal/qa/osl/mutex/osl_Mutex.cxx
+++ b/sal/qa/osl/mutex/osl_Mutex.cxx
@@ -853,8 +853,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION(osl_ResettableGuard::ctor);
CPPUNIT_TEST_SUITE_REGISTRATION(osl_ResettableGuard::reset);
} // namespace osl_ResettableGuard
-CPPUNIT_PLUGIN_IMPLEMENT();
-
// The following sets variables for GNU EMACS
// Local Variables:
// tab-width:4
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index 988df004cf70..9176118338ce 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -874,6 +874,4 @@ namespace osl_StreamPipe
} // namespace osl_StreamPipe
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 32840a69c80c..24f8daccd9f8 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -1914,8 +1914,4 @@ namespace osl_ThreadData
CPPUNIT_TEST_SUITE_REGISTRATION(osl_ThreadData::getData);
} // namespace osl_ThreadData
-// this macro creates an empty function, which will called by the RegisterAllFunctions()
-// to let the user the possibility to also register some functions by hand.
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index d97b25190403..52defec3279e 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -459,6 +459,4 @@ public:
CPPUNIT_TEST_SUITE_REGISTRATION(Test_osl_executeProcess);
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/profile/osl_old_testprofile.cxx b/sal/qa/osl/profile/osl_old_testprofile.cxx
index 903851b3ec8d..54d0430182f4 100644
--- a/sal/qa/osl/profile/osl_old_testprofile.cxx
+++ b/sal/qa/osl/profile/osl_old_testprofile.cxx
@@ -59,6 +59,4 @@ void oldtests::test_profile()
CPPUNIT_TEST_SUITE_REGISTRATION( osl_Profile::oldtests );
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/setthreadname/test-setthreadname.cxx b/sal/qa/osl/setthreadname/test-setthreadname.cxx
index 600573008eba..529ce8bd5876 100644
--- a/sal/qa/osl/setthreadname/test-setthreadname.cxx
+++ b/sal/qa/osl/setthreadname/test-setthreadname.cxx
@@ -77,6 +77,4 @@ CPPUNIT_TEST_SUITE_REGISTRATION(Test);
}
-CPPUNIT_PLUGIN_IMPLEMENT();
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */