diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-08-01 22:06:31 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-08-21 08:57:15 +0200 |
commit | 73ec9c71689525ff14db219238083ff75028f8c8 (patch) | |
tree | 0afd210299bc810296ed9cb3d9a0297a54123b83 /xmloff/CppunitTest_xmloff_style.mk | |
parent | e60ef8651cfb30335471d1622e58c13eebc7d58b (diff) |
Tests with color stops to assert Color and not BColor values
For testing color stops of a gradient we don't need to assert super
precise values (doubls to the n-th decimal point) as long the end
results in the same (8-bit) Color value. So change the tests to
convert the BColor that is in gradient color stops to Color and
assert the Color value.
Change-Id: Ibd7661e2f72955a0778e822df1fae568973be357
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155360
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff/CppunitTest_xmloff_style.mk')
-rw-r--r-- | xmloff/CppunitTest_xmloff_style.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/CppunitTest_xmloff_style.mk b/xmloff/CppunitTest_xmloff_style.mk index 22d37dffaa83..d2edb42986b9 100644 --- a/xmloff/CppunitTest_xmloff_style.mk +++ b/xmloff/CppunitTest_xmloff_style.mk @@ -21,9 +21,11 @@ $(eval $(call gb_CppunitTest_add_exception_objects,xmloff_style, \ )) $(eval $(call gb_CppunitTest_use_libraries,xmloff_style, \ + basegfx \ comphelper \ cppu \ cppuhelper \ + docmodel \ subsequenttest \ embobj \ sal \ |