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>
This commit is contained in:
Xisco Fauli
2022-11-18 18:51:48 +01:00
parent 5cc9ab736a
commit 077931c77e
4 changed files with 78 additions and 1 deletions
-1
View File
@@ -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, \
+75
View File
@@ -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:
+1
View File
@@ -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 \
@@ -954,4 +954,6 @@ void SparklineTest::testSparklineList()
CPPUNIT_TEST_SUITE_REGISTRATION(SparklineTest);
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */