diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-18 11:04:26 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-18 18:51:48 +0100 |
commit | 077931c77e095f789eb62b60e66b0bc87535b57c (patch) | |
tree | 209b5a24a874de29b0c58cc7b14f403021e2bc2a /sc | |
parent | 5cc9ab736aa61c7395be0f6960064de36063f677 (diff) |
sc: split CppunitTest_sc_sparkline_test into two
rename SparklineTest.cxx to ucalc_sparkline.cxx
for a follow-up refactoring
Change-Id: I2a8aeec5ffbd994c27102461a71cf0c0ec13dfed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142911
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/CppunitTest_sc_sparkline_test.mk | 1 | ||||
-rw-r--r-- | sc/CppunitTest_sc_ucalc_sparkline.mk | 75 | ||||
-rw-r--r-- | sc/Module_sc.mk | 1 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_sparkline.cxx (renamed from sc/qa/unit/SparklineTest.cxx) | 2 |
4 files changed, 78 insertions, 1 deletions
diff --git a/sc/CppunitTest_sc_sparkline_test.mk b/sc/CppunitTest_sc_sparkline_test.mk index b756de2a815e..ca678f4829d8 100644 --- a/sc/CppunitTest_sc_sparkline_test.mk +++ b/sc/CppunitTest_sc_sparkline_test.mk @@ -15,7 +15,6 @@ $(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_sparkline_test)) $(eval $(call gb_CppunitTest_add_exception_objects,sc_sparkline_test, \ sc/qa/unit/SparklineImportExportTest \ - sc/qa/unit/SparklineTest \ )) $(eval $(call gb_CppunitTest_use_externals,sc_sparkline_test, \ diff --git a/sc/CppunitTest_sc_ucalc_sparkline.mk b/sc/CppunitTest_sc_ucalc_sparkline.mk new file mode 100644 index 000000000000..99f75e086fc0 --- /dev/null +++ b/sc/CppunitTest_sc_ucalc_sparkline.mk @@ -0,0 +1,75 @@ +# -*- 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,sc_ucalc_sparkline)) + +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_ucalc_sparkline)) + +$(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc_sparkline, \ + sc/qa/unit/ucalc_sparkline \ +)) + +$(eval $(call gb_CppunitTest_use_externals,sc_ucalc_sparkline, \ + boost_headers \ + mdds_headers \ + libxml2 \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,sc_ucalc_sparkline, \ + basegfx \ + comphelper \ + cppu \ + cppuhelper \ + sal \ + salhelper \ + sax \ + sc \ + scqahelper \ + sfx \ + subsequenttest \ + test \ + tl \ + unotest \ + utl \ + vcl \ +)) + +$(eval $(call gb_CppunitTest_use_externals,sc_ucalc_sparkline,\ + boost_headers \ +)) + +$(eval $(call gb_CppunitTest_set_include,sc_ucalc_sparkline,\ + -I$(SRCDIR)/sc/source/ui/inc \ + -I$(SRCDIR)/sc/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_api,sc_ucalc_sparkline,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_CppunitTest_use_sdk_api,sc_ucalc_sparkline)) + +$(eval $(call gb_CppunitTest_use_ure,sc_ucalc_sparkline)) +$(eval $(call gb_CppunitTest_use_vcl,sc_ucalc_sparkline)) + +$(eval $(call gb_CppunitTest_use_rdb,sc_ucalc_sparkline,services)) + +$(eval $(call gb_CppunitTest_use_components,sc_ucalc_sparkline)) + +$(eval $(call gb_CppunitTest_use_configuration,sc_ucalc_sparkline)) + +$(eval $(call gb_CppunitTest_add_arguments,sc_ucalc_sparkline, \ + -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk index ea56a422091c..c829ee0ae3ca 100644 --- a/sc/Module_sc.mk +++ b/sc/Module_sc.mk @@ -52,6 +52,7 @@ $(eval $(call gb_Module_add_check_targets,sc,\ CppunitTest_sc_ucalc_rangelst \ CppunitTest_sc_ucalc_range \ CppunitTest_sc_ucalc_sharedformula \ + CppunitTest_sc_ucalc_sparkline \ CppunitTest_sc_ucalc_sort \ CppunitTest_sc_bugfix_test \ CppunitTest_sc_filters_test \ diff --git a/sc/qa/unit/SparklineTest.cxx b/sc/qa/unit/ucalc_sparkline.cxx index d6d8c9d23a2e..d2aa3b0ac342 100644 --- a/sc/qa/unit/SparklineTest.cxx +++ b/sc/qa/unit/ucalc_sparkline.cxx @@ -954,4 +954,6 @@ void SparklineTest::testSparklineList() CPPUNIT_TEST_SUITE_REGISTRATION(SparklineTest); +CPPUNIT_PLUGIN_IMPLEMENT(); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |