Files
odfstudio/sc/CppunitTest_sc_ucalc_tablestyles.mk
Balazs Varga e2fcf200b5 Table Styles: Add unit tests for Calc table styles
generation, rendering, and total row

Tests cover: style generation (60 ECMA defaults), fill colors,
border widths/styles, font properties, theme change regeneration,
undo/redo, multiple style categories (Light/Medium/Dark), style
switching, no header/no total row handling, banded columns,
first/last column, tiny table edge cases, and total row toggle
with custom COUNTIF and SUBTOTAL formula preservation.

Also add ooxml export tests for TableStyles and a few test for
custom table styles. (dxf)

Change-Id: I60b78766e35f80f54747e3ef904e8c59c4c1e8ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202926
Reviewed-by: Balazs Varga <balazs.varga@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/173
Reviewed-by: Balázs Varga <balazs.varga@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit aead0fc8bf5484ea36cfcea0b13f3cca2d1a8408)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204506
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-04-29 12:28:11 +02:00

71 lines
2.0 KiB
Makefile

# -*- 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_tablestyles))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_ucalc_tablestyles))
$(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc_tablestyles, \
sc/qa/unit/ucalc_tablestyles \
))
$(eval $(call gb_CppunitTest_use_externals,sc_ucalc_tablestyles, \
boost_headers \
mdds_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_libraries,sc_ucalc_tablestyles, \
basegfx \
comphelper \
cppu \
cppuhelper \
docmodel \
editeng \
sal \
salhelper \
sax \
sc \
svl \
scqahelper \
sfx \
svxcore \
subsequenttest \
test \
tl \
unotest \
utl \
vcl \
))
$(eval $(call gb_CppunitTest_set_include,sc_ucalc_tablestyles,\
-I$(SRCDIR)/sc/source/ui/inc \
-I$(SRCDIR)/sc/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sc_ucalc_tablestyles,\
offapi \
udkapi \
))
$(eval $(call gb_CppunitTest_use_sdk_api,sc_ucalc_tablestyles))
$(eval $(call gb_CppunitTest_use_ure,sc_ucalc_tablestyles))
$(eval $(call gb_CppunitTest_use_vcl,sc_ucalc_tablestyles))
$(eval $(call gb_CppunitTest_use_rdb,sc_ucalc_tablestyles,services))
$(eval $(call gb_CppunitTest_use_components,sc_ucalc_tablestyles))
$(eval $(call gb_CppunitTest_use_configuration,sc_ucalc_tablestyles))
$(eval $(call gb_CppunitTest_add_arguments,sc_ucalc_tablestyles, \
-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: