summaryrefslogtreecommitdiffstats
path: root/i18npool
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2022-02-25 21:17:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-02-28 08:49:26 +0100
commit637e7ddf1e3091191b6835c7f66c71f014dfaa19 (patch)
treef6318376145624780b5c5ca64259ab78b7b2acca /i18npool
parentFN_PARAM_NUM_LEVEL is dead (diff)
downloadcore-637e7ddf1e3091191b6835c7f66c71f014dfaa19.tar.gz
core-637e7ddf1e3091191b6835c7f66c71f014dfaa19.zip
Remove redundant _test from i18npool/CppunitTest*
As suggested in <https://gerrit.libreoffice.org/c/core/+/125813>, the name of the CppunitTests contain a redundant '_test'. This patch removes this additional word from the name of all the CppunitTests in i18npool. The new names for the tests in i18npool are: CppunitTest_i18npool_break_iterator CppunitTest_i18npool_calendar CppunitTest_i18npool_characterclassification CppunitTest_i18npool_defaultnumberingprovider (unchanged) CppunitTest_i18npool_ordinalsuffix CppunitTest_i18npool_textsearch Change-Id: Ie613c0048a7f156c7d815620f2ccb6578c069e8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130542 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/CppunitTest_i18npool_breakiterator.mk37
-rw-r--r--i18npool/CppunitTest_i18npool_calendar.mk (renamed from i18npool/CppunitTest_i18npool_test_calendar.mk)16
-rw-r--r--i18npool/CppunitTest_i18npool_characterclassification.mk31
-rw-r--r--i18npool/CppunitTest_i18npool_ordinalsuffix.mk (renamed from i18npool/CppunitTest_i18npool_test_ordinalsuffix.mk)12
-rw-r--r--i18npool/CppunitTest_i18npool_test_breakiterator.mk37
-rw-r--r--i18npool/CppunitTest_i18npool_test_characterclassification.mk31
-rw-r--r--i18npool/CppunitTest_i18npool_textsearch.mk (renamed from i18npool/CppunitTest_i18npool_test_textsearch.mk)14
-rw-r--r--i18npool/Module_i18npool.mk10
8 files changed, 94 insertions, 94 deletions
diff --git a/i18npool/CppunitTest_i18npool_breakiterator.mk b/i18npool/CppunitTest_i18npool_breakiterator.mk
new file mode 100644
index 000000000000..656d9aa75ccd
--- /dev/null
+++ b/i18npool/CppunitTest_i18npool_breakiterator.mk
@@ -0,0 +1,37 @@
+# -*- 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,i18npool_break_iterator))
+
+$(eval $(call gb_CppunitTest_use_external,i18npool_break_iterator,icu_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_break_iterator))
+
+$(eval $(call gb_CppunitTest_use_libraries,i18npool_break_iterator,\
+ cppu \
+ cppuhelper \
+ sal \
+ unotest \
+))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_break_iterator,\
+ i18npool/qa/cppunit/test_breakiterator \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,i18npool_break_iterator))
+
+$(eval $(call gb_CppunitTest_use_components,i18npool_break_iterator,\
+ i18npool/util/i18npool \
+))
+
+$(call gb_CppunitTest_get_target,i18npool_break_iterator) : \
+ $(call gb_Library_get_target,dict_ja) \
+ $(call gb_Library_get_target,dict_zh)
+
+# vim: set noet sw=4 ts=4:
diff --git a/i18npool/CppunitTest_i18npool_test_calendar.mk b/i18npool/CppunitTest_i18npool_calendar.mk
index 85a3b2fbb576..701dfec27db6 100644
--- a/i18npool/CppunitTest_i18npool_test_calendar.mk
+++ b/i18npool/CppunitTest_i18npool_calendar.mk
@@ -7,16 +7,16 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-$(eval $(call gb_CppunitTest_CppunitTest,i18npool_test_calendar))
+$(eval $(call gb_CppunitTest_CppunitTest,i18npool_calendar))
-$(eval $(call gb_CppunitTest_set_include,i18npool_test_calendar,\
+$(eval $(call gb_CppunitTest_set_include,i18npool_calendar,\
$$(INCLUDE) \
-I$(SRCDIR)/i18npool/inc \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_test_calendar))
+$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_calendar))
-$(eval $(call gb_CppunitTest_use_libraries,i18npool_test_calendar,\
+$(eval $(call gb_CppunitTest_use_libraries,i18npool_calendar,\
cppu \
cppuhelper \
sal \
@@ -24,19 +24,19 @@ $(eval $(call gb_CppunitTest_use_libraries,i18npool_test_calendar,\
i18npool \
))
-$(eval $(call gb_CppunitTest_use_externals,i18npool_test_calendar,\
+$(eval $(call gb_CppunitTest_use_externals,i18npool_calendar,\
icui18n \
icuuc \
icu_headers \
))
-$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_calendar,\
+$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_calendar,\
i18npool/qa/cppunit/test_calendar \
))
-$(eval $(call gb_CppunitTest_use_ure,i18npool_test_calendar))
+$(eval $(call gb_CppunitTest_use_ure,i18npool_calendar))
-$(eval $(call gb_CppunitTest_use_components,i18npool_test_calendar,\
+$(eval $(call gb_CppunitTest_use_components,i18npool_calendar,\
i18npool/util/i18npool \
))
diff --git a/i18npool/CppunitTest_i18npool_characterclassification.mk b/i18npool/CppunitTest_i18npool_characterclassification.mk
new file mode 100644
index 000000000000..5c94ac9065ff
--- /dev/null
+++ b/i18npool/CppunitTest_i18npool_characterclassification.mk
@@ -0,0 +1,31 @@
+# -*- 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,i18npool_characterclassification))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_characterclassification))
+
+$(eval $(call gb_CppunitTest_use_libraries,i18npool_characterclassification,\
+ cppu \
+ cppuhelper \
+ sal \
+ unotest \
+))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_characterclassification,\
+ i18npool/qa/cppunit/test_characterclassification \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,i18npool_characterclassification))
+
+$(eval $(call gb_CppunitTest_use_components,i18npool_characterclassification,\
+ i18npool/util/i18npool \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/i18npool/CppunitTest_i18npool_test_ordinalsuffix.mk b/i18npool/CppunitTest_i18npool_ordinalsuffix.mk
index a69e703c9c33..6f48512e5331 100644
--- a/i18npool/CppunitTest_i18npool_test_ordinalsuffix.mk
+++ b/i18npool/CppunitTest_i18npool_ordinalsuffix.mk
@@ -7,24 +7,24 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-$(eval $(call gb_CppunitTest_CppunitTest,i18npool_test_ordinalsuffix))
+$(eval $(call gb_CppunitTest_CppunitTest,i18npool_ordinalsuffix))
-$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_test_ordinalsuffix))
+$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_ordinalsuffix))
-$(eval $(call gb_CppunitTest_use_libraries,i18npool_test_ordinalsuffix,\
+$(eval $(call gb_CppunitTest_use_libraries,i18npool_ordinalsuffix,\
cppu \
cppuhelper \
sal \
unotest \
))
-$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_ordinalsuffix,\
+$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_ordinalsuffix,\
i18npool/qa/cppunit/test_ordinalsuffix \
))
-$(eval $(call gb_CppunitTest_use_ure,i18npool_test_ordinalsuffix))
+$(eval $(call gb_CppunitTest_use_ure,i18npool_ordinalsuffix))
-$(eval $(call gb_CppunitTest_use_components,i18npool_test_ordinalsuffix,\
+$(eval $(call gb_CppunitTest_use_components,i18npool_ordinalsuffix,\
i18npool/util/i18npool \
))
diff --git a/i18npool/CppunitTest_i18npool_test_breakiterator.mk b/i18npool/CppunitTest_i18npool_test_breakiterator.mk
deleted file mode 100644
index 4aa538114a33..000000000000
--- a/i18npool/CppunitTest_i18npool_test_breakiterator.mk
+++ /dev/null
@@ -1,37 +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,i18npool_test_breakiterator))
-
-$(eval $(call gb_CppunitTest_use_external,i18npool_test_breakiterator,icu_headers))
-
-$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_test_breakiterator))
-
-$(eval $(call gb_CppunitTest_use_libraries,i18npool_test_breakiterator,\
- cppu \
- cppuhelper \
- sal \
- unotest \
-))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_breakiterator,\
- i18npool/qa/cppunit/test_breakiterator \
-))
-
-$(eval $(call gb_CppunitTest_use_ure,i18npool_test_breakiterator))
-
-$(eval $(call gb_CppunitTest_use_components,i18npool_test_breakiterator,\
- i18npool/util/i18npool \
-))
-
-$(call gb_CppunitTest_get_target,i18npool_test_breakiterator) : \
- $(call gb_Library_get_target,dict_ja) \
- $(call gb_Library_get_target,dict_zh)
-
-# vim: set noet sw=4 ts=4:
diff --git a/i18npool/CppunitTest_i18npool_test_characterclassification.mk b/i18npool/CppunitTest_i18npool_test_characterclassification.mk
deleted file mode 100644
index e9999b89966d..000000000000
--- a/i18npool/CppunitTest_i18npool_test_characterclassification.mk
+++ /dev/null
@@ -1,31 +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,i18npool_test_characterclassification))
-
-$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_test_characterclassification))
-
-$(eval $(call gb_CppunitTest_use_libraries,i18npool_test_characterclassification,\
- cppu \
- cppuhelper \
- sal \
- unotest \
-))
-
-$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_characterclassification,\
- i18npool/qa/cppunit/test_characterclassification \
-))
-
-$(eval $(call gb_CppunitTest_use_ure,i18npool_test_characterclassification))
-
-$(eval $(call gb_CppunitTest_use_components,i18npool_test_characterclassification,\
- i18npool/util/i18npool \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/i18npool/CppunitTest_i18npool_test_textsearch.mk b/i18npool/CppunitTest_i18npool_textsearch.mk
index f48c93227f2b..e556abda2b89 100644
--- a/i18npool/CppunitTest_i18npool_test_textsearch.mk
+++ b/i18npool/CppunitTest_i18npool_textsearch.mk
@@ -7,28 +7,28 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-$(eval $(call gb_CppunitTest_CppunitTest,i18npool_test_textsearch))
+$(eval $(call gb_CppunitTest_CppunitTest,i18npool_textsearch))
-$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_test_textsearch))
+$(eval $(call gb_CppunitTest_use_sdk_api,i18npool_textsearch))
-$(eval $(call gb_CppunitTest_use_ure,i18npool_test_textsearch))
+$(eval $(call gb_CppunitTest_use_ure,i18npool_textsearch))
-$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_textsearch,\
+$(eval $(call gb_CppunitTest_add_exception_objects,i18npool_textsearch,\
i18npool/qa/cppunit/test_textsearch \
))
-$(eval $(call gb_CppunitTest_use_components,i18npool_test_textsearch,\
+$(eval $(call gb_CppunitTest_use_components,i18npool_textsearch,\
i18npool/source/search/i18nsearch \
i18npool/util/i18npool \
))
-$(eval $(call gb_CppunitTest_use_externals,i18npool_test_textsearch,\
+$(eval $(call gb_CppunitTest_use_externals,i18npool_textsearch,\
icui18n \
icuuc \
icu_headers \
))
-$(eval $(call gb_CppunitTest_use_libraries,i18npool_test_textsearch,\
+$(eval $(call gb_CppunitTest_use_libraries,i18npool_textsearch,\
cppu \
cppuhelper \
sal \
diff --git a/i18npool/Module_i18npool.mk b/i18npool/Module_i18npool.mk
index 1926fdd70d82..e66a08a648ab 100644
--- a/i18npool/Module_i18npool.mk
+++ b/i18npool/Module_i18npool.mk
@@ -39,11 +39,11 @@ $(eval $(call gb_Module_add_targets_for_build,i18npool,\
))
$(eval $(call gb_Module_add_check_targets,i18npool,\
- CppunitTest_i18npool_test_breakiterator \
- CppunitTest_i18npool_test_characterclassification \
- CppunitTest_i18npool_test_ordinalsuffix \
- CppunitTest_i18npool_test_textsearch \
- CppunitTest_i18npool_test_calendar \
+ CppunitTest_i18npool_breakiterator \
+ CppunitTest_i18npool_characterclassification \
+ CppunitTest_i18npool_ordinalsuffix \
+ CppunitTest_i18npool_textsearch \
+ CppunitTest_i18npool_calendar \
CppunitTest_i18npool_defaultnumberingprovider \
))