diff --git a/sw/CppunitTest_sw_apitests.mk b/sw/CppunitTest_sw_apitests.mk deleted file mode 100644 index 04192c78b0c9..000000000000 --- a/sw/CppunitTest_sw_apitests.mk +++ /dev/null @@ -1,111 +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,sw_apitests)) - -$(eval $(call gb_CppunitTest_use_external,sw_apitests,boost_headers)) - -$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_apitests)) - -$(eval $(call gb_CppunitTest_add_exception_objects,sw_apitests, \ - sw/qa/api/SwXAutoTextContainer \ - sw/qa/api/SwXBodyText \ - sw/qa/api/SwXBookmark \ - sw/qa/api/SwXBookmarks \ - sw/qa/api/SwXChapterNumbering \ - sw/qa/api/SwXDocumentIndex \ - sw/qa/api/SwXDocumentIndexes \ - sw/qa/api/SwXDocumentIndexMark \ - sw/qa/api/SwXDocumentSettings \ - sw/qa/api/SwXFieldEnumeration \ - sw/qa/api/SwXFrames \ - sw/qa/api/SwXFootnote \ - sw/qa/api/SwXFootnoteProperties \ - sw/qa/api/SwXFootnoteText \ - sw/qa/api/SwXFootnotes \ - sw/qa/api/SwXHeadFootText \ - sw/qa/api/SwXNumberingRules \ - sw/qa/api/SwXParagraphEnumeration \ - sw/qa/api/SwXReferenceMark \ - sw/qa/api/SwXStyleFamilies \ - sw/qa/api/SwXReferenceMarks \ - sw/qa/api/SwXTableCellText \ - sw/qa/api/SwXTextEmbeddedObjects \ - sw/qa/api/SwXTextFrame \ - sw/qa/api/SwXTextField \ - sw/qa/api/SwXTextFieldMasters \ - sw/qa/api/SwXTextFieldTypes \ - sw/qa/api/SwXTextSections \ - sw/qa/api/SwXTextTable \ - sw/qa/api/SwXTextTables \ -)) - -$(eval $(call gb_CppunitTest_use_libraries,sw_apitests, \ - basegfx \ - comphelper \ - cppu \ - cppuhelper \ - drawinglayer \ - docmodel \ - editeng \ - for \ - forui \ - i18nlangtag \ - msfilter \ - oox \ - sal \ - salhelper \ - sax \ - sb \ - sw \ - sfx \ - sot \ - svl \ - svt \ - svx \ - svxcore \ - subsequenttest \ - test \ - tl \ - tk \ - ucbhelper \ - unotest \ - utl \ - $(call gb_Helper_optional,SCRIPTING, \ - vbahelper) \ - vcl \ - xo \ -)) - -$(eval $(call gb_CppunitTest_set_include,sw_apitests,\ - -I$(SRCDIR)/sw/inc \ - $$(INCLUDE) \ -)) - -$(eval $(call gb_CppunitTest_use_api,sw_apitests,\ - offapi \ - udkapi \ -)) - -$(eval $(call gb_CppunitTest_use_ure,sw_apitests)) -$(eval $(call gb_CppunitTest_use_vcl,sw_apitests)) -$(eval $(call gb_CppunitTest_use_configuration,sw_apitests)) - -$(eval $(call gb_CppunitTest_use_rdb,sw_apitests,services)) - -$(eval $(call gb_CppunitTest_use_uiconfigs,sw_apitests, \ - svt \ - svx \ -)) - -$(call gb_CppunitTest_get_target,sw_apitests): $(call gb_AllLangPackage_get_target,autotextshare) - -# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXAutoTextContainer.mk b/sw/CppunitTest_sw_apitests_SwXAutoTextContainer.mk new file mode 100644 index 000000000000..50d0fe5920b4 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXAutoTextContainer.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXAutoTextContainer)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXBodyText.mk b/sw/CppunitTest_sw_apitests_SwXBodyText.mk new file mode 100644 index 000000000000..f5697ef7edc0 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXBodyText.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXBodyText)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXBookmark.mk b/sw/CppunitTest_sw_apitests_SwXBookmark.mk new file mode 100644 index 000000000000..6a2d3d6840d2 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXBookmark.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXBookmark)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXBookmarks.mk b/sw/CppunitTest_sw_apitests_SwXBookmarks.mk new file mode 100644 index 000000000000..1f2bffebfd8f --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXBookmarks.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXBookmarks)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXChapterNumbering.mk b/sw/CppunitTest_sw_apitests_SwXChapterNumbering.mk new file mode 100644 index 000000000000..e36a7994cd65 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXChapterNumbering.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXChapterNumbering)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXDocumentIndex.mk b/sw/CppunitTest_sw_apitests_SwXDocumentIndex.mk new file mode 100644 index 000000000000..133fd821a935 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXDocumentIndex.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXDocumentIndex)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXDocumentIndexMark.mk b/sw/CppunitTest_sw_apitests_SwXDocumentIndexMark.mk new file mode 100644 index 000000000000..39c4880fd365 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXDocumentIndexMark.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXDocumentIndexMark)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXDocumentIndexes.mk b/sw/CppunitTest_sw_apitests_SwXDocumentIndexes.mk new file mode 100644 index 000000000000..8f6dac303e15 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXDocumentIndexes.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXDocumentIndexes)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXDocumentSettings.mk b/sw/CppunitTest_sw_apitests_SwXDocumentSettings.mk new file mode 100644 index 000000000000..c7d13ae884c6 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXDocumentSettings.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXDocumentSettings)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXFieldEnumeration.mk b/sw/CppunitTest_sw_apitests_SwXFieldEnumeration.mk new file mode 100644 index 000000000000..2ece2e33087b --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXFieldEnumeration.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXFieldEnumeration)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXFootnote.mk b/sw/CppunitTest_sw_apitests_SwXFootnote.mk new file mode 100644 index 000000000000..a8131875fbdd --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXFootnote.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXFootnote)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXFootnoteProperties.mk b/sw/CppunitTest_sw_apitests_SwXFootnoteProperties.mk new file mode 100644 index 000000000000..695e22e7cdb0 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXFootnoteProperties.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXFootnoteProperties)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXFootnoteText.mk b/sw/CppunitTest_sw_apitests_SwXFootnoteText.mk new file mode 100644 index 000000000000..fc8bcced864c --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXFootnoteText.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXFootnoteText)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXFootnotes.mk b/sw/CppunitTest_sw_apitests_SwXFootnotes.mk new file mode 100644 index 000000000000..dd37b06ef4c4 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXFootnotes.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXFootnotes)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXFrames.mk b/sw/CppunitTest_sw_apitests_SwXFrames.mk new file mode 100644 index 000000000000..d57be82b3e23 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXFrames.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXFrames)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXHeadFootText.mk b/sw/CppunitTest_sw_apitests_SwXHeadFootText.mk new file mode 100644 index 000000000000..724bda338157 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXHeadFootText.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXHeadFootText)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXNumberingRules.mk b/sw/CppunitTest_sw_apitests_SwXNumberingRules.mk new file mode 100644 index 000000000000..817b6176caf8 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXNumberingRules.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXNumberingRules)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXParagraphEnumeration.mk b/sw/CppunitTest_sw_apitests_SwXParagraphEnumeration.mk new file mode 100644 index 000000000000..d8830b42babe --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXParagraphEnumeration.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXParagraphEnumeration)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXReferenceMark.mk b/sw/CppunitTest_sw_apitests_SwXReferenceMark.mk new file mode 100644 index 000000000000..5daab73cf58d --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXReferenceMark.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXReferenceMark)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXReferenceMarks.mk b/sw/CppunitTest_sw_apitests_SwXReferenceMarks.mk new file mode 100644 index 000000000000..b1d2067c9b98 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXReferenceMarks.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXReferenceMarks)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXStyleFamilies.mk b/sw/CppunitTest_sw_apitests_SwXStyleFamilies.mk new file mode 100644 index 000000000000..a4d93c5a9fb2 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXStyleFamilies.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXStyleFamilies)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTableCellText.mk b/sw/CppunitTest_sw_apitests_SwXTableCellText.mk new file mode 100644 index 000000000000..422b60a8647b --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTableCellText.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTableCellText)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextEmbeddedObjects.mk b/sw/CppunitTest_sw_apitests_SwXTextEmbeddedObjects.mk new file mode 100644 index 000000000000..d704802fea3b --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextEmbeddedObjects.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextEmbeddedObjects)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextField.mk b/sw/CppunitTest_sw_apitests_SwXTextField.mk new file mode 100644 index 000000000000..a25a30bcf84f --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextField.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextField)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextFieldMasters.mk b/sw/CppunitTest_sw_apitests_SwXTextFieldMasters.mk new file mode 100644 index 000000000000..11b106b9faf5 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextFieldMasters.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextFieldMasters)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextFieldTypes.mk b/sw/CppunitTest_sw_apitests_SwXTextFieldTypes.mk new file mode 100644 index 000000000000..69589887b81f --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextFieldTypes.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextFieldTypes)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextFrame.mk b/sw/CppunitTest_sw_apitests_SwXTextFrame.mk new file mode 100644 index 000000000000..340df527498c --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextFrame.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextFrame)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextSections.mk b/sw/CppunitTest_sw_apitests_SwXTextSections.mk new file mode 100644 index 000000000000..cf7253f2434c --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextSections.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextSections)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextTable.mk b/sw/CppunitTest_sw_apitests_SwXTextTable.mk new file mode 100644 index 000000000000..8e564cf95e9a --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextTable.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextTable)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_apitests_SwXTextTables.mk b/sw/CppunitTest_sw_apitests_SwXTextTables.mk new file mode 100644 index 000000000000..2f6e967db8e9 --- /dev/null +++ b/sw/CppunitTest_sw_apitests_SwXTextTables.mk @@ -0,0 +1,14 @@ +# -*- 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 sw_unoapi_common,SwXTextTables)) + +# vim: set noet sw=4 ts=4: diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk index 22b6a57804df..6e2c389849a7 100644 --- a/sw/Module_sw.mk +++ b/sw/Module_sw.mk @@ -17,6 +17,7 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # +include $(SRCDIR)/sw/common_unoapi_tests.mk include $(SRCDIR)/sw/layoutwriter_setup.mk include $(SRCDIR)/sw/ooxmlexport_setup.mk include $(SRCDIR)/sw/rtfexport_setup.mk @@ -152,7 +153,36 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\ CppunitTest_sw_globalfilter \ CppunitTest_sw_accessible_relation_set \ CppunitTest_sw_apiterminate \ - CppunitTest_sw_apitests \ + CppunitTest_sw_apitests_SwXAutoTextContainer \ + CppunitTest_sw_apitests_SwXBodyText \ + CppunitTest_sw_apitests_SwXBookmark \ + CppunitTest_sw_apitests_SwXBookmarks \ + CppunitTest_sw_apitests_SwXChapterNumbering \ + CppunitTest_sw_apitests_SwXDocumentIndex \ + CppunitTest_sw_apitests_SwXDocumentIndexes \ + CppunitTest_sw_apitests_SwXDocumentIndexMark \ + CppunitTest_sw_apitests_SwXDocumentSettings \ + CppunitTest_sw_apitests_SwXFieldEnumeration \ + CppunitTest_sw_apitests_SwXFrames \ + CppunitTest_sw_apitests_SwXFootnote \ + CppunitTest_sw_apitests_SwXFootnoteProperties \ + CppunitTest_sw_apitests_SwXFootnoteText \ + CppunitTest_sw_apitests_SwXFootnotes \ + CppunitTest_sw_apitests_SwXHeadFootText \ + CppunitTest_sw_apitests_SwXNumberingRules \ + CppunitTest_sw_apitests_SwXParagraphEnumeration \ + CppunitTest_sw_apitests_SwXReferenceMark \ + CppunitTest_sw_apitests_SwXStyleFamilies \ + CppunitTest_sw_apitests_SwXReferenceMarks \ + CppunitTest_sw_apitests_SwXTableCellText \ + CppunitTest_sw_apitests_SwXTextEmbeddedObjects \ + CppunitTest_sw_apitests_SwXTextFrame \ + CppunitTest_sw_apitests_SwXTextField \ + CppunitTest_sw_apitests_SwXTextFieldMasters \ + CppunitTest_sw_apitests_SwXTextFieldTypes \ + CppunitTest_sw_apitests_SwXTextSections \ + CppunitTest_sw_apitests_SwXTextTable \ + CppunitTest_sw_apitests_SwXTextTables \ CppunitTest_sw_autocorrect \ CppunitTest_sw_unowriter \ CppunitTest_sw_core_text \ diff --git a/sw/common_unoapi_tests.mk b/sw/common_unoapi_tests.mk new file mode 100644 index 000000000000..0a0105b3ca8e --- /dev/null +++ b/sw/common_unoapi_tests.mk @@ -0,0 +1,90 @@ +# -*- 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/. +# +#************************************************************************* + +# template for unoapi tests +define sw_unoapi_common + +$(eval $(call gb_CppunitTest_CppunitTest,sw_apitests_$(1))) + +$(eval $(call gb_CppunitTest_use_externals,sw_apitests_$(1), \ + boost_headers \ + libxml2 \ +)) + + +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_apitests_$(1))) + +$(eval $(call gb_CppunitTest_add_exception_objects,sw_apitests_$(1), \ + sw/qa/api/$(1) \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,sw_apitests_$(1), \ + basegfx \ + comphelper \ + cppu \ + cppuhelper \ + drawinglayer \ + docmodel \ + editeng \ + for \ + forui \ + i18nlangtag \ + msfilter \ + oox \ + sal \ + salhelper \ + sax \ + sb \ + sw \ + sfx \ + sot \ + svl \ + svt \ + svx \ + svxcore \ + subsequenttest \ + test \ + tl \ + tk \ + ucbhelper \ + unotest \ + utl \ + $(call gb_Helper_optional,SCRIPTING, \ + vbahelper) \ + vcl \ + xo \ +)) + +$(eval $(call gb_CppunitTest_set_include,sw_apitests_$(1),\ + -I$(SRCDIR)/sw/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_api,sw_apitests_$(1),\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_CppunitTest_use_ure,sw_apitests_$(1))) +$(eval $(call gb_CppunitTest_use_vcl,sw_apitests_$(1))) +$(eval $(call gb_CppunitTest_use_configuration,sw_apitests_$(1))) + +$(eval $(call gb_CppunitTest_use_rdb,sw_apitests_$(1),services)) + +$(eval $(call gb_CppunitTest_use_uiconfigs,sw_apitests_$(1), \ + svt \ + svx \ +)) + +$(call gb_CppunitTest_get_target,sw_apitests_$(1)): $(call gb_AllLangPackage_get_target,autotextshare) +endef + +# vim: set noet sw=4 ts=4: diff --git a/sw/qa/api/SwXAutoTextContainer.cxx b/sw/qa/api/SwXAutoTextContainer.cxx index c87952f091fb..c39a50580cf1 100644 --- a/sw/qa/api/SwXAutoTextContainer.cxx +++ b/sw/qa/api/SwXAutoTextContainer.cxx @@ -83,4 +83,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXAutoTextContainer); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXBodyText.cxx b/sw/qa/api/SwXBodyText.cxx index 3d727d9910ad..56ecad4fd7e8 100644 --- a/sw/qa/api/SwXBodyText.cxx +++ b/sw/qa/api/SwXBodyText.cxx @@ -80,4 +80,6 @@ Reference SwXBodyText::init() CPPUNIT_TEST_SUITE_REGISTRATION(SwXBodyText); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXBookmark.cxx b/sw/qa/api/SwXBookmark.cxx index d2233c9b9ace..67c54d2870db 100644 --- a/sw/qa/api/SwXBookmark.cxx +++ b/sw/qa/api/SwXBookmark.cxx @@ -82,4 +82,6 @@ private: CPPUNIT_TEST_SUITE_REGISTRATION(SwXBookmark); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXBookmarks.cxx b/sw/qa/api/SwXBookmarks.cxx index 25ef2a0e29e3..0be318dd89a9 100644 --- a/sw/qa/api/SwXBookmarks.cxx +++ b/sw/qa/api/SwXBookmarks.cxx @@ -75,4 +75,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXBookmarks); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXChapterNumbering.cxx b/sw/qa/api/SwXChapterNumbering.cxx index ed2eb4298a5f..822884b918a7 100644 --- a/sw/qa/api/SwXChapterNumbering.cxx +++ b/sw/qa/api/SwXChapterNumbering.cxx @@ -85,4 +85,6 @@ void SwXChapterNumbering::setUp() CPPUNIT_TEST_SUITE_REGISTRATION(SwXChapterNumbering); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXDocumentIndexMark.cxx b/sw/qa/api/SwXDocumentIndexMark.cxx index fa764c7ff527..650cadfc2824 100644 --- a/sw/qa/api/SwXDocumentIndexMark.cxx +++ b/sw/qa/api/SwXDocumentIndexMark.cxx @@ -93,4 +93,6 @@ uno::Reference SwXDocumentIndexMark::getTextContent() { retu CPPUNIT_TEST_SUITE_REGISTRATION(SwXDocumentIndexMark); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXDocumentIndexes.cxx b/sw/qa/api/SwXDocumentIndexes.cxx index a94eae58ddc2..fccad334266f 100644 --- a/sw/qa/api/SwXDocumentIndexes.cxx +++ b/sw/qa/api/SwXDocumentIndexes.cxx @@ -74,4 +74,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXDocumentIndexes); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXDocumentSettings.cxx b/sw/qa/api/SwXDocumentSettings.cxx index 83fd9ee9dc49..eda76e61de27 100644 --- a/sw/qa/api/SwXDocumentSettings.cxx +++ b/sw/qa/api/SwXDocumentSettings.cxx @@ -66,4 +66,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION(SwXDocumentSettings); } // end anonymous namespace +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXFieldEnumeration.cxx b/sw/qa/api/SwXFieldEnumeration.cxx index 8f1a379b646e..a6cb76467834 100644 --- a/sw/qa/api/SwXFieldEnumeration.cxx +++ b/sw/qa/api/SwXFieldEnumeration.cxx @@ -101,4 +101,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXFieldEnumeration); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXFootnote.cxx b/sw/qa/api/SwXFootnote.cxx index d98dfce0b77a..7335ae6bfc19 100644 --- a/sw/qa/api/SwXFootnote.cxx +++ b/sw/qa/api/SwXFootnote.cxx @@ -108,4 +108,6 @@ Reference SwXFootnote::getTextContent() { return mxTextConte CPPUNIT_TEST_SUITE_REGISTRATION(SwXFootnote); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXFootnoteProperties.cxx b/sw/qa/api/SwXFootnoteProperties.cxx index b616a5c5ba99..fa39756020f7 100644 --- a/sw/qa/api/SwXFootnoteProperties.cxx +++ b/sw/qa/api/SwXFootnoteProperties.cxx @@ -72,4 +72,6 @@ Reference SwXFootnoteProperties::init() CPPUNIT_TEST_SUITE_REGISTRATION(SwXFootnoteProperties); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXFootnoteText.cxx b/sw/qa/api/SwXFootnoteText.cxx index 6e359af7733b..4b00d5b1381f 100644 --- a/sw/qa/api/SwXFootnoteText.cxx +++ b/sw/qa/api/SwXFootnoteText.cxx @@ -100,4 +100,6 @@ Reference SwXFootnoteText::init() CPPUNIT_TEST_SUITE_REGISTRATION(SwXFootnoteText); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXFootnotes.cxx b/sw/qa/api/SwXFootnotes.cxx index 36ff83966da3..9261b328a120 100644 --- a/sw/qa/api/SwXFootnotes.cxx +++ b/sw/qa/api/SwXFootnotes.cxx @@ -72,4 +72,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXFootnotes); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXFrames.cxx b/sw/qa/api/SwXFrames.cxx index 80cfe1840c96..e2a9a6fee11e 100644 --- a/sw/qa/api/SwXFrames.cxx +++ b/sw/qa/api/SwXFrames.cxx @@ -80,4 +80,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXFramesText); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXHeadFootText.cxx b/sw/qa/api/SwXHeadFootText.cxx index 4d19bfdcd9cc..cf5db1c2be0e 100644 --- a/sw/qa/api/SwXHeadFootText.cxx +++ b/sw/qa/api/SwXHeadFootText.cxx @@ -102,4 +102,6 @@ Reference SwXHeadFootText::init() CPPUNIT_TEST_SUITE_REGISTRATION(SwXHeadFootText); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXNumberingRules.cxx b/sw/qa/api/SwXNumberingRules.cxx index c622a89d379b..e6cbcf8fbfde 100644 --- a/sw/qa/api/SwXNumberingRules.cxx +++ b/sw/qa/api/SwXNumberingRules.cxx @@ -183,4 +183,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXNumberingRules); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXParagraphEnumeration.cxx b/sw/qa/api/SwXParagraphEnumeration.cxx index f579ae414daf..2be41a2c2a9d 100644 --- a/sw/qa/api/SwXParagraphEnumeration.cxx +++ b/sw/qa/api/SwXParagraphEnumeration.cxx @@ -88,4 +88,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXParagraphEnumeration); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXReferenceMark.cxx b/sw/qa/api/SwXReferenceMark.cxx index 92e547c8ab98..c396d43e4807 100644 --- a/sw/qa/api/SwXReferenceMark.cxx +++ b/sw/qa/api/SwXReferenceMark.cxx @@ -88,4 +88,6 @@ private: CPPUNIT_TEST_SUITE_REGISTRATION(SwXReferenceMark); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXReferenceMarks.cxx b/sw/qa/api/SwXReferenceMarks.cxx index 57ebda368c31..ee327d24020e 100644 --- a/sw/qa/api/SwXReferenceMarks.cxx +++ b/sw/qa/api/SwXReferenceMarks.cxx @@ -92,4 +92,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXReferenceMarks); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXStyleFamilies.cxx b/sw/qa/api/SwXStyleFamilies.cxx index 7b48a4318a53..31853e46dadf 100644 --- a/sw/qa/api/SwXStyleFamilies.cxx +++ b/sw/qa/api/SwXStyleFamilies.cxx @@ -71,4 +71,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXStyleFamilies); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTableCellText.cxx b/sw/qa/api/SwXTableCellText.cxx index c6820f975e04..28fd80c06b88 100644 --- a/sw/qa/api/SwXTableCellText.cxx +++ b/sw/qa/api/SwXTableCellText.cxx @@ -93,4 +93,6 @@ private: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTableCellText); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextEmbeddedObjects.cxx b/sw/qa/api/SwXTextEmbeddedObjects.cxx index e3165493134e..abe057e36652 100644 --- a/sw/qa/api/SwXTextEmbeddedObjects.cxx +++ b/sw/qa/api/SwXTextEmbeddedObjects.cxx @@ -91,4 +91,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextEmbeddedObjects); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextField.cxx b/sw/qa/api/SwXTextField.cxx index fc3882ef7c00..dcd3d40b47ab 100644 --- a/sw/qa/api/SwXTextField.cxx +++ b/sw/qa/api/SwXTextField.cxx @@ -102,4 +102,6 @@ private: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextField); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextFieldMasters.cxx b/sw/qa/api/SwXTextFieldMasters.cxx index 50d88404af62..317b7dbbb839 100644 --- a/sw/qa/api/SwXTextFieldMasters.cxx +++ b/sw/qa/api/SwXTextFieldMasters.cxx @@ -76,4 +76,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextFieldMasters); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextFieldTypes.cxx b/sw/qa/api/SwXTextFieldTypes.cxx index eaf44ca2df67..164eb879e514 100644 --- a/sw/qa/api/SwXTextFieldTypes.cxx +++ b/sw/qa/api/SwXTextFieldTypes.cxx @@ -71,4 +71,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextFieldTypes); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextFrame.cxx b/sw/qa/api/SwXTextFrame.cxx index 4b11138cba8c..ea0940d8d119 100644 --- a/sw/qa/api/SwXTextFrame.cxx +++ b/sw/qa/api/SwXTextFrame.cxx @@ -65,4 +65,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextFrame); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextSections.cxx b/sw/qa/api/SwXTextSections.cxx index c870a619cad1..85b506bef3a9 100644 --- a/sw/qa/api/SwXTextSections.cxx +++ b/sw/qa/api/SwXTextSections.cxx @@ -90,4 +90,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextSections); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextTable.cxx b/sw/qa/api/SwXTextTable.cxx index 83971f2c3eaf..9bbdc779c1f7 100644 --- a/sw/qa/api/SwXTextTable.cxx +++ b/sw/qa/api/SwXTextTable.cxx @@ -66,4 +66,6 @@ Reference SwXTextTable::init() CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextTable); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/qa/api/SwXTextTables.cxx b/sw/qa/api/SwXTextTables.cxx index b16e36adf2f8..ba62782d8a07 100644 --- a/sw/qa/api/SwXTextTables.cxx +++ b/sw/qa/api/SwXTextTables.cxx @@ -87,4 +87,6 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(SwXTextTables); } +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */